Code

family name field on svgfonts dialog now properly saves attribute. Should do the...
[inkscape.git] / src / ui / dialog / scriptdialog.h
index 00680d4312330410d134e3e775c6777b35ee65c0..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,15 +34,15 @@ class ScriptDialog : public Dialog
     /**
      * Constructor
      */
-    ScriptDialog(Behavior::BehaviorFactory behavior_factory) : 
-     Dialog (behavior_factory, "dialogs.script", SP_VERB_DIALOG_SCRIPT)
+    ScriptDialog() : 
+     UI::Widget::Panel("", "dialogs.script", SP_VERB_DIALOG_SCRIPT)
     {}
 
 
     /**
      * Factory method
      */
-    static ScriptDialog *create(Behavior::BehaviorFactory behavior_factory);
+    static ScriptDialog &getInstance();
 
     /**
      * Destructor