summaryrefslogtreecommitdiffstats
path: root/src/dialogs
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
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')
-rw-r--r--src/dialogs/swatches.cpp9
-rw-r--r--src/dialogs/swatches.h2
2 files changed, 11 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 ) {
diff --git a/src/dialogs/swatches.h b/src/dialogs/swatches.h
index ca17cd066..fea2b8309 100644
--- a/src/dialogs/swatches.h
+++ b/src/dialogs/swatches.h
@@ -61,6 +61,8 @@ public:
static SwatchesPanel& getInstance();
+ void Temp();
+
protected:
virtual void _handleAction( int setId, int itemId );