diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-02 18:43:07 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-02 18:43:07 (EDT) |
commit | beb5c4e24e81bf6f56316bb6ca34deb0eaf45ab1 (patch) | |
tree | ba845f0612e4a13cb5d6ceb9afc0d4fddda9ff8f /src | |
parent | bf135db8f0dcaf453005e72d272e02b94a9bddab (diff) | |
download | marquee-beb5c4e24e81bf6f56316bb6ca34deb0eaf45ab1.zip marquee-beb5c4e24e81bf6f56316bb6ca34deb0eaf45ab1.tar.gz marquee-beb5c4e24e81bf6f56316bb6ca34deb0eaf45ab1.tar.bz2 |
MqMainMenu: Set grid buttons' labels and image positions
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 89a0ec8..6c2e004 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -207,6 +207,12 @@ create_application_buttons(MqMainMenu *main_menu) G_STMT_START { \ buttons[Y * BUTTON_COLS + X] = gtk_button_new_from_icon_name(\ ICON, GTK_ICON_SIZE_BUTTON); \ + gtk_button_set_label(GTK_BUTTON(buttons[Y * BUTTON_COLS + X]), \ + TOOLTIP); \ + gtk_button_set_image_position(\ + GTK_BUTTON(buttons[Y * BUTTON_COLS + X]), GTK_POS_TOP);\ + gtk_button_set_always_show_image(\ + GTK_BUTTON(buttons[Y * BUTTON_COLS + X]), TRUE); \ gtk_widget_set_tooltip_text(buttons[Y * BUTTON_COLS + X], \ TOOLTIP); \ gtk_grid_attach(GTK_GRID(grid), buttons[Y * BUTTON_COLS + X], \ |