From: cilix42 Date: Wed, 29 Jul 2009 18:17:12 +0000 (+0000) Subject: Remove unnecessary tab in Layers dialog (closes LP #364224) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6f8294f9eb3c41de7d8694c2f40485c04db3c76e;p=inkscape.git Remove unnecessary tab in Layers dialog (closes LP #364224) --- diff --git a/src/ui/dialog/layers.cpp b/src/ui/dialog/layers.cpp index d79f18801..fa47ad88d 100644 --- a/src/ui/dialog/layers.cpp +++ b/src/ui/dialog/layers.cpp @@ -642,9 +642,7 @@ LayersPanel::LayersPanel() : _layersPage.pack_end(_compositeSettings, Gtk::PACK_SHRINK); _layersPage.pack_end(_buttonsRow, Gtk::PACK_SHRINK); - _notebook.append_page(_layersPage, _("Layers")); - - _getContents()->pack_start(_notebook, Gtk::PACK_EXPAND_WIDGET); + _getContents()->pack_start(_layersPage, Gtk::PACK_EXPAND_WIDGET); SPDesktop* targetDesktop = getDesktop(); diff --git a/src/ui/dialog/layers.h b/src/ui/dialog/layers.h index 1f593b9c6..16b3be350 100644 --- a/src/ui/dialog/layers.h +++ b/src/ui/dialog/layers.h @@ -117,7 +117,6 @@ private: Gtk::ScrolledWindow _scroller; Gtk::Menu _popupMenu; Gtk::SpinButton _spinBtn; - Gtk::Notebook _notebook; Gtk::VBox _layersPage; UI::Widget::StyleSubject::CurrentLayer _subject;