[evolution] Bug #576478 - [Windows] Redirect Help->Contents to a web page
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #576478 - [Windows] Redirect Help->Contents to a web page
- Date: Thu, 13 Oct 2011 12:45:15 +0000 (UTC)
commit 996aedccd361f2fd534fe515da87b1dc21c92b74
Author: Milan Crha <mcrha redhat com>
Date: Thu Oct 13 14:41:37 2011 +0200
Bug #576478 - [Windows] Redirect Help->Contents to a web page
shell/e-shell-window-actions.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index de4ce86..2dd8228 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]