[Gpredict-svn] SF.net SVN: gpredict:[360] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <fi...@us...> - 2009-08-05 10:42:51
|
Revision: 360
http://gpredict.svn.sourceforge.net/gpredict/?rev=360&view=rev
Author: fillods
Date: 2009-08-05 10:42:43 +0000 (Wed, 05 Aug 2009)
Log Message:
-----------
Set default host to localhost for rigctld/rotctld,
working around a crash when field is left empty.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/sat-pref-rig-editor.c
trunk/src/sat-pref-rot-editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-08-05 09:40:34 UTC (rev 359)
+++ trunk/ChangeLog 2009-08-05 10:42:43 UTC (rev 360)
@@ -1,3 +1,10 @@
+2009-08-05 Stephane Fillod <fillods at users.sf.net>
+
+ * src/sat-pref-rig-editor.c:
+ * src/sat-pref-rot-editor.c:
+ Set default host to localhost for rigctld/rotctld, working around
+ a crash when field is left empty.
+
2009-08-05 Michael Stephenson <mickstephenson at googlemail.com>
* src/gtk-sat-module-popup.c:
@@ -12,6 +19,7 @@
* src/gtk-rot-ctrl.c:
Spelling corrections.
+ * configure.ac:
* po/en_US.po:
* po/en_GB.po:
US and British translations.
Modified: trunk/src/sat-pref-rig-editor.c
===================================================================
--- trunk/src/sat-pref-rig-editor.c 2009-08-05 09:40:34 UTC (rev 359)
+++ trunk/src/sat-pref-rig-editor.c 2009-08-05 10:42:43 UTC (rev 360)
@@ -177,6 +177,7 @@
host = gtk_entry_new ();
gtk_entry_set_max_length (GTK_ENTRY (host), 50);
+ gtk_entry_set_text (GTK_ENTRY (host), "localhost");
gtk_widget_set_tooltip_text (host,
_("Enter the host where rigctld is running. "\
"You can use both host name and IP address, "\
@@ -371,7 +372,7 @@
clear_widgets ()
{
gtk_entry_set_text (GTK_ENTRY (name), "");
- gtk_entry_set_text (GTK_ENTRY (host), "");
+ gtk_entry_set_text (GTK_ENTRY (host), "localhost");
gtk_spin_button_set_value (GTK_SPIN_BUTTON (port), 4532); /* hamlib default? */
gtk_spin_button_set_value (GTK_SPIN_BUTTON (lo), 0);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (loup), 0);
Modified: trunk/src/sat-pref-rot-editor.c
===================================================================
--- trunk/src/sat-pref-rot-editor.c 2009-08-05 09:40:34 UTC (rev 359)
+++ trunk/src/sat-pref-rot-editor.c 2009-08-05 10:42:43 UTC (rev 360)
@@ -174,9 +174,13 @@
host = gtk_entry_new ();
gtk_entry_set_max_length (GTK_ENTRY (host), 50);
+ gtk_entry_set_text (GTK_ENTRY (host), "localhost");
gtk_widget_set_tooltip_text (host,
- _("Enter the host where rogctld is running. You can use both host name "\
- " and IP address, e.g. 192.168.1.100"));
+ _("Enter the host where rigctld is running. "\
+ "You can use both host name and IP address, "\
+ "e.g. 192.168.1.100\n\n"\
+ "If gpredict and rotctld are running on the "\
+ "same computer, use localhost"));
gtk_table_attach_defaults (GTK_TABLE (table), host, 1, 4, 1, 2);
/* port */
@@ -298,7 +302,7 @@
clear_widgets ()
{
gtk_entry_set_text (GTK_ENTRY (name), "");
- gtk_entry_set_text (GTK_ENTRY (host), "");
+ gtk_entry_set_text (GTK_ENTRY (host), "localhost");
gtk_spin_button_set_value (GTK_SPIN_BUTTON (port), 4533); /* hamlib default? */
gtk_combo_box_set_active (GTK_COMBO_BOX (aztype), ROT_AZ_TYPE_360);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (minaz), 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|