diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-02-26 02:52:45 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-02-26 02:52:45 +0000 |
| commit | 014dfe3aedbc0909f354068d2966f630f512a0e5 (patch) | |
| tree | fd03a7ab222577b6a447f33480e4691d660b7e1a /src/ui/widget/layer-selector.cpp | |
| parent | add #include <gtk/gtk.h> to fix defect #333767 (diff) | |
| download | inkscape-014dfe3aedbc0909f354068d2966f630f512a0e5.tar.gz inkscape-014dfe3aedbc0909f354068d2966f630f512a0e5.zip | |
Several icon name fixes
(bzr r7373)
Diffstat (limited to 'src/ui/widget/layer-selector.cpp')
| -rw-r--r-- | src/ui/widget/layer-selector.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/widget/layer-selector.cpp b/src/ui/widget/layer-selector.cpp index 51084b127..f25192b2a 100644 --- a/src/ui/widget/layer-selector.cpp +++ b/src/ui/widget/layer-selector.cpp @@ -23,6 +23,7 @@ #include "layer-manager.h" #include "sp-item.h" #include "ui/dialog/layer-properties.h" +#include "ui/icon-names.h" #include "ui/widget/layer-selector.h" #include "util/filter-list.h" #include "util/reverse-list.h" @@ -92,7 +93,8 @@ LayerSelector::LayerSelector(SPDesktop *desktop) { AlternateIcons *label; - label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, "visible", "hidden")); + label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, + INKSCAPE_ICON_OBJECT_VISIBLE, INKSCAPE_ICON_OBJECT_HIDDEN)); _visibility_toggle.add(*label); _visibility_toggle.signal_toggled().connect( sigc::compose( @@ -112,7 +114,8 @@ LayerSelector::LayerSelector(SPDesktop *desktop) _tooltips.set_tip(_visibility_toggle, _("Toggle current layer visibility")); pack_start(_visibility_toggle, Gtk::PACK_EXPAND_PADDING); - label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, "lock_unlocked", "width_height_lock")); + label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, + INKSCAPE_ICON_OBJECT_UNLOCKED, INKSCAPE_ICON_OBJECT_LOCKED)); _lock_toggle.add(*label); _lock_toggle.signal_toggled().connect( sigc::compose( |
