[Gpredict-svn] SF.net SVN: gpredict:[753] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2011-02-01 15:31:54
|
Revision: 753
http://gpredict.svn.sourceforge.net/gpredict/?rev=753&view=rev
Author: csete
Date: 2011-02-01 15:31:48 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
Manage keyboard PTT event only if rig is RIG_TYPE_TOGGLE_MAN.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/gtk-rig-ctrl.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-01-29 00:27:20 UTC (rev 752)
+++ trunk/ChangeLog 2011-02-01 15:31:48 UTC (rev 753)
@@ -1,30 +1,41 @@
-2010-01-24 Charles Suprin <hamaa1vs at gmail.com>
+2011-02-01 Alexandru Csete <oz9aec at gmail.com>
+ * src/gtk-rig-ctrl.c:
+ Manage keyboard PTT event only if rig is RIG_TYPE_TOGGLE_MAN.
+
+
+2011-01-24 Charles Suprin <hamaa1vs at gmail.com>
+
* src/tle-update.c
Fix bug where tle file suffix compare is case dependent.
<https://bugs.launchpad.net/bugs/706452>
+
2010-12-26 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.c
Make rotator lead satellite on update.
Restructure error handling for cleaner code.
+
2010-12-26 Alexandru Csete <oz9aec at gmail.com>
* src/gtk-sat-map.c:
Removed dead code in coordinate conversion (it was nonsense anyway).
+
2010-12-10 Charles Suprin <hamaa1vs at gmail.com>
* data/locations.dat
Add entries to locations.dat and add state to Mexican locations.
+
2010-11-25 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.c
Move rotor to end of pass if below horizon and after current pass
+
2010-11-24 Alexandru Csete <oz9aec at gmail.com>
* src/Makefile.am:
@@ -37,11 +48,13 @@
* src/gtk-rig-ctrl.c
Close socket in gtk-rig/rot-ctrl when window closes if applicable.
+
2010-11-11 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.c
Change error checking in set_pos
+
2010-11-07 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.c
@@ -52,6 +65,7 @@
Added locations in Malaysia, Indonesia, the Philippines, and Kiribati from US/NOAA Metar database.
Addresses Feature Request 3022617: Malaysia's location.
+
2010-11-07 Alexandru Csete <oz9aec at gmail.com>
* configure.ac:
@@ -67,6 +81,7 @@
get_current_pass now works on copy of sat_t structure
to address bug 3099314
+
2010-11-05 Charles Suprin <hamaa1vs at gmail.com>
* src/predict-tools.c
@@ -76,6 +91,7 @@
* src/gtk-rot-ctrl.c
Update is_flipped_pass to handle pass with no details
+
2010-11-01 Charles Suprin <hamaa1vs at gmail.com>
* src/orbit-tools.c
@@ -84,6 +100,7 @@
* src/gtk-rig-ctrl.c
Add checks to g_strsplit calls in gtk-rig-ctrl.c
+
2010-10-31 Charles Suprin <hamaa1vs at gmail.com>
* src/about.[ch]
@@ -179,23 +196,27 @@
* src/gtk-polar-view-popup.c
Catch if pass has no points before making polar view/polar view popup
+
2010-10-30 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.[ch]
* src/gtk-rig-ctrl.[ch]
Change tab to spaces and change emacs indent-tabs-mode.
+
2010-10-28 Charles Suprin <hamaa1vs at gmail.com>
* src/predict-tools.c
Explicitly compute pass LOS_AZ.
+
2010-10-27 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.[ch]
Added support for flipped passes.
Remove return from void function.
+
2010-10-17 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.[ch]
@@ -208,6 +229,7 @@
* src/gtk-polar-plot.c
Make rotator show when on horizon as with other items.
+
2010-10-16 Alexandru Csete <oz9aec at gmail.com>
* src/time-tools.[ch]:
@@ -222,6 +244,7 @@
Allow only one GtkSkyGlance widget per module (consistent with
GtkRigCtrl and GtkRotCtrl).
+
2010-10-15 Alexandru Csete <oz9aec at gmail.com>
* src/gtk-sky-glance.[ch]:
Modified: trunk/src/gtk-rig-ctrl.c
===================================================================
--- trunk/src/gtk-rig-ctrl.c 2011-01-29 00:27:20 UTC (rev 752)
+++ trunk/src/gtk-rig-ctrl.c 2011-02-01 15:31:48 UTC (rev 753)
@@ -2592,9 +2592,11 @@
_("%s: Detected SPACEBAR pressed event"),
__FUNCTION__);
- /* manage PTT event */
- manage_ptt_event (ctrl);
- event_managed = TRUE;
+ /* manage PTT event but only if rig is of type TOGGLE_MAN */
+ if (ctrl->conf->type == RIG_TYPE_TOGGLE_MAN) {
+ manage_ptt_event (ctrl);
+ event_managed = TRUE;
+ }
break;
@@ -2611,11 +2613,12 @@
}
-/** \brief Maange PTT events
- * \param ctrl Pointer to the radio controller data
+/** \brief Manage PTT events.
+ * \param ctrl Pointer to the radio controller data.
*
* This function is used to manage PTT events, e.g. the user presses
- * the spacebar. It is only useful for RIG_TYPE_TOGGLE_MAN.
+ * the spacebar. It is only useful for RIG_TYPE_TOGGLE_MAN and possibly for
+ * RIG_TYPE_TOGGLE_AUTO.
*
* First, the function will try to lock the controller. If the lock is acquired
* the function checks the current PTT status.
@@ -2623,7 +2626,7 @@
* If PTT status is TRUE (on) it will simply set the PTT to FALSE (off).
*
* \warning This function assumes that the radio supprot set/get PTT, otherwise
- * ot makes no sense to use it!
+ * it makes no sense to use it!
*/
static void manage_ptt_event (GtkRigCtrl *ctrl)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|