From 76d407dc5a2e13be138013559bce787c2423bb59 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 03 Nov 2017 15:22:32 -0400 Subject: MqMainMenu: Use NEW_BUTTON() macro for profile button --- (limited to 'src/toolbars') 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"); -- cgit v0.9.1