summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/preferences-widget.h
diff options
context:
space:
mode:
authortheAdib <theAdib@users.sourceforge.net>2008-12-30 20:33:13 +0000
committertheAdib <theAdib@users.sourceforge.net>2008-12-30 20:33:13 +0000
commit1f07bdde2ff2aa9d4695648a4a6de2c9b752eea6 (patch)
tree8322dcad9a8be248af22f341e92c46452b9bc3e5 /src/ui/widget/preferences-widget.h
parentRemove some obsolete from_2geom() calls (diff)
downloadinkscape-1f07bdde2ff2aa9d4695648a4a6de2c9b752eea6.tar.gz
inkscape-1f07bdde2ff2aa9d4695648a4a6de2c9b752eea6.zip
add possibility to change the UI language (gettext) in preferences dialogue
(bzr r7044)
Diffstat (limited to 'src/ui/widget/preferences-widget.h')
-rw-r--r--src/ui/widget/preferences-widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h
index 1576184ac..6c4533451 100644
--- a/src/ui/widget/preferences-widget.h
+++ b/src/ui/widget/preferences-widget.h
@@ -144,9 +144,12 @@ class PrefCombo : public Gtk::ComboBoxText
public:
void init(Glib::ustring const &prefs_path,
Glib::ustring labels[], int values[], int num_items, int default_value);
+ void init(Glib::ustring const &prefs_path,
+ Glib::ustring labels[], Glib::ustring values[], int num_items, Glib::ustring default_value);
protected:
Glib::ustring _prefs_path;
std::vector<int> _values;
+ std::vector<Glib::ustring> _ustr_values; ///< string key values used optionally instead of numeric _values
void on_changed();
};