summaryrefslogtreecommitdiffstats
path: root/src/toolbars/navigation/main-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolbars/navigation/main-menu.c')
-rw-r--r--src/toolbars/navigation/main-menu.c4
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:",