[gedit/gnome-2-26] Show the help on windows.
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Subject: [gedit/gnome-2-26] Show the help on windows.
- Date: Mon, 8 Jun 2009 05:00:41 -0400 (EDT)
commit 882c2cf2318dbfcc80ff4046d5cc5bbe1e2a7fbf
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]