From: Hib Eris Date: Tue, 22 Dec 2009 10:17:13 +0000 (+0100) Subject: [windows] Gray-out help contents menu option on Windows X-Git-Tag: EVINCE_2_29_5~47 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=commitdiff_plain;h=64542a4158a3c3ce7884bfdae50e9f7e917b2337 [windows] Gray-out help contents menu option on Windows Disable help because help functionality is not yet ported to Windows. See bgo#604703. --- diff --git a/shell/ev-window.c b/shell/ev-window.c index 95c21910..bee7d341 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); }