[eog] EogScrollView: Hide the overlay buttons faster



commit 76740faf9648ad9f071dadaf8f7e014fcf7d90ef
Author: Felix Riemann <friemann gnome org>
Date:   Mon Mar 16 19:53:04 2015 +0100

    EogScrollView: Hide the overlay buttons faster
    
    Reduces the motion timeout to one second and uses more precise
    timing as the previous timing could drift by nearly a second.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746131

 src/eog-scroll-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index cbcf894..e213172 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -2716,7 +2716,7 @@ _set_overlay_timeout (EogScrollView *view)
 
        _clear_overlay_timeout (view);
 
-       source = g_timeout_source_new_seconds (2);
+       source = g_timeout_source_new (1000);
        g_source_set_callback (source, _overlay_timeout_cb, view, NULL);
 
        g_source_attach (source, NULL);


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