[Gpredict-svn] SF.net SVN: gpredict:[634] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2010-07-11 11:52:17
|
Revision: 634
http://gpredict.svn.sourceforge.net/gpredict/?rev=634&view=rev
Author: csete
Date: 2010-07-11 11:52:10 +0000 (Sun, 11 Jul 2010)
Log Message:
-----------
Automatically set PTT type for RIG_TYPE_TOGGLE_AUTO and RIG_TYPE_TOGGLE_MAN.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/sat-pref-rig-editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-07-11 11:27:16 UTC (rev 633)
+++ trunk/ChangeLog 2010-07-11 11:52:10 UTC (rev 634)
@@ -14,6 +14,9 @@
* src/gtk-rig-ctrl.h:
Updated RIG_TYPE_TOGGLE_AUTO controller to perform TX frequency update only
once every 10 seconds.
+
+ * src/sat-pref-rig-editor.c:
+ Automatically set PTT type for RIG_TYPE_TOGGLE_AUTO and RIG_TYPE_TOGGLE_MAN.
2010-07-09 Alexandru Csete <oz9aec at gmail.com>
Modified: trunk/src/sat-pref-rig-editor.c
===================================================================
--- trunk/src/sat-pref-rig-editor.c 2010-07-11 11:27:16 UTC (rev 633)
+++ trunk/src/sat-pref-rig-editor.c 2010-07-11 11:52:10 UTC (rev 634)
@@ -533,7 +533,10 @@
type_changed (GtkWidget *widget, gpointer data)
{
/* PTT consistency */
- if (gtk_combo_box_get_active (GTK_COMBO_BOX (widget)) == RIG_TYPE_TRX) {
+ if ((gtk_combo_box_get_active (GTK_COMBO_BOX (widget)) == RIG_TYPE_TRX) ||
+ (gtk_combo_box_get_active (GTK_COMBO_BOX (widget)) == RIG_TYPE_TOGGLE_AUTO) ||
+ (gtk_combo_box_get_active (GTK_COMBO_BOX (widget)) == RIG_TYPE_TOGGLE_MAN))
+ {
if (gtk_combo_box_get_active (GTK_COMBO_BOX (ptt)) == PTT_TYPE_NONE) {
gtk_combo_box_set_active (GTK_COMBO_BOX (ptt), PTT_TYPE_CAT);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|