diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-24 04:48:38 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-24 04:48:38 (EDT) |
commit | 90f6250f94a94272d6c7380fa017d701732058e6 (patch) | |
tree | a46bf6a3acf618fe2002a39b63182a1e532f22df /src/toolbars/navigation | |
parent | d1ce1afc2240cfdeda48a23dd616a398ec336a72 (diff) | |
download | marquee-90f6250f94a94272d6c7380fa017d701732058e6.zip marquee-90f6250f94a94272d6c7380fa017d701732058e6.tar.gz marquee-90f6250f94a94272d6c7380fa017d701732058e6.tar.bz2 |
MqNotebook, MqTabLabel, MqMainMenu: Open new tabs as siblings, not children
This reverts commit c8eb35b and makes further changes.
Diffstat (limited to 'src/toolbars/navigation')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 2515033..58b4bf2 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -98,7 +98,7 @@ static void preferences_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) { gtk_widget_hide(main_menu->popover); - mq_notebook_insert_child( + mq_notebook_insert_sibling( MQ_NOTEBOOK(gtk_widget_get_parent( GTK_WIDGET(main_menu->tab_page))), "about:preferences", @@ -110,7 +110,7 @@ static void about_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) { gtk_widget_hide(main_menu->popover); - mq_notebook_insert_child( + mq_notebook_insert_sibling( MQ_NOTEBOOK(gtk_widget_get_parent( GTK_WIDGET(main_menu->tab_page))), "about:", |