[gtk+/wip/csoriano/gtkpathbar_rework: 985/993] gtkpathbar: adjust Nautilus slider timeouts



commit bc4a077f776754140da1a35f3f6a5a55f3e54f7e
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Mar 3 14:46:25 2015 +0100

    gtkpathbar: adjust Nautilus slider timeouts

 gtk/gtkpathbar.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index ecec2b8..e32516c 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -74,8 +74,8 @@ typedef enum {
 #define BUTTON_DATA(x) ((ButtonData *)(x))
 
 #define SCROLL_DELAY_FACTOR 5
-#define INITIAL_SCROLL_TIMEOUT 500
-#define SCROLL_TIMEOUT         50
+#define INITIAL_SCROLL_TIMEOUT 300
+#define SCROLL_TIMEOUT         150
 
 static guint path_bar_signals [LAST_SIGNAL] = { 0 };
 
@@ -1222,7 +1222,7 @@ reload_icons (GtkPathBar *path_bar)
          gtk_path_bar_update_button_appearance (path_bar, button_data, current_dir);
        }
     }
-  
+
 }
 
 static void
@@ -1846,7 +1846,7 @@ _gtk_path_bar_set_file (GtkPathBar *path_bar,
 /**
  * _gtk_path_bar_up:
  * @path_bar: a #GtkPathBar
- * 
+ *
  * If the selected button in the pathbar is not the furthest button “up” (in the
  * root direction), act as if the user clicked on the next button up.
  **/
@@ -1873,7 +1873,7 @@ _gtk_path_bar_up (GtkPathBar *path_bar)
 /**
  * _gtk_path_bar_down:
  * @path_bar: a #GtkPathBar
- * 
+ *
  * If the selected button in the pathbar is not the furthest button “down” (in the
  * leaf direction), act as if the user clicked on the next button down.
  **/



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