[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix tab remove handling: context menu and keyboard shortcuts were not applied to proper tab
noreply at xfce.org
noreply at xfce.org
Thu Jun 23 12:11:59 CEST 2016
This is an automated email from the git hooks/post-receive script.
f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.
commit f0c77ec63b92ea31e3097704438d7d4f0b5e1bf6
Author: Igor <f2404 at yandex.ru>
Date: Thu Jun 23 13:10:27 2016 +0300
Fix tab remove handling: context menu and keyboard shortcuts were not applied to proper tab
Fixes #11227
---
terminal/terminal-window.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index e1fa5e3..7ef1741 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -926,16 +926,16 @@ terminal_window_notebook_page_removed (GtkNotebook *notebook,
return;
}
- /* send a signal about switching to another tab */
- new_page_num = gtk_notebook_get_current_page (GTK_NOTEBOOK (window->notebook));
- new_page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (window->notebook), new_page_num);
- terminal_window_notebook_page_switched (notebook, new_page, new_page_num, window);
-
/* show the tabs when needed */
terminal_window_notebook_show_tabs (window);
/* regenerate the "Go" menu */
terminal_window_rebuild_tabs_menu (window);
+
+ /* send a signal about switching to another tab */
+ new_page_num = gtk_notebook_get_current_page (GTK_NOTEBOOK (window->notebook));
+ new_page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (window->notebook), new_page_num);
+ terminal_window_notebook_page_switched (notebook, new_page, new_page_num, window);
}
static gboolean
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list