diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-04-11 19:20:20 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-04-11 19:20:20 +0000 |
| commit | ae45a98ae609d27cf5cf8471c2cea685bde5da70 (patch) | |
| tree | 5ed81c53c032092299a5315f9203bcd565511e68 /src/ui/widget/preferences-widget.h | |
| parent | revert silly error in r10147 (diff) | |
| download | inkscape-ae45a98ae609d27cf5cf8471c2cea685bde5da70.tar.gz inkscape-ae45a98ae609d27cf5cf8471c2cea685bde5da70.zip | |
Use the subclassed SpinButton class for numeric inputs, such that '.' and ',' both can be used as decimal point.
(related to bug 484187)
(bzr r10159)
Diffstat (limited to 'src/ui/widget/preferences-widget.h')
| -rw-r--r-- | src/ui/widget/preferences-widget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h index 6c7f9ce4a..4cd2ff569 100644 --- a/src/ui/widget/preferences-widget.h +++ b/src/ui/widget/preferences-widget.h @@ -32,6 +32,7 @@ #include "ui/widget/color-picker.h" #include "ui/widget/unit-menu.h" +#include "ui/widget/spinbutton.h" namespace Inkscape { namespace UI { @@ -68,7 +69,7 @@ protected: void on_toggled(); }; -class PrefSpinButton : public Gtk::SpinButton +class PrefSpinButton : public SpinButton { public: void init(Glib::ustring const &prefs_path, |
