summaryrefslogtreecommitdiffstats
path: root/src/toolbars/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolbars/navigation')
-rw-r--r--src/toolbars/navigation/main-menu.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c
index 9e2057a..2515033 100644
--- a/src/toolbars/navigation/main-menu.c
+++ b/src/toolbars/navigation/main-menu.c
@@ -102,10 +102,8 @@ preferences_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu)
MQ_NOTEBOOK(gtk_widget_get_parent(
GTK_WIDGET(main_menu->tab_page))),
"about:preferences",
- main_menu->tab_page);
- /* TODO: Hack: */
- gtk_notebook_next_page(GTK_NOTEBOOK(gtk_widget_get_parent(
- GTK_WIDGET(main_menu->tab_page))));
+ main_menu->tab_page,
+ TRUE);
}
static void
@@ -116,10 +114,8 @@ about_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu)
MQ_NOTEBOOK(gtk_widget_get_parent(
GTK_WIDGET(main_menu->tab_page))),
"about:",
- main_menu->tab_page);
- /* TODO: Hack: */
- gtk_notebook_next_page(GTK_NOTEBOOK(gtk_widget_get_parent(
- GTK_WIDGET(main_menu->tab_page))));
+ main_menu->tab_page,
+ TRUE);
}
static void