[Xfce4-commits] <thunar:master> Fix back/forward gestures and 8/9 button events.

Nick Schermer noreply at xfce.org
Fri Nov 2 18:44:01 CET 2012


Updating branch refs/heads/master
         to 544f71e32032278686a9ec01844871b5dcbca768 (commit)
       from 6468b891dae1cc85aa096104dc02e7592e5ae277 (commit)

commit 544f71e32032278686a9ec01844871b5dcbca768
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Nov 2 18:41:49 2012 +0100

    Fix back/forward gestures and 8/9 button events.

 thunar/thunar-abstract-icon-view.c |    4 ++--
 thunar/thunar-standard-view.c      |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/thunar/thunar-abstract-icon-view.c b/thunar/thunar-abstract-icon-view.c
index f6e34df..dbd3d7c 100644
--- a/thunar/thunar-abstract-icon-view.c
+++ b/thunar/thunar-abstract-icon-view.c
@@ -418,12 +418,12 @@ thunar_abstract_icon_view_gesture_action (ThunarAbstractIconView *abstract_icon_
   else if (abstract_icon_view->priv->gesture_start_x - abstract_icon_view->priv->gesture_current_x > 40
       && ABS (abstract_icon_view->priv->gesture_start_y - abstract_icon_view->priv->gesture_current_y) < 40)
     {
-      return gtk_ui_manager_get_action (THUNAR_STANDARD_VIEW (abstract_icon_view)->ui_manager, "/main-menu/go-menu/back");
+      return gtk_ui_manager_get_action (THUNAR_STANDARD_VIEW (abstract_icon_view)->ui_manager, "/main-menu/go-menu/placeholder-go-history-actions/back");
     }
   else if (abstract_icon_view->priv->gesture_current_x - abstract_icon_view->priv->gesture_start_x > 40
       && ABS (abstract_icon_view->priv->gesture_start_y - abstract_icon_view->priv->gesture_current_y) < 40)
     {
-      return gtk_ui_manager_get_action (THUNAR_STANDARD_VIEW (abstract_icon_view)->ui_manager, "/main-menu/go-menu/forward");
+      return gtk_ui_manager_get_action (THUNAR_STANDARD_VIEW (abstract_icon_view)->ui_manager, "/main-menu/go-menu/placeholder-go-history-actions/forward");
     }
   else if (abstract_icon_view->priv->gesture_current_y - abstract_icon_view->priv->gesture_start_y > 40
       && ABS (abstract_icon_view->priv->gesture_start_x - abstract_icon_view->priv->gesture_current_x) < 40)
diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 53443d2..da0dd07 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -2898,9 +2898,9 @@ thunar_standard_view_button_press_event (GtkWidget          *view,
     {
       /* determine the appropriate action ("back" for button 8, "forward" for button 9) */
       if (G_UNLIKELY (event->button == 8))
-        action = gtk_ui_manager_get_action (standard_view->ui_manager, "/main-menu/go-menu/back");
+        action = gtk_ui_manager_get_action (standard_view->ui_manager, "/main-menu/go-menu/placeholder-go-history-actions/back");
       else if (G_UNLIKELY (event->button == 9))
-        action = gtk_ui_manager_get_action (standard_view->ui_manager, "/main-menu/go-menu/forward");
+        action = gtk_ui_manager_get_action (standard_view->ui_manager, "/main-menu/go-menu/placeholder-go-history-actions/forward");
 
       /* perform the action (if any) */
       if (G_UNLIKELY (action != NULL))


More information about the Xfce4-commits mailing list