From: Jon A. Cruz Date: Sat, 3 Apr 2010 06:18:15 +0000 (-0700) Subject: Repair arbitrary change lumped in with Win32 fixes of #9281. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=79b04cd4918cb9f9ba107914fcc7b6e5ca0324d1;p=inkscape.git Repair arbitrary change lumped in with Win32 fixes of #9281. --- diff --git a/src/ui/dialog/glyphs.cpp b/src/ui/dialog/glyphs.cpp index c099b0718..6cced05c5 100644 --- a/src/ui/dialog/glyphs.cpp +++ b/src/ui/dialog/glyphs.cpp @@ -159,8 +159,8 @@ GlyphColumns *GlyphsPanel::getColumns() /** * Constructor */ -GlyphsPanel::GlyphsPanel() : - Inkscape::UI::Widget::Panel("", "/dialogs/glyphs", SP_VERB_DIALOG_GLYPHS, "", false), +GlyphsPanel::GlyphsPanel(gchar const *prefsPath) : + Inkscape::UI::Widget::Panel("", prefsPath, SP_VERB_DIALOG_GLYPHS, "", false), store(Gtk::ListStore::create(*getColumns())), iconView(0), entry(0), diff --git a/src/ui/dialog/glyphs.h b/src/ui/dialog/glyphs.h index e41472e24..ffd5757b0 100644 --- a/src/ui/dialog/glyphs.h +++ b/src/ui/dialog/glyphs.h @@ -44,7 +44,7 @@ class GlyphColumns; class GlyphsPanel : public Inkscape::UI::Widget::Panel { public: - GlyphsPanel(); + GlyphsPanel(gchar const *prefsPath = "/dialogs/glyphs"); virtual ~GlyphsPanel(); static GlyphsPanel& getInstance();