[gnome-settings-daemon] remote-display: Re-enable animations if Vino is gone



commit ef2f9fa87670c13cffb337168f11ab086cd67537
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Feb 15 22:49:29 2013 +0100

    remote-display: Re-enable animations if Vino is gone

 .../remote-display/gsd-remote-display-manager.c    |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/remote-display/gsd-remote-display-manager.c 
b/plugins/remote-display/gsd-remote-display-manager.c
index f8aecf8..adecee9 100644
--- a/plugins/remote-display/gsd-remote-display-manager.c
+++ b/plugins/remote-display/gsd-remote-display-manager.c
@@ -141,6 +141,11 @@ vino_vanished_cb (GDBusConnection         *connection,
                g_clear_object (&manager->priv->cancellable);
        }
        g_clear_object (&manager->priv->vino_proxy);
+
+       /* And reset for us to have animations */
+       g_settings_set_boolean (manager->priv->desktop_settings,
+                               "enable-animations",
+                               TRUE);
 }
 
 static gboolean


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