diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-07-15 00:21:05 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-07-15 00:21:05 +0000 |
| commit | 896fc3e9669eb94159e5471f41f95be9f8f90611 (patch) | |
| tree | de2eba4091750cb621c2246fc18204c38fc9204b /src/ui/widget/layer-selector.cpp | |
| parent | Merge SPCanvasArena caching layer work (diff) | |
| download | inkscape-896fc3e9669eb94159e5471f41f95be9f8f90611.tar.gz inkscape-896fc3e9669eb94159e5471f41f95be9f8f90611.zip | |
Remove the icon-names.h thing, which was a mistake.
The file now contains a no-op macro which is used to mark icon names.
This way we can still generate a list of icon names we use
using a simple grep, but don't trigger unnecessary rebuilds when
a new icon names is added.
(bzr r10452)
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 ba4629c82..e254b8599 100644 --- a/src/ui/widget/layer-selector.cpp +++ b/src/ui/widget/layer-selector.cpp @@ -95,7 +95,7 @@ LayerSelector::LayerSelector(SPDesktop *desktop) AlternateIcons *label; label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, - INKSCAPE_ICON_OBJECT_VISIBLE, INKSCAPE_ICON_OBJECT_HIDDEN)); + INKSCAPE_ICON("object-visible"), INKSCAPE_ICON("object-visible"))); _visibility_toggle.add(*label); _visibility_toggle.signal_toggled().connect( sigc::compose( @@ -116,7 +116,7 @@ LayerSelector::LayerSelector(SPDesktop *desktop) pack_start(_visibility_toggle, Gtk::PACK_EXPAND_PADDING); label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, - INKSCAPE_ICON_OBJECT_UNLOCKED, INKSCAPE_ICON_OBJECT_LOCKED)); + INKSCAPE_ICON("object-unlocked"), INKSCAPE_ICON("object-unlocked"))); _lock_toggle.add(*label); _lock_toggle.signal_toggled().connect( sigc::compose( |
