summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/panel.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-05-06 11:02:22 +0000
committertavmjong-free <tavmjong@free.fr>2016-05-06 11:02:22 +0000
commit28d4af68e5f0c3c157b97fd857ef676657b35e01 (patch)
tree65cc1de05c4dc7a139381d0bc486c07cca7689c5 /src/ui/widget/panel.cpp
parentFix rendering of tool bar icons in GTK3. Fix some GTK3 warnings. (diff)
downloadinkscape-28d4af68e5f0c3c157b97fd857ef676657b35e01.tar.gz
inkscape-28d4af68e5f0c3c157b97fd857ef676657b35e01.zip
Prevent scrollbar overlay from covering swatches in GTK3 build.
And some minor cleanup. (bzr r14871)
Diffstat (limited to 'src/ui/widget/panel.cpp')
-rw-r--r--src/ui/widget/panel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp
index 8a1e98a63..5d4a25a68 100644
--- a/src/ui/widget/panel.cpp
+++ b/src/ui/widget/panel.cpp
@@ -73,6 +73,9 @@ Panel::Panel(Glib::ustring const &label, gchar const *prefs_path,
_action_area(0),
_fillable(0)
{
+#if WITH_GTKMM_3_0
+ set_orientation( Gtk::ORIENTATION_VERTICAL );
+#endif
_init();
}
@@ -92,7 +95,6 @@ void Panel::_popper(GdkEventButton* event)
void Panel::_init()
{
- Glib::ustring tmp("<");
_anchor = SP_ANCHOR_CENTER;
guint panel_size = 0, panel_mode = 0, panel_ratio = 100, panel_border = 0;