diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-10 09:32:17 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-10 09:32:17 +0000 |
| commit | b550132d9d6b1c27d11830e2f3c7ddec682b8095 (patch) | |
| tree | f907daa081b1c469c67fd17be72093f5ca1b01d8 /src/ui/widget/dock.cpp | |
| parent | input devices: Update treeview usage (diff) | |
| download | inkscape-b550132d9d6b1c27d11830e2f3c7ddec682b8095.tar.gz inkscape-b550132d9d6b1c27d11830e2f3c7ddec682b8095.zip | |
Drop obsolete resize_mode usage
Diffstat (limited to 'src/ui/widget/dock.cpp')
| -rw-r--r-- | src/ui/widget/dock.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ui/widget/dock.cpp b/src/ui/widget/dock.cpp index 7dfad9582..20ec707d8 100644 --- a/src/ui/widget/dock.cpp +++ b/src/ui/widget/dock.cpp @@ -83,7 +83,6 @@ Dock::Dock(Gtk::Orientation orientation) _dock_box->pack_start(*_paned, Gtk::PACK_EXPAND_WIDGET); _dock_box->pack_end(*Gtk::manage(Glib::wrap(GTK_WIDGET(_gdl_dock_bar))), Gtk::PACK_SHRINK); - _dock_box->get_parent()->set_resize_mode(Gtk::RESIZE_PARENT); _scrolled_window->set_size_request(0); @@ -131,12 +130,6 @@ void Dock::addItem(DockItem& item, GdlDockPlacement placement) gdl_dock_add_item(GDL_DOCK(_gdl_dock), GDL_DOCK_ITEM(item.gobj()), placement); - - // FIXME: This is a hack to prevent the dock from expanding the main window, this can't be done - // initially as the paned doesn't exist. - if (Gtk::Paned *paned = getParentPaned()) { - paned->set_resize_mode(Gtk::RESIZE_QUEUE); - } } Gtk::Widget &Dock::getWidget() |
