summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-03 15:22:32 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-03 15:22:32 (EDT)
commit76d407dc5a2e13be138013559bce787c2423bb59 (patch)
tree4b947dc01cbefa0962dd6517e917e2cb31479505
parentd612e5bf723c954faea2fa3eeab45282a562e350 (diff)
downloadmarquee-76d407dc5a2e13be138013559bce787c2423bb59.zip
marquee-76d407dc5a2e13be138013559bce787c2423bb59.tar.gz
marquee-76d407dc5a2e13be138013559bce787c2423bb59.tar.bz2
MqMainMenu: Use NEW_BUTTON() macro for profile button
-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 2a6d4b6..bb20280 100644
--- a/src/toolbars/navigation/main-menu.c
+++ b/src/toolbars/navigation/main-menu.c
@@ -358,14 +358,11 @@ create_profile_buttons(MqMainMenu *main_menu)
GtkWidget *preferences_button;
GtkWidget *grid;
- profile_button = gtk_button_new();
+ /* ID, ICON, LABEL, TOOLTIP */
+ NEW_BUTTON(profile, NULL, "Default", "Manage profiles");
gtk_button_set_image(GTK_BUTTON(profile_button),
gtk_image_new_from_pixbuf(
mq_profile_icon_new_pixbuf("#0000ff")));
- gtk_button_set_label(GTK_BUTTON(profile_button), "Default");
- gtk_button_set_image_position(GTK_BUTTON(profile_button), GTK_POS_LEFT);
- gtk_button_set_always_show_image(GTK_BUTTON(profile_button), TRUE);
- gtk_widget_set_tooltip_text(profile_button, "Manage profiles");
/* ID, ICON, LABEL, TOOLTIP */
NEW_BUTTON(preferences, "preferences-desktop", NULL, "Preferences");