[Xfce4-commits] <ristretto:master> reduce timeout to 500ms

Stephan Arts noreply at xfce.org
Mon Oct 17 15:08:01 CEST 2011


Updating branch refs/heads/master
         to 13716548a4a3561d9283b699ef62ef53ebbf3822 (commit)
       from e986368e97a71e6d182dfc8427fcaafe2cb4e3ee (commit)

commit 13716548a4a3561d9283b699ef62ef53ebbf3822
Author: Stephan Arts <stephan at xfce.org>
Date:   Mon Oct 17 15:08:13 2011 +0200

    reduce timeout to 500ms

 src/main_window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index 62a84e4..3b49d03 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -1782,7 +1782,7 @@ cb_rstto_main_window_state_event(GtkWidget *widget, GdkEventWindowState *event,
                 }
                 if (rstto_image_list_get_n_images (window->priv->props.image_list) != 0)
                 {
-                    window->priv->show_fs_toolbar_timeout_id = g_timeout_add (1500, (GSourceFunc)cb_rstto_main_window_show_fs_toolbar_timeout, window);
+                    window->priv->show_fs_toolbar_timeout_id = g_timeout_add (500, (GSourceFunc)cb_rstto_main_window_show_fs_toolbar_timeout, window);
                 }
             }
             else
@@ -1969,7 +1969,7 @@ cb_rstto_main_window_image_viewer_enter_notify_event (GtkWidget *widget,
                 g_source_remove (window->priv->show_fs_toolbar_timeout_id);
                 window->priv->show_fs_toolbar_timeout_id = 0;
             }
-            window->priv->show_fs_toolbar_timeout_id = g_timeout_add (1500, (GSourceFunc)cb_rstto_main_window_show_fs_toolbar_timeout, window);
+            window->priv->show_fs_toolbar_timeout_id = g_timeout_add (500, (GSourceFunc)cb_rstto_main_window_show_fs_toolbar_timeout, window);
         }
     }
 


More information about the Xfce4-commits mailing list