Blob Blame History Raw
From 6c5330ae9347e021e27b6f2632bab96e0da23730 Mon Sep 17 00:00:00 2001
From: Cameron Norman <camerontnorman@gmail.com>
Date: Wed, 4 Feb 2015 15:41:13 +0100
Subject: 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 file changed, 1 insertion(+)

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);
-- 
cgit v0.12