summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-02-19 05:32:13 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-02-19 05:32:13 +0000
commitbd98ee2549cf40630a6da66bbd994f2cc39b11b3 (patch)
tree96ba2f14c0a94aa5031b009d5200bf3eb4ccc3b8 /src/dialogs
parentupdated PO files (diff)
downloadinkscape-bd98ee2549cf40630a6da66bbd994f2cc39b11b3.tar.gz
inkscape-bd98ee2549cf40630a6da66bbd994f2cc39b11b3.zip
Fixing scrollbar size for embeded color swatches.
(bzr r158)
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/swatches.cpp6
-rw-r--r--src/dialogs/swatches.h3
2 files changed, 5 insertions, 4 deletions
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 ) {
diff --git a/src/dialogs/swatches.h b/src/dialogs/swatches.h
index fea2b8309..37a04cfba 100644
--- a/src/dialogs/swatches.h
+++ b/src/dialogs/swatches.h
@@ -60,8 +60,7 @@ public:
virtual ~SwatchesPanel();
static SwatchesPanel& getInstance();
-
- void Temp();
+ virtual void setOrientation( Gtk::AnchorType how );
protected:
virtual void _handleAction( int setId, int itemId );