diff options
Diffstat (limited to 'src/toolbars/navigation')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 93e045e..6d875ad 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -152,7 +152,13 @@ static void profile_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu G_GNUC_UNUSED *main_menu) { - /* TODO */ + gtk_widget_hide(main_menu->popover); + mq_notebook_insert_sibling( + MQ_NOTEBOOK(gtk_widget_get_parent( + GTK_WIDGET(main_menu->tab_page))), + "about:profiles", + main_menu->tab_page, + TRUE); } static void @@ -363,7 +369,6 @@ create_profile_buttons(MqMainMenu *main_menu) gtk_button_set_image(GTK_BUTTON(profile_button), gtk_image_new_from_pixbuf( mq_profile_icon_new_pixbuf("#0000ff"))); - gtk_widget_set_sensitive(profile_button, FALSE); /* ID, ICON, LABEL, TOOLTIP */ NEW_BUTTON(preferences, "preferences-desktop", NULL, "Preferences"); |