[evince] Disable send to action when nautilus-sendto is not found



commit 6c5330ae9347e021e27b6f2632bab96e0da23730
Author: Cameron Norman <camerontnorman gmail com>
Date:   Wed Feb 4 15:41:13 2015 +0100

    Disable send to action when nautilus-sendto is not found
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743956

 shell/ev-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 340ff3d..bdd1dfa 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -490,6 +490,7 @@ ev_window_update_actions_sensitivity (EvWindow *ev_window)
                                      has_document && !recent_view_mode);
        ev_window_set_action_enabled (ev_window, "send-to", has_document &&
                                      ev_window->priv->has_mailto_handler &&
+                                     nautilus_sendto &&
                                      !recent_view_mode);
        ev_window_set_action_enabled (ev_window, "fullscreen",
                                      has_document && !recent_view_mode);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]