summaryrefslogtreecommitdiffstats
path: root/src/dialogs/swatches.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-04-09 05:49:41 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-04-09 05:49:41 +0000
commit427dff020d70f1397502bdf45476cb917c00a1fc (patch)
tree006985cb196f1b9017dbabe54f60e1cd0d86e626 /src/dialogs/swatches.cpp
parentBefore the rev 10880 fix in xml/simple-node.cpp, text updating when dragging ... (diff)
downloadinkscape-427dff020d70f1397502bdf45476cb917c00a1fc.tar.gz
inkscape-427dff020d70f1397502bdf45476cb917c00a1fc.zip
Adding in new icon size
(bzr r462)
Diffstat (limited to 'src/dialogs/swatches.cpp')
-rw-r--r--src/dialogs/swatches.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp
index a4b9a0d7d..bd2ec169c 100644
--- a/src/dialogs/swatches.cpp
+++ b/src/dialogs/swatches.cpp
@@ -426,7 +426,7 @@ void ColorItem::_colorDefChanged(void* data)
}
-Gtk::Widget* ColorItem::getPreview(PreviewStyle style, ViewType view, Gtk::BuiltinIconSize size)
+Gtk::Widget* ColorItem::getPreview(PreviewStyle style, ViewType view, Inkscape::IconSize size)
{
Gtk::Widget* widget = 0;
if ( style == PREVIEW_STYLE_BLURB ) {
@@ -435,7 +435,7 @@ Gtk::Widget* ColorItem::getPreview(PreviewStyle style, ViewType view, Gtk::Built
widget = lbl;
} else {
Glib::ustring blank(" ");
- if ( size == Gtk::ICON_SIZE_MENU ) {
+ if ( size == Inkscape::ICON_SIZE_MENU || size == Inkscape::ICON_SIZE_DECORATION ) {
blank = " ";
}