X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Fextension-editor.h;h=fe171f60c163168b326cb6ac4f8bb8004c541ab9;hb=9acbda558d50be3b21e4b384be758bc12a461072;hp=7fb6e87a53481418af814449675cc9e88267f55a;hpb=7e206f11b47463901c9b952cfe766566d1a3acc3;p=inkscape.git diff --git a/src/ui/dialog/extension-editor.h b/src/ui/dialog/extension-editor.h index 7fb6e87a5..fe171f60c 100644 --- a/src/ui/dialog/extension-editor.h +++ b/src/ui/dialog/extension-editor.h @@ -1,7 +1,7 @@ -/** - * \brief Extension editor - * - * Authors: +/** @file + * @brief Extension editor dialog + */ +/* Authors: * Bryce W. Harrington * Ted Gould * @@ -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 @@ -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); @@ -58,20 +58,11 @@ protected: PageListModelColumns() { Gtk::TreeModelColumnRecord::add(_col_name); Gtk::TreeModelColumnRecord::add(_col_id); - Gtk::TreeModelColumnRecord::add(_col_info); - Gtk::TreeModelColumnRecord::add(_col_help); - Gtk::TreeModelColumnRecord::add(_col_params); } /** \brief Name of the extension */ Gtk::TreeModelColumn _col_name; /** \brief ID of the extension */ Gtk::TreeModelColumn _col_id; - /** \brief Info widget for the extension (NULL if unset) */ - Gtk::TreeModelColumn _col_info; - /** \brief Help widget for the extension (NULL if unset) */ - Gtk::TreeModelColumn _col_help; - /** \brief Parameters list of the extension (NULL if unset) */ - Gtk::TreeModelColumn _col_params; }; PageListModelColumns _page_list_columns;