diff options
Diffstat (limited to 'src/toolbars')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index a3e94e5..2fc2a03 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -360,11 +360,8 @@ create_profile_buttons(MqMainMenu *main_menu) gtk_button_set_always_show_image(GTK_BUTTON(profile_button), TRUE); gtk_widget_set_tooltip_text(profile_button, "Manage profiles"); - preferences_button = gtk_button_new_from_icon_name( - "preferences-desktop", GTK_ICON_SIZE_BUTTON); - gtk_widget_set_tooltip_text(preferences_button, "Preferences"); - g_signal_connect(preferences_button, "clicked", - G_CALLBACK(preferences_clicked_cb), main_menu); + /* ID, ICON, LABEL, TOOLTIP */ + NEW_BUTTON(preferences, "preferences-desktop", NULL, "Preferences"); /* Set up the grid. */ grid = gtk_grid_new(); |