From bd98ee2549cf40630a6da66bbd994f2cc39b11b3 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sun, 19 Feb 2006 05:32:13 +0000 Subject: Fixing scrollbar size for embeded color swatches. (bzr r158) --- src/dialogs/swatches.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/dialogs/swatches.cpp') diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp index dd48fa539..c01217fe6 100644 --- a/src/dialogs/swatches.cpp +++ b/src/dialogs/swatches.cpp @@ -482,15 +482,17 @@ SwatchesPanel::~SwatchesPanel() { } -void SwatchesPanel::Temp() +void SwatchesPanel::setOrientation( Gtk::AnchorType how ) { + // Must call the parent class or bad things might happen + Inkscape::UI::Widget::Panel::setOrientation( how ); + if ( _holder ) { _holder->setOrientation( Gtk::ANCHOR_SOUTH ); } } - void SwatchesPanel::_handleAction( int setId, int itemId ) { switch( setId ) { -- cgit v1.2.3