[Gpredict-svn] SF.net SVN: gpredict:[533] trunk/src/gtk-sat-module.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2009-11-30 14:31:58
|
Revision: 533
http://gpredict.svn.sourceforge.net/gpredict/?rev=533&view=rev
Author: csete
Date: 2009-11-30 14:31:50 +0000 (Mon, 30 Nov 2009)
Log Message:
-----------
Include new GtkEventList widget.
Modified Paths:
--------------
trunk/src/gtk-sat-module.c
Modified: trunk/src/gtk-sat-module.c
===================================================================
--- trunk/src/gtk-sat-module.c 2009-11-30 14:24:21 UTC (rev 532)
+++ trunk/src/gtk-sat-module.c 2009-11-30 14:31:50 UTC (rev 533)
@@ -63,6 +63,7 @@
#include "gtk-sat-map.h"
#include "gtk-polar-view.h"
#include "gtk-single-sat.h"
+#include "gtk-event-list.h"
#include "gtk-rig-ctrl.h"
#include "gtk-rot-ctrl.h"
#include "compat.h"
@@ -434,6 +435,13 @@
0);
break;
+ case GTK_SAT_MOD_VIEW_EVENT:
+ view = gtk_event_list_new (module->cfgdata,
+ module->satellites,
+ module->qth,
+ 0);
+ break;
+
default:
sat_log_log (SAT_LOG_LEVEL_BUG,
_("%s:%d: Invalid child type (%d). Using GtkSatList."),
@@ -846,6 +854,11 @@
gtk_single_sat_update (child);
}
+ else if (IS_GTK_EVENT_LIST(child)) {
+ GTK_EVENT_LIST (child)->tstamp = tstamp;
+ gtk_event_list_update (child);
+ }
+
else {
sat_log_log (SAT_LOG_LEVEL_BUG,
_("%f:%d: Unknown child type"),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|