Code

r10951@tres: ted | 2006-02-16 08:56:41 -0800
authorgouldtj <gouldtj@users.sourceforge.net>
Wed, 29 Mar 2006 05:40:18 +0000 (05:40 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Wed, 29 Mar 2006 05:40:18 +0000 (05:40 +0000)
 Adding an Extension Editor verb.  (though I don't really like the name
 extension editor)

src/verbs.cpp
src/verbs.h

index a700a3ad2b814e415866d54f45d598938ace76d1..9cfe33ddab57071edd14648c4b96f02845c31ddb 100644 (file)
@@ -1620,6 +1620,9 @@ DialogVerb::perform(SPAction *action, void *data, void *pdata)
         case SP_VERB_DIALOG_INPUT:
             sp_input_dialog();
             break;
+        case SP_VERB_DIALOG_EXTENSIONEDITOR:
+            dt->_dlg_mgr->showDialog("ExtensionEditor");
+            break;
         default:
             break;
     }
@@ -2231,6 +2234,8 @@ Verb *Verb::_base_verbs[] = {
 #endif
     new DialogVerb(SP_VERB_DIALOG_INPUT, "DialogInput", N_("_Input Devices..."),
                    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),
 
     /* Help */
     new HelpVerb(SP_VERB_HELP_KEYS, "HelpKeys", N_("_Keys and Mouse"),
index 2b4c952e9c9c590c11cd129dbad3854f9955da3a..521fdabaf5816df8aa70d40505bc015a047b22ce 100644 (file)
@@ -206,6 +206,7 @@ enum {
        SP_VERB_DIALOG_WHITEBOARD_DISCONNECT_FROM_SERVER,
 #endif
     SP_VERB_DIALOG_INPUT,
+    SP_VERB_DIALOG_EXTENSIONEDITOR,
     /* Help */
     SP_VERB_HELP_KEYS,
     SP_VERB_HELP_ABOUT_EXTENSIONS,