diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | FAQ | 2 | ||||
-rw-r--r-- | thunar/thunar-icon-view.c | 5 |
3 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2006-02-15 Benedikt Meurer <benny@xfce.org> + * FAQ, thunar/thunar-icon-view.c: Add mouse gesture for "Reload" as + "move mouse down". The mouse gesture can still be canceled by placing + the cursor back to its initial position (+/- 40px). + +2006-02-15 Benedikt Meurer <benny@xfce.org> + * THANKS, thunar-uca/thunar-uca-editor.c: Apply patch provided by Nick Schermer <nickschermer@gmail.com> to fix a crash in the thunar-uca plugin if the icon specified for an action cannot @@ -62,5 +62,5 @@ appropriate answers to these questions. * Left - opens the previous visited folder * Up - opens the parent folder * Right - opens the next visited folder - * Down - cancels the gesture action + * Down - reload the current folder diff --git a/thunar/thunar-icon-view.c b/thunar/thunar-icon-view.c index 74e6df17..e052e15b 100644 --- a/thunar/thunar-icon-view.c +++ b/thunar/thunar-icon-view.c @@ -465,6 +465,11 @@ thunar_icon_view_gesture_action (ThunarIconView *icon_view) { return gtk_ui_manager_get_action (THUNAR_STANDARD_VIEW (icon_view)->ui_manager, "/main-menu/go-menu/forward"); } + else if (icon_view->gesture_current_y - icon_view->gesture_start_y > 40 + && ABS (icon_view->gesture_start_x - icon_view->gesture_current_x) < 40) + { + return gtk_ui_manager_get_action (THUNAR_STANDARD_VIEW (icon_view)->ui_manager, "/main-menu/view-menu/reload"); + } return NULL; } |