summaryrefslogtreecommitdiffstats
path: root/src/dialogs/swatches.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-02-18 08:56:22 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-02-18 08:56:22 +0000
commitcb3c4232c369855e07227f75c04673182f6461c0 (patch)
tree24645f010f65be595f4be0ecd0b1f7550bb00c88 /src/dialogs/swatches.cpp
parentupdates from Lucas and Colin (diff)
downloadinkscape-cb3c4232c369855e07227f75c04673182f6461c0.tar.gz
inkscape-cb3c4232c369855e07227f75c04673182f6461c0.zip
Removed horizontal scroll bar from swatches when embedded.
(bzr r155)
Diffstat (limited to 'src/dialogs/swatches.cpp')
-rw-r--r--src/dialogs/swatches.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp
index 739cda3b2..dd48fa539 100644
--- a/src/dialogs/swatches.cpp
+++ b/src/dialogs/swatches.cpp
@@ -482,6 +482,15 @@ SwatchesPanel::~SwatchesPanel()
{
}
+void SwatchesPanel::Temp()
+{
+ if ( _holder )
+ {
+ _holder->setOrientation( Gtk::ANCHOR_SOUTH );
+ }
+}
+
+
void SwatchesPanel::_handleAction( int setId, int itemId )
{
switch( setId ) {