[evince] [windows] Gray-out help contents menu option on Windows
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince] [windows] Gray-out help contents menu option on Windows
- Date: Tue, 22 Dec 2009 15:16:51 +0000 (UTC)
commit 64542a4158a3c3ce7884bfdae50e9f7e917b2337
Author: Hib Eris <hib hiberis nl>
Date: Tue Dec 22 11:17:13 2009 +0100
[windows] Gray-out help contents menu option on Windows
Disable help because help functionality is not yet ported to Windows.
See bgo#604703.
shell/ev-window.c | 5 +++++
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]