summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/toolbars/navigation/main-menu.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c
index fdc6d7e..668111d 100644
--- a/src/toolbars/navigation/main-menu.c
+++ b/src/toolbars/navigation/main-menu.c
@@ -293,7 +293,7 @@ create_zoom_buttons(MqMainMenu *main_menu)
#define BUTTON_ROWS 3
#define BUTTON_COLS 3
-#define NEW_BUTTON(Y, X, ICON, TOOLTIP) \
+#define NEW_BTN(Y, X, ICON, TOOLTIP) \
G_STMT_START { \
buttons[Y * BUTTON_COLS + X] = gtk_button_new_from_icon_name(\
ICON, GTK_ICON_SIZE_BUTTON); \
@@ -325,20 +325,20 @@ create_main_grid(MqMainMenu *main_menu)
gtk_grid_set_row_homogeneous(GTK_GRID(grid), TRUE);
gtk_grid_set_column_homogeneous(GTK_GRID(grid), TRUE);
- /* Y, X, ICON, TOOLTIP */
- NEW_BUTTON(0, 0, "window-new", "New window");
- NEW_BUTTON(0, 1, "edit-find", "Find");
- NEW_BUTTON(0, 2, "view-fullscreen", "Full screen");
+ /* Y, X, ICON, TOOLTIP */
+ NEW_BTN(0, 0, "window-new", "New window");
+ NEW_BTN(0, 1, "edit-find", "Find");
+ NEW_BTN(0, 2, "view-fullscreen", "Full screen");
- /* Y, X, ICON, TOOLTIP */
- NEW_BUTTON(1, 0, "document-open", "Open file");
- NEW_BUTTON(1, 1, "document-save-as", "Save page");
- NEW_BUTTON(1, 2, "mail-message-new", "E-mail link");
+ /* Y, X, ICON, TOOLTIP */
+ NEW_BTN(1, 0, "document-open", "Open file");
+ NEW_BTN(1, 1, "document-save-as", "Save page");
+ NEW_BTN(1, 2, "mail-message-new", "E-mail link");
- /* Y, X, ICON, TOOLTIP */
- NEW_BUTTON(2, 0, "document-print-preview", "Print preview");
- NEW_BUTTON(2, 1, "document-print", "Print");
- NEW_BUTTON(2, 2, "preferences-system", "Inspector");
+ /* Y, X, ICON, TOOLTIP */
+ NEW_BTN(2, 0, "document-print-preview", "Print preview");
+ NEW_BTN(2, 1, "document-print", "Print");
+ NEW_BTN(2, 2, "preferences-system", "Inspector");
/* Y, X, CB */
CLICKED_CB(0, 0, new_window_clicked_cb);
@@ -363,7 +363,7 @@ create_main_grid(MqMainMenu *main_menu)
#undef BUTTON_ROWS
#undef BUTTON_COLS
-#undef NEW_BUTTON
+#undef NEW_BTN
#undef CLICKED_CB
#define NEW_BUTTON(ID, ICON, LABEL, TOOLTIP) \