From 6f8294f9eb3c41de7d8694c2f40485c04db3c76e Mon Sep 17 00:00:00 2001 From: cilix42 Date: Wed, 29 Jul 2009 18:17:12 +0000 Subject: [PATCH] Remove unnecessary tab in Layers dialog (closes LP #364224) --- src/ui/dialog/layers.cpp | 4 +--- src/ui/dialog/layers.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) 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; -- 2.30.2