Code

family name field on svgfonts dialog now properly saves attribute. Should do the...
[inkscape.git] / src / ui / dialog / scriptdialog.h
index b66aa93e79cf0b3dfc098952c2b0ae9ddcc08373..780d44a92500accee5f45332eed6ff0a503fe24e 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 
-#include "dialog.h"
+#include "ui/widget/panel.h"
 #include "verbs.h"
 
 namespace Inkscape {
@@ -25,7 +25,7 @@ namespace Dialog {
 /**
  * A script editor, loader, and executor
  */
-class ScriptDialog : public Dialog
+class ScriptDialog : public UI::Widget::Panel
 {
 
     public:
@@ -34,14 +34,15 @@ class ScriptDialog : public Dialog
     /**
      * Constructor
      */
-    ScriptDialog() : Dialog ("dialogs.script", SP_VERB_DIALOG_SCRIPT)
+    ScriptDialog() : 
+     UI::Widget::Panel("", "dialogs.script", SP_VERB_DIALOG_SCRIPT)
     {}
 
 
     /**
      * Factory method
      */
-    static ScriptDialog *create();
+    static ScriptDialog &getInstance();
 
     /**
      * Destructor