diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-04-12 10:28:18 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-04-12 10:28:18 +0000 |
| commit | 3ee1ba1e9a8019e98012bc77ff3953363b2fa17a (patch) | |
| tree | 5887f9e7070f96d3c543b1dbc01d3fb128fccc3a /src/ui | |
| parent | Bump ifdefs to 3.8 (now ifdefs say 3.0 instead of 3.2 or 3.8) (diff) | |
| download | inkscape-3ee1ba1e9a8019e98012bc77ff3953363b2fa17a.tar.gz inkscape-3ee1ba1e9a8019e98012bc77ff3953363b2fa17a.zip | |
Add option for larger icons (useful for 4K display).
(bzr r14789)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index b20f71a6a..c7a168dee 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -613,8 +613,9 @@ void InkscapePreferences::initPageUI() _("Set the language for menus and number formats"), false); { - Glib::ustring sizeLabels[] = {C_("Icon size", "Large"), C_("Icon size", "Small"), C_("Icon size", "Smaller")}; - int sizeValues[] = {0, 1, 2}; + Glib::ustring sizeLabels[] = {C_("Icon size", "Larger"), C_("Icon size", "Large"), C_("Icon size", "Small"), C_("Icon size", "Smaller")}; + int sizeValues[] = {3, 0, 1, 2}; + // "Larger" is 3 to not break existing preference files. Should fix in GTK3 _misc_small_tools.init( "/toolbox/tools/small", sizeLabels, sizeValues, G_N_ELEMENTS(sizeLabels), 0 ); _page_ui.add_line( false, _("Toolbox icon size:"), _misc_small_tools, "", |
