diff --git a/src/verbs.cpp b/src/verbs.cpp
index 66792ae410a1b8f5babd2e1947d184188ad9196b..a046372fc0a7fac513d4384daff24d5e6b1b500f 100644 (file)
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
#include "dialogs/iconpreview.h"
#include "dialogs/extensions.h"
#include "dialogs/swatches.h"
+#include "dialogs/layers-panel.h"
#include "dialogs/input.h"
#ifdef WITH_INKBOARD
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;
default:
break;
}
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),
/* Help */
new HelpVerb(SP_VERB_HELP_KEYS, "HelpKeys", N_("_Keys and Mouse"),
N_("Fit the canvas to the current selection or the drawing if there is no selection"), NULL),
/* Footer */
- new Verb(SP_VERB_LAST, NULL, NULL, NULL, NULL)
+ new Verb(SP_VERB_LAST, " '\"invalid id", NULL, NULL, NULL)
};