From 09fb24b69da41e809b41d7def006069b9255dd71 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 1 Oct 2013 12:44:45 +0200 Subject: [PATCH] Use the 32x32 icon set for the toolbar. A (partial) set of 32x32 icons has recently been added. This change tells the icon factory to use those icons for the toolbar. --- src/ui/gui/psppire.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/ui/gui/psppire.c b/src/ui/gui/psppire.c index bdf5064ef0..512239e92a 100644 --- a/src/ui/gui/psppire.c +++ b/src/ui/gui/psppire.c @@ -200,14 +200,21 @@ struct icon_size }; static const GtkIconSize menus[] = {GTK_ICON_SIZE_MENU}; +static const GtkIconSize toolbar[] = {GTK_ICON_SIZE_LARGE_TOOLBAR}; -/* We currently have two icon sets viz: 16x16 and 24x24. - We use the 16x16 for menus, and the 24x24 for everything else. */ +/* We currently have three icon sets viz: 16x16, 24x24 and 32x32 + We use the 16x16 for menus, the 32x32 for the toolbar and + the 24x24 for everything else. + + Exactly one element of the following array should have its 2nd and 3rd + argument as zero. +*/ static const struct icon_size sizemap[] = { {16, sizeof (menus) / sizeof (GtkIconSize), menus}, - {24, 0, 0} + {24, 0, 0}, + {32, sizeof (toolbar) / sizeof (GtkIconSize), toolbar} }; -- 2.30.2