X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fverbs.cpp;h=a046372fc0a7fac513d4384daff24d5e6b1b500f;hb=d88d2aa6894cc84f414fbdb64899673c66bc52c1;hp=a5b76d7cfc34ef87ca65d51286771cd7d42b8799;hpb=279970d5316af587ed25180c8a4d3eb97278e9e4;p=inkscape.git 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"),