]> www.fi.muni.cz Git - evince.git/commitdiff
[windows] Gray-out help contents menu option on Windows
authorHib Eris <hib@hiberis.nl>
Tue, 22 Dec 2009 10:17:13 +0000 (11:17 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 22 Dec 2009 15:15:26 +0000 (16:15 +0100)
Disable help because help functionality is not yet ported to Windows.
See bgo#604703.

shell/ev-window.c

index 95c21910d409255a3190be8225447c2abfec8226..bee7d341b506e1543e6da22523c5c655f7343ac8 100644 (file)
@@ -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);
 }