diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-12-10 21:30:31 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-12-10 21:30:31 +0000 |
| commit | 63cf00dad084d4515247ef94809497b8865da3df (patch) | |
| tree | 5500f5528a1e65b416eb0f7576cc2aaab0ed1960 /src/ui/widget/layer-selector.cpp | |
| parent | Translations. Breton translation by Alan (diff) | |
| download | inkscape-63cf00dad084d4515247ef94809497b8865da3df.tar.gz inkscape-63cf00dad084d4515247ef94809497b8865da3df.zip | |
LayerSelector (bottom left): change size of visibility and lock icons to ICON_SIZE_SMALL_TOOLBAR to make the size changeable from the GTK2 theme file, and make the size fall in line with rest of UI. I saw no effect on the looks of the UI with default gtkrc on Windows, but greatly improves icon sizing on hi-dpi theme settings.
(bzr r13792)
Diffstat (limited to 'src/ui/widget/layer-selector.cpp')
| -rw-r--r-- | src/ui/widget/layer-selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/layer-selector.cpp b/src/ui/widget/layer-selector.cpp index 7b1a8dbfb..878bbfb87 100644 --- a/src/ui/widget/layer-selector.cpp +++ b/src/ui/widget/layer-selector.cpp @@ -97,7 +97,7 @@ LayerSelector::LayerSelector(SPDesktop *desktop) { AlternateIcons *label; - label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, + label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_SMALL_TOOLBAR, INKSCAPE_ICON("object-visible"), INKSCAPE_ICON("object-hidden"))); _visibility_toggle.add(*label); _visibility_toggle.signal_toggled().connect( @@ -118,7 +118,7 @@ LayerSelector::LayerSelector(SPDesktop *desktop) _visibility_toggle.set_tooltip_text(_("Toggle current layer visibility")); pack_start(_visibility_toggle, Gtk::PACK_EXPAND_PADDING); - label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, + label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_SMALL_TOOLBAR, INKSCAPE_ICON("object-unlocked"), INKSCAPE_ICON("object-locked"))); _lock_toggle.add(*label); _lock_toggle.signal_toggled().connect( |
