summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2016-11-07 09:29:37 +0100
committerZenWalker <[email protected]>2016-11-07 09:29:37 +0100
commitdf326ad5d26ad3ec74f15c692dc90be1f42fbb67 (patch)
tree08830ddfbecf7c0b4d75077f6e3ef7f97c839bfe
parent2e6db62d1f01fb92dd57fdf229147ff26ffc561e (diff)
downloadmate-terminal-df326ad5d26ad3ec74f15c692dc90be1f42fbb67.tar.bz2
mate-terminal-df326ad5d26ad3ec74f15c692dc90be1f42fbb67.tar.xz
Make dropped tab active
based on gnome-terminal commit: https://git.gnome.org/browse/gnome-terminal/commit/?id=abb2018a702adfc57831aea9ebb5c513b9c8bbbd Fixes #152
-rw-r--r--src/terminal-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c
index fd374ec..2846d0d 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2673,6 +2673,7 @@ terminal_window_move_screen (TerminalWindow *source_window,
g_object_unref (screen_container);
terminal_window_add_screen (dest_window, screen, dest_position);
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (dest_window->priv->notebook), dest_position);
g_object_unref (screen);
}