[easytag] Link to help.gnome.org on Windows



commit ed08d1e203907c335680ccb72bed5328994bf138
Author: David King <amigadave amigadave com>
Date:   Sat Aug 29 09:21:46 2015 +0100

    Link to help.gnome.org on Windows

 src/application.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index 590e258..86210ab 100644
--- a/src/application.c
+++ b/src/application.c
@@ -50,19 +50,23 @@ on_help (GSimpleAction *action,
          GVariant *parameter,
          gpointer user_data)
 {
-/* TODO: Link to help.gnome.org, or locally-installed help, on Windows. */
-#ifndef G_OS_WIN32
     GError *error = NULL;
 
+#ifndef G_OS_WIN32
     gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (MainWindow)),
                   "help:easytag", GDK_CURRENT_TIME, &error);
+#else /* G_OS_WIN32 */
+    /* TODO: Link to locally-installed help on Windows. */
+    gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (MainWindow)),
+                  "https://help.gnome.org/users/easytag/stable/";,
+                  GDK_CURRENT_TIME, &error);
+#endif
 
     if (error)
     {
         g_debug ("Error while opening help: %s", error->message);
         g_error_free (error);
     }
-#endif
 }
 
 static void


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