summaryrefslogtreecommitdiffstats
path: root/src/widgets/layer-selector.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-04-06 09:10:47 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-04-06 09:10:47 +0000
commit11e258d47c7ab070228d93b203ec467b5e53de5a (patch)
tree58f02569addc5f1a75eadcbcedf3ab0b8aae7bc2 /src/widgets/layer-selector.cpp
parentAdding rendering-intent to <color-profile> (diff)
downloadinkscape-11e258d47c7ab070228d93b203ec467b5e53de5a.tar.gz
inkscape-11e258d47c7ab070228d93b203ec467b5e53de5a.zip
Decoupling from direct use of GtkIconSize to allow for smaller custom ones.
(bzr r439)
Diffstat (limited to 'src/widgets/layer-selector.cpp')
-rw-r--r--src/widgets/layer-selector.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/layer-selector.cpp b/src/widgets/layer-selector.cpp
index 34433e9b7..b95005cd9 100644
--- a/src/widgets/layer-selector.cpp
+++ b/src/widgets/layer-selector.cpp
@@ -37,7 +37,7 @@ namespace {
class AlternateIcons : public Gtk::HBox {
public:
- AlternateIcons(GtkIconSize size, gchar const *a, gchar const *b)
+ AlternateIcons(Inkscape::IconSize size, gchar const *a, gchar const *b)
: _a(NULL), _b(NULL)
{
if (a) {
@@ -46,7 +46,7 @@ public:
add(*_a);
}
if (b) {
- _b = Gtk::manage(sp_icon_get_icon(b,size));
+ _b = Gtk::manage(sp_icon_get_icon(b, size));
_b->set_no_show_all(true);
add(*_b);
}
@@ -91,7 +91,7 @@ LayerSelector::LayerSelector(SPDesktop *desktop)
{
AlternateIcons *label;
- label = Gtk::manage(new AlternateIcons(GTK_ICON_SIZE_MENU, "visible", "hidden"));
+ label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_MENU, "visible", "hidden"));
_visibility_toggle.add(*label);
_visibility_toggle.signal_toggled().connect(
sigc::compose(
@@ -111,7 +111,7 @@ 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(GTK_ICON_SIZE_MENU, "lock_unlocked", "width_height_lock"));
+ label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_MENU, "lock_unlocked", "width_height_lock"));
_lock_toggle.add(*label);
_lock_toggle.signal_toggled().connect(
sigc::compose(