summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-04-12 10:28:18 +0000
committertavmjong-free <tavmjong@free.fr>2016-04-12 10:28:18 +0000
commit3ee1ba1e9a8019e98012bc77ff3953363b2fa17a (patch)
tree5887f9e7070f96d3c543b1dbc01d3fb128fccc3a /src/widgets/toolbox.cpp
parentBump ifdefs to 3.8 (now ifdefs say 3.0 instead of 3.2 or 3.8) (diff)
downloadinkscape-3ee1ba1e9a8019e98012bc77ff3953363b2fa17a.tar.gz
inkscape-3ee1ba1e9a8019e98012bc77ff3953363b2fa17a.zip
Add option for larger icons (useful for 4K display).
(bzr r14789)
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 3389f82f9..0697ff0fb 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -127,7 +127,8 @@ Inkscape::IconSize ToolboxFactory::prefToSize( Glib::ustring const &path, int ba
static Inkscape::IconSize sizeChoices[] = {
Inkscape::ICON_SIZE_LARGE_TOOLBAR,
Inkscape::ICON_SIZE_SMALL_TOOLBAR,
- Inkscape::ICON_SIZE_MENU
+ Inkscape::ICON_SIZE_MENU,
+ Inkscape::ICON_SIZE_DIALOG
};
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
int index = prefs->getIntLimited( path, base, 0, G_N_ELEMENTS(sizeChoices) );