Blame SOURCES/evince-3.14.2-disable-send-to-when-nautilus-sendto-notfound.patch

d6c6b3
From 6c5330ae9347e021e27b6f2632bab96e0da23730 Mon Sep 17 00:00:00 2001
d6c6b3
From: Cameron Norman <camerontnorman@gmail.com>
d6c6b3
Date: Wed, 4 Feb 2015 15:41:13 +0100
d6c6b3
Subject: Disable send to action when nautilus-sendto is not found
d6c6b3
d6c6b3
https://bugzilla.gnome.org/show_bug.cgi?id=743956
d6c6b3
---
d6c6b3
 shell/ev-window.c | 1 +
d6c6b3
 1 file changed, 1 insertion(+)
d6c6b3
d6c6b3
diff --git a/shell/ev-window.c b/shell/ev-window.c
d6c6b3
index 340ff3d..bdd1dfa 100644
d6c6b3
--- a/shell/ev-window.c
d6c6b3
+++ b/shell/ev-window.c
d6c6b3
@@ -490,6 +490,7 @@ ev_window_update_actions_sensitivity (EvWindow *ev_window)
d6c6b3
 				      has_document && !recent_view_mode);
d6c6b3
 	ev_window_set_action_enabled (ev_window, "send-to", has_document &&
d6c6b3
 				      ev_window->priv->has_mailto_handler &&
d6c6b3
+	                              nautilus_sendto &&
d6c6b3
 				      !recent_view_mode);
d6c6b3
 	ev_window_set_action_enabled (ev_window, "fullscreen",
d6c6b3
 				      has_document && !recent_view_mode);
d6c6b3
-- 
d6c6b3
cgit v0.12
d6c6b3