[Xfce4-commits] [apps/xfce4-terminal] 01/01: Update window actions and active tab indication on reordering tabs
noreply at xfce.org
noreply at xfce.org
Thu Mar 15 15:24:21 CET 2018
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit 9cfd52b8b5bd1321e2b6f497a41914c5bd06ded4
Author: Igor <f2404 at yandex.ru>
Date: Thu Mar 15 10:23:26 2018 -0400
Update window actions and active tab indication on reordering tabs
See bug #14278
---
terminal/terminal-window.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 68daa03..9f30716 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1062,12 +1062,9 @@ terminal_window_notebook_page_switched (GtkNotebook *notebook,
guint page_num,
TerminalWindow *window)
{
- TerminalScreen *active;
+ TerminalScreen *active = TERMINAL_SCREEN (page);
const gchar *encoding;
- /* get the new active page */
- active = TERMINAL_SCREEN (page);
-
terminal_return_if_fail (TERMINAL_IS_WINDOW (window));
terminal_return_if_fail (active == NULL || TERMINAL_IS_SCREEN (active));
@@ -1105,8 +1102,9 @@ terminal_window_notebook_page_reordered (GtkNotebook *notebook,
guint page_num,
TerminalWindow *window)
{
- /* Regenerate the "Go" menu */
+ /* Regenerate the "Go" menu and update actions */
terminal_window_rebuild_tabs_menu (window);
+ terminal_window_update_actions (window);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list