[gnome-boxes] spice-display: Fix check for SPICE agent availability



commit b9c4ccae171a4710b979b2676409821adb63ebe6
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Jul 15 16:26:47 2016 +0100

    spice-display: Fix check for SPICE agent availability
    
    This fixes the inverted check from SPICE agent from patch 53d65f1
    (spice-display: Inform user if SPICE agent not installed).

 src/spice-display.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/spice-display.vala b/src/spice-display.vala
index 373bbd1..b118099 100644
--- a/src/spice-display.vala
+++ b/src/spice-display.vala
@@ -317,7 +317,7 @@ private class Boxes.SpiceDisplay: Boxes.Display {
             toggle.halign = Gtk.Align.START;
             add_property (ref list, _("Share Clipboard"), toggle);
 
-            if (!connected || !main_channel.agent_connected)
+            if (!connected || main_channel.agent_connected)
                 break;
 
             var message = _("SPICE guest tools are not installed. These tools improve user experience and 
enable host and box interactions, such as copy&amp;paste. Please visit <a 
href=\"http://www.spice-space.org/download.html\";>http://www.spice-space.org/download.html</a> to download 
and install these tools from within the box.");


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