From cb3c4232c369855e07227f75c04673182f6461c0 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sat, 18 Feb 2006 08:56:22 +0000 Subject: Removed horizontal scroll bar from swatches when embedded. (bzr r155) --- src/dialogs/swatches.cpp | 9 +++++++++ src/dialogs/swatches.h | 2 ++ 2 files changed, 11 insertions(+) (limited to 'src/dialogs') 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 ); -- cgit v1.2.3