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



commit 8136b8bf9c6ef41778a853fe1484411f121afa98
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 4348623..368a772 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -1102,6 +1102,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]