* 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).
(Old svn revision: 19883)
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
* 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
{
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;
}