diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2006-05-07 01:10:26 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2006-05-07 01:10:26 +0000 |
| commit | 3ac2d5a51d3fa2bb688bdd385aafdd2636ad8847 (patch) | |
| tree | 9ca063cea73bf82979aa75dcc2c47361cd46f23e /src/verbs.cpp | |
| parent | clean up loudmouth link (diff) | |
| download | inkscape-3ac2d5a51d3fa2bb688bdd385aafdd2636ad8847.tar.gz inkscape-3ac2d5a51d3fa2bb688bdd385aafdd2636ad8847.zip | |
Fixed problem with std::map use making last verb inaccessible.
(bzr r756)
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp index 66792ae41..a5b76d7cf 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -45,6 +45,7 @@ #include "dialogs/iconpreview.h" #include "dialogs/extensions.h" #include "dialogs/swatches.h" +//#include "dialogs/layers-panel.h" #include "dialogs/input.h" #ifdef WITH_INKBOARD @@ -1624,6 +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; default: break; } @@ -2310,6 +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), /* Help */ new HelpVerb(SP_VERB_HELP_KEYS, "HelpKeys", N_("_Keys and Mouse"), @@ -2355,7 +2361,7 @@ Verb *Verb::_base_verbs[] = { 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) }; |
