[Xfce4-commits] [xfce/thunar] 05/06: Fix switching to the 10th tab via <alt>-<0> keyboard shortcut

noreply at xfce.org noreply at xfce.org
Sun May 3 15:00:17 CEST 2015


This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/thunar.

commit e42fbf413c0637b15ef561430687d7b81df6bd0a
Author: Harald Judt <h.judt at gmx.at>
Date:   Fri May 1 19:57:18 2015 +0200

    Fix switching to the 10th tab via <alt>-<0> keyboard shortcut
---
 thunar/thunar-window.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index a162f30..e354e0f 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -603,7 +603,7 @@ thunar_window_class_init (ThunarWindowClass *klass)
                   G_TYPE_BOOLEAN, 0);
 
   /**
-   * ThunarWindow::tab-chage:
+   * ThunarWindow::tab-change:
    * @window : a #ThunarWindow instance.
    * @idx    : tab index,
    *
@@ -1289,7 +1289,7 @@ thunar_window_tab_change (ThunarWindow *window,
 
   /* Alt+0 is 10th tab */
   gtk_notebook_set_current_page (GTK_NOTEBOOK (window->notebook),
-                                 nth == -1 ? 8 : nth);
+                                 nth == -1 ? 9 : nth);
 
   return TRUE;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list