[Gpredict-svn] SF.net SVN: gpredict:[480] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2009-10-05 14:18:24
|
Revision: 480
http://gpredict.svn.sourceforge.net/gpredict/?rev=480&view=rev
Author: csete
Date: 2009-10-05 14:18:16 +0000 (Mon, 05 Oct 2009)
Log Message:
-----------
Added link to online documentation.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/menubar.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-10-05 09:07:47 UTC (rev 479)
+++ trunk/ChangeLog 2009-10-05 14:18:16 UTC (rev 480)
@@ -4,7 +4,10 @@
Implemented double click in multi-pass table will show the details of the
clicked pass.
+ * src/menubar.c:
+ Added link to online documentation.
+
2009-10-03 Alexandru Csete <oz9aec at gmail.com>
* src/gtk-sat-selector-c:
Modified: trunk/src/menubar.c
===================================================================
--- trunk/src/menubar.c 2009-10-05 09:07:47 UTC (rev 479)
+++ trunk/src/menubar.c 2009-10-05 14:18:16 UTC (rev 480)
@@ -134,7 +134,7 @@
{ "GettingStarted", GTK_STOCK_EXECUTE, N_("Getting Started"), NULL,
N_("Show online user manual, Getting Started Section"),
G_CALLBACK (menubar_getting_started_cb)},
- { "Manual", GTK_STOCK_HELP, N_("User Manual"), "F1",
+ { "Help", GTK_STOCK_HELP, N_("Online help"), "F1",
N_("Show online user manual"), G_CALLBACK (menubar_help_cb)},
{ "License", NULL, N_("_License"), NULL,
N_("Show the Gpredict license"), G_CALLBACK (menubar_license_cb) },
@@ -177,7 +177,7 @@
" </menu>"*/
" <menu action='HelpMenu'>"
/* " <menuitem action='GettingStarted'/>" */
-/* " <menuitem action='Manual'/>" */
+" <menuitem action='Help'/>"
" <separator/>"
" <menuitem action='License'/>"
" <menuitem action='News'/>"
@@ -766,7 +766,25 @@
static void
menubar_help_cb (GtkWidget *widget, gpointer data)
{
- gpredict_help_launch (GPREDICT_HELP_USER_MANUAL);
+ GtkWidget *dialog;
+ GtkWidget *button;
+
+ dialog = gtk_message_dialog_new (GTK_WINDOW (app),
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_INFO,
+ GTK_BUTTONS_CLOSE,
+ _("A comprehensive PDF user manual and \n"\
+ "video tutorials are available from the \n"\
+ "Gpredict website:"));
+
+ button = gtk_link_button_new ("http://gpredict.oz9aec.net/documents.php");
+ gtk_widget_show (button);
+
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG(dialog)->vbox), button, FALSE, FALSE, 0);
+
+ gtk_dialog_run (GTK_DIALOG (dialog));
+ gtk_widget_destroy (dialog);
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|