index a92087668916e16ff5bbb5c942cae455d7b4594e..c2f3426fd26bef2a6df9220d9d99704cba13e88d 100644 (file)
-/**
- * \brief Extension editor dialog
- *
- * Authors:
+/** @file
+ * @brief Extension editor dialog
+ */
+/* Authors:
* Bryce W. Harrington <bryce@bryceharrington.org>
* Ted Gould <ted@gould.cx>
*
a new extension is selected, the notebooks are changed appropriately.
*/
ExtensionEditor::ExtensionEditor()
- : UI::Widget::Panel ("", "dialogs.extensioneditor", SP_VERB_DIALOG_EXTENSIONEDITOR)
+ : UI::Widget::Panel ("", "/dialogs/extensioneditor", SP_VERB_DIALOG_EXTENSIONEDITOR)
{
_notebook_info.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
_notebook_help.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
Inkscape::Extension::db.foreach(dbfunc, this);
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
- Glib::ustring defaultext = prefs->getString("dialogs.extensioneditor", "selected-extension");
+ Glib::ustring defaultext = prefs->getString("/dialogs/extensioneditor/selected-extension");
if (defaultext.empty()) defaultext = "org.inkscape.input.svg";
this->setExtension(defaultext);
/* Set the selection in the preferences */
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
- prefs->setString("dialogs.extensioneditor", "selected-extension", id);
+ prefs->setString("/dialogs/extensioneditor/selected-extension", id);
/* Adjust the dialog's title */
gchar title[500];