summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.cpp
diff options
context:
space:
mode:
authorStefano Facchini <stefano.facchini@gmail.com>2017-10-22 15:57:22 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-01-18 12:32:34 +0000
commit3b4674a856be2478260c58e6150abc22d5f7bcd0 (patch)
tree78e1dd9a3317752da2d3f0497aed8d0ef9221442 /src/widgets/desktop-widget.cpp
parentMinor cleanup. (diff)
downloadinkscape-3b4674a856be2478260c58e6150abc22d5f7bcd0.tar.gz
inkscape-3b4674a856be2478260c58e6150abc22d5f7bcd0.zip
swatches: Code cleanup
Now that all our code in a single file, it can be consolidated and cleaned up. The widgetry should be functionally identical to the previous one, with one exception: a Gtk::MenuButton replaces the old menu popper made up with an EventBox.
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
-rw-r--r--src/widgets/desktop-widget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp
index b7fe82baa..ac2eac801 100644
--- a/src/widgets/desktop-widget.cpp
+++ b/src/widgets/desktop-widget.cpp
@@ -335,7 +335,6 @@ void SPDesktopWidget::init( SPDesktopWidget *dtw )
using Inkscape::UI::Dialogs::SwatchesPanel;
dtw->panels = new SwatchesPanel("/embedded/swatches");
- dtw->panels->setOrientation(SP_ANCHOR_SOUTH);
dtw->panels->set_vexpand(false);
gtk_box_pack_end( GTK_BOX( dtw->vbox ), GTK_WIDGET(dtw->panels->gobj()), FALSE, TRUE, 0 );
}