diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-04-13 22:04:49 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-04-13 22:04:49 +0000 |
| commit | fe875852760883dd20b6a57b57be50de83e37fc2 (patch) | |
| tree | 60832d184f5899591b918ff551bb561aca6846a1 /src/ui/dialog/guides.cpp | |
| parent | Breton translation update (diff) | |
| download | inkscape-fe875852760883dd20b6a57b57be50de83e37fc2.tar.gz inkscape-fe875852760883dd20b6a57b57be50de83e37fc2.zip | |
add expression evaluator for spinbox input boxes. also knows a little about units.
needs more work to fully integrate it in all of inkscape spinboxes
also needs documentation rework
(bzr r10162)
Diffstat (limited to 'src/ui/dialog/guides.cpp')
| -rw-r--r-- | src/ui/dialog/guides.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ui/dialog/guides.cpp b/src/ui/dialog/guides.cpp index 619b6fb16..fd64a713f 100644 --- a/src/ui/dialog/guides.cpp +++ b/src/ui/dialog/guides.cpp @@ -194,9 +194,7 @@ void GuidelinePropertiesDialog::_setup() { sp_unit_selector_add_adjustment(SP_UNIT_SELECTOR(unit_selector), GTK_ADJUSTMENT(_adjustment_x.gobj())); sp_unit_selector_add_adjustment(SP_UNIT_SELECTOR(unit_selector), GTK_ADJUSTMENT(_adjustment_y.gobj())); _spin_button_x.configure(_adjustment_x, 1.0 , 3); - _spin_button_x.set_numeric(); _spin_button_y.configure(_adjustment_y, 1.0 , 3); - _spin_button_y.set_numeric(); _layout_table.attach(_label_X, 1, 2, 4, 5, Gtk::EXPAND | Gtk::FILL, Gtk::FILL); _layout_table.attach(_spin_button_x, @@ -213,7 +211,6 @@ void GuidelinePropertiesDialog::_setup() { // angle spinbutton _spin_angle.configure(_adj_angle, 5.0 , 3); - _spin_angle.set_numeric(); _spin_angle.show(); _layout_table.attach(_label_degrees, 1, 2, 8, 9, Gtk::EXPAND | Gtk::FILL, Gtk::FILL); |
