summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-05-15 08:34:06 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-05-15 08:34:06 +0000
commit66c6b3a97b1b1d870e56946718d3c00615f06ff4 (patch)
tree7a7e2ef7b8cd8a990f46eb241a1b922d69cadb14 /src/verbs.cpp
parentsculpt other subpaths too (diff)
downloadinkscape-66c6b3a97b1b1d870e56946718d3c00615f06ff4.tar.gz
inkscape-66c6b3a97b1b1d870e56946718d3c00615f06ff4.zip
Base implementation of a layers dialog.
(bzr r843)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index a5b76d7cf..a046372fc 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -45,7 +45,7 @@
#include "dialogs/iconpreview.h"
#include "dialogs/extensions.h"
#include "dialogs/swatches.h"
-//#include "dialogs/layers-panel.h"
+#include "dialogs/layers-panel.h"
#include "dialogs/input.h"
#ifdef WITH_INKBOARD
@@ -1625,9 +1625,9 @@ DialogVerb::perform(SPAction *action, void *data, void *pdata)
case SP_VERB_DIALOG_EXTENSIONEDITOR:
dt->_dlg_mgr->showDialog("ExtensionEditor");
break;
-// case SP_VERB_DIALOG_LAYERS:
-// show_panel( Inkscape::UI::Dialogs::LayersPanel::getInstance(), "dialogs.layers", SP_VERB_DIALOG_LAYERS );
-// break;
+ case SP_VERB_DIALOG_LAYERS:
+ show_panel( Inkscape::UI::Dialogs::LayersPanel::getInstance(), "dialogs.layers", SP_VERB_DIALOG_LAYERS );
+ break;
default:
break;
}
@@ -2314,8 +2314,8 @@ Verb *Verb::_base_verbs[] = {
N_("Configure extended input devices, such as a graphics tablet"), NULL),
new DialogVerb(SP_VERB_DIALOG_EXTENSIONEDITOR, "org.inkscape.dialogs.extensioneditor", N_("_Extensions..."),
N_("Query information about extensions"), NULL),
-// new DialogVerb(SP_VERB_DIALOG_LAYERS, "DialogLayers", N_("_Layers..."),
-// N_("View Layers"), NULL),
+ new DialogVerb(SP_VERB_DIALOG_LAYERS, "DialogLayers", N_("_Layers..."),
+ N_("View Layers"), NULL),
/* Help */
new HelpVerb(SP_VERB_HELP_KEYS, "HelpKeys", N_("_Keys and Mouse"),