Code

Add option to align & distribute dialog to treat the selection as a group (closes...
[inkscape.git] / src / ui / dialog / extension-editor.h
index b6c331eae5796a015ae12d32c01eba41cc6dc671..cfda36856b5ea11233f89f44b75759c0fb9b9caf 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
 #define INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
 
-#include "dialog.h"
+#include "ui/widget/panel.h"
 
 #include <glibmm/i18n.h>
 
@@ -29,12 +29,12 @@ namespace Inkscape {
 namespace UI {
 namespace Dialog {
 
-class ExtensionEditor : public Dialog {
+class ExtensionEditor : public UI::Widget::Panel {
 public:
     ExtensionEditor();
     virtual ~ExtensionEditor();
 
-    static ExtensionEditor *create() { return new ExtensionEditor(); }
+    static ExtensionEditor &getInstance() { return *new ExtensionEditor(); }
 
     static void show_help (gchar const * extension_id);