diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-02-19 23:57:21 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-02-19 23:57:21 +0000 |
| commit | 1bd8104786e988ddbb049246ceab7441a1b54ba7 (patch) | |
| tree | 38def9e1db2c07c053728276c3d9dee2df429db3 /src/ui/dialog/livepatheffect-editor.cpp | |
| parent | Fix SVN revision reporting so that it doesn't relink on every make (diff) | |
| download | inkscape-1bd8104786e988ddbb049246ceab7441a1b54ba7.tar.gz inkscape-1bd8104786e988ddbb049246ceab7441a1b54ba7.zip | |
Make all icons themable (except the filter icons).
(bzr r7332)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
| -rw-r--r-- | src/ui/dialog/livepatheffect-editor.cpp | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index 1c66160dd..7746e1a60 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -15,30 +15,31 @@ #endif #include <glibmm/i18n.h> -#include "livepatheffect-editor.h" -#include "ui/widget/imagetoggler.h" -#include "verbs.h" +#include <gtkmm/stock.h> +#include <gtkmm/toolbar.h> +#include <vector> + +#include "desktop.h" +#include "desktop-handles.h" +#include "document.h" +#include "gtkmm/widget.h" +#include "inkscape.h" +#include "live_effects/effect.h" +#include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" +#include "path-chemistry.h" #include "selection.h" -#include "sp-shape.h" #include "sp-item-group.h" +#include "sp-lpe-item.h" #include "sp-path.h" #include "sp-rect.h" -#include "sp-lpe-item.h" -#include "path-chemistry.h" -#include "live_effects/effect.h" -#include "live_effects/lpeobject.h" -#include "live_effects/lpeobject-reference.h" -#include "gtkmm/widget.h" -#include <vector> -#include "inkscape.h" -#include "desktop-handles.h" -#include "desktop.h" -#include "document.h" +#include "sp-shape.h" +#include "ui/icon-names.h" +#include "ui/widget/imagetoggler.h" +#include "verbs.h" #include "xml/node.h" -#include <gtkmm/stock.h> -#include <gtkmm/toolbar.h> -#include "live_effects/lpeobject-reference.h" +#include "livepatheffect-editor.h" namespace Inkscape { class Application; @@ -133,7 +134,8 @@ LivePathEffectEditor::LivePathEffectEditor() effectlist_selection->signal_changed().connect( sigc::mem_fun(*this, &LivePathEffectEditor::on_effect_selection_changed) ); //Add the visibility icon column: - Inkscape::UI::Widget::ImageToggler *eyeRenderer = manage( new Inkscape::UI::Widget::ImageToggler("visible", "hidden") ); + Inkscape::UI::Widget::ImageToggler *eyeRenderer = manage( new Inkscape::UI::Widget::ImageToggler( + INKSCAPE_ICON_OBJECT_VISIBLE, INKSCAPE_ICON_OBJECT_HIDDEN) ); int visibleColNum = effectlist_view.append_column("is_visible", *eyeRenderer) - 1; eyeRenderer->signal_toggled().connect( sigc::mem_fun(*this, &LivePathEffectEditor::on_visibility_toggled) ); eyeRenderer->property_activatable() = true; |
