Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2009-12-22 10:17:13 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-12-22 15:15:26 (GMT)
commit64542a4158a3c3ce7884bfdae50e9f7e917b2337 (patch)
tree5e2f5f8031cf5e0ea1d1df22586de496426455cc /shell/ev-window.c
parent45467f0d8a4dacfe4209fba0a605e86b2b2e9b80 (diff)
[windows] Gray-out help contents menu option on Windows
Disable help because help functionality is not yet ported to Windows. See bgo#604703.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 95c2191..bee7d34 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -431,6 +431,11 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
ev_window_set_action_sensitive (ev_window, ZOOM_CONTROL_ACTION, has_pages);
ev_window_set_action_sensitive (ev_window, NAVIGATION_ACTION, FALSE);
+ /* Help menu */
+#ifdef G_OS_WIN32
+ ev_window_set_action_sensitive (ev_window, "HelpContents", FALSE);
+#endif
+
ev_window_update_actions (ev_window);
}