[gnome-settings-daemon/gnome-3-12] xsettings: Queue a notification when changing Gtk/EnableAnimations



commit 00cac6238be22f37c5b5efb25c2986fb9fdc7dd7
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri May 16 17:08:19 2014 +0200

    xsettings: Queue a notification when changing Gtk/EnableAnimations
    
    We need to queue a xsettings_manager_notify() to update the actual
    xsettings after a change.

 plugins/xsettings/gsd-xsettings-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index ac7546d..6fe5c28 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -1100,6 +1100,8 @@ force_disable_animation_changed (GObject    *gobject,
         for (i = 0; manager->priv->managers [i]; i++) {
                 xsettings_manager_set_int (manager->priv->managers [i], "Gtk/EnableAnimations", value);
         }
+
+        queue_notify (manager);
 }
 
 static void


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