diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-24 04:41:19 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-24 04:41:19 (EDT) |
commit | d1ce1afc2240cfdeda48a23dd616a398ec336a72 (patch) | |
tree | 1683d10717f292071077869d3236d0de91bbd822 /src/tab-label.c | |
parent | d79413597539863361033c032f8697896231a7fc (diff) | |
download | marquee-d1ce1afc2240cfdeda48a23dd616a398ec336a72.zip marquee-d1ce1afc2240cfdeda48a23dd616a398ec336a72.tar.gz marquee-d1ce1afc2240cfdeda48a23dd616a398ec336a72.tar.bz2 |
mq_notebook_insert_*(): Optionally switch to new tab
And update calls.
Diffstat (limited to 'src/tab-label.c')
-rw-r--r-- | src/tab-label.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tab-label.c b/src/tab-label.c index 0602a19..e4f6bce 100644 --- a/src/tab-label.c +++ b/src/tab-label.c @@ -69,7 +69,8 @@ new_tab_clicked_cb(GtkWidget G_GNUC_UNUSED *button, MqTabLabel *tab_label) mq_notebook_insert_child( MQ_NOTEBOOK(gtk_widget_get_parent(GTK_WIDGET(tab_label))), NULL, - tab_label->tab_page); + tab_label->tab_page, + TRUE); gtk_widget_hide(tab_label->popover); } |