[gedit] Show the help on windows.



commit bba4279f7db04364a5bca64c4946a23a6913de78
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri May 29 12:17:35 2009 +0200

    Show the help on windows.
    
    Show the help on windows on library.gnome.org.
---
 gedit/gedit-help.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/gedit/gedit-help.c b/gedit/gedit-help.c
index 9b6149b..5df9dc6 100644
--- a/gedit/gedit-help.c
+++ b/gedit/gedit-help.c
@@ -58,10 +58,18 @@ gedit_help_display (GtkWindow   *parent,
 		name = "gedit";
 	}
 
+#ifndef G_OS_WIN32
 	if (link_id)
 		link = g_strdup_printf ("ghelp:%s?%s", name, link_id);
 	else
 		link = g_strdup_printf ("ghelp:%s", name);
+#else
+	if (link_id)
+		link = g_strdup_printf ("http://library.gnome.org/users/gedit/stable/%s";,
+					link_id);
+	else
+		link = g_strdup ("http://library.gnome.org/users/gedit/stable/";);
+#endif
 
 	ret = gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (parent)),
 	                    link, 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]