[Xfce4-commits] <xfdesktop:master> Lower update delay of icon size spinbutton (Bug 9882)

Eric Koegel noreply at xfce.org
Mon Aug 26 10:58:01 CEST 2013


Updating branch refs/heads/master
         to 30ef6b2772c76899b3580e99ed754a8c5f18ca1c (commit)
       from 41a895db3cb15518c88b4344b2f53e84eb2f34b0 (commit)

commit 30ef6b2772c76899b3580e99ed754a8c5f18ca1c
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Mon Aug 26 11:54:03 2013 +0300

    Lower update delay of icon size spinbutton (Bug 9882)
    
    This patch makes the process smoother when the value is taken into
    account. The delay is used to avoid firing hundreds of events if
    you keep the buttons pressed.
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>

 settings/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/main.c b/settings/main.c
index 675809c..9731b87 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -870,7 +870,7 @@ cb_xfdesktop_spin_icon_size_changed(GtkSpinButton *button,
         timer_id = 0;
     }
 
-    timer_id = g_timeout_add(2000,
+    timer_id = g_timeout_add(500,
                              (GSourceFunc)xfdesktop_spin_icon_size_timer,
                              button);
 


More information about the Xfce4-commits mailing list