summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--FAQ2
-rw-r--r--thunar/thunar-icon-view.c5
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 75f1ceba..52f9ec9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/FAQ b/FAQ
index 93c79aba..015adfb9 100644
--- a/FAQ
+++ b/FAQ
@@ -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;
}