summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-03 15:16:54 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-03 15:16:54 (EDT)
commit94146e121abc46c5a29600a9bdd23a29d5953c0e (patch)
tree2d9c43789dc1e8e7e76688cec4d8e4c8bf709902 /src
parentb9eb5607b351075778f3fd44d31126a3d0ac0328 (diff)
downloadmarquee-94146e121abc46c5a29600a9bdd23a29d5953c0e.zip
marquee-94146e121abc46c5a29600a9bdd23a29d5953c0e.tar.gz
marquee-94146e121abc46c5a29600a9bdd23a29d5953c0e.tar.bz2
MqMainMenu: Use NEW_BUTTON() macro for preferences button
Diffstat (limited to 'src')
-rw-r--r--src/toolbars/navigation/main-menu.c7
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();