Commit b4bf3165 authored by Lubos Koudelka's avatar Lubos Koudelka Committed by Carlos Garcia Campos
Browse files

Disable view presentation if there is no document.

https://bugzilla.gnome.org/show_bug.cgi?id=685591
parent 4c1edb26
......@@ -455,6 +455,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
ev_window_set_action_sensitive (ev_window, "FileProperties", has_document && has_properties);
ev_window_set_action_sensitive (ev_window, "FileOpenContainingFolder", has_document);
ev_window_set_action_sensitive (ev_window, "FileSendTo", has_document);
ev_window_set_action_sensitive (ev_window, "ViewPresentation", has_document);
/* Edit menu */
ev_window_set_action_sensitive (ev_window, "EditSelectAll", has_pages && can_get_text);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment