Code

Remove unnecessary tab in Layers dialog (closes LP #364224)
authorcilix42 <cilix42@users.sourceforge.net>
Wed, 29 Jul 2009 18:17:12 +0000 (18:17 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Wed, 29 Jul 2009 18:17:12 +0000 (18:17 +0000)
src/ui/dialog/layers.cpp
src/ui/dialog/layers.h

index d79f188017296c4fba10ac2b15c544f8a279f5d8..fa47ad88d979da656760262a406f588f284442c3 100644 (file)
@@ -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();
 
index 1f593b9c6c962e3c8b727170a3102d1e65e50ead..16b3be3508802fc239e6d8e7e00b25ba02217b53 100644 (file)
@@ -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;