aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-10-13 20:42:52 +0800
committerMilan Crha <mcrha@redhat.com>2011-10-13 20:42:52 +0800
commit3ef0aaec239b10c85f4aa51b713145033ecb8ced (patch)
treeed81719a9d3eb58c6be330603ab320fa4fb0469c
parent08e036104f9c8c9e9e8377cced4b55b0090f56d7 (diff)
downloadgsoc2013-evolution-3ef0aaec239b10c85f4aa51b713145033ecb8ced.tar.gz
gsoc2013-evolution-3ef0aaec239b10c85f4aa51b713145033ecb8ced.tar.zst
gsoc2013-evolution-3ef0aaec239b10c85f4aa51b713145033ecb8ced.zip
Bug #576478 - [Windows] Redirect Help->Contents to a web page
-rw-r--r--shell/e-shell-window-actions.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index f389b4ea00..5d5e42eba6 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -701,7 +701,16 @@ static void
action_contents_cb (GtkAction *action,
EShellWindow *shell_window)
{
+#ifdef G_OS_WIN32
+ /* On Windows, link to online help instead. See https://bugzilla.gnome.org/show_bug.cgi?id=576478 */
+ gchar *online_help_url;
+ online_help_url = g_strconcat (
+ "http://library.gnome.org/users/evolution/", BASE_VERSION, NULL);
+ e_show_uri (GTK_WINDOW (shell_window), online_help_url);
+ g_free (online_help_url);
+#else
e_display_help (GTK_WINDOW (shell_window), NULL);
+#endif
}
static void