summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2016-11-07 09:29:37 +0100
committermonsta <[email protected]>2017-01-23 14:13:43 +0300
commit39588e6dcb53ef711b207e0a3939b15af1c4e000 (patch)
tree08830ddfbecf7c0b4d75077f6e3ef7f97c839bfe
parent6dc0e22c6189a3b396f31101a4aaa0d0dfe768da (diff)
downloadmate-terminal-39588e6dcb53ef711b207e0a3939b15af1c4e000.tar.bz2
mate-terminal-39588e6dcb53ef711b207e0a3939b15af1c4e000.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);
}