diff options
author | Katarina Behrens <bubli@bubli.org> | 2014-06-09 23:51:28 +0200 |
---|---|---|
committer | Katarina Behrens <bubli@bubli.org> | 2014-06-10 00:04:59 +0200 |
commit | 64992cc56e0e8a480e33b847d3a327f8229535d2 (patch) | |
tree | 7064b10503172c5f88a6dffad72bcb265e4ac706 /sd/uiconfig/sdraw/ui | |
parent | fed6ed72db070db146eb18613e99904a9e368356 (diff) |
fdo#77987, part 1: set min&max values of spinboxes
by attaching adjustments to them. This restores pre-ui behaviour,
as without proper initial minimum value, one can't enter values < 0
into the dialog
I just copied the numbers as they were in .src file, but they were
prolly completely made up (and they're adjusted later anyway
according to size/position of workspace)
Change-Id: Ic09fdd9e947f04d6f2151e9d7a8714f4f1d29552
Diffstat (limited to 'sd/uiconfig/sdraw/ui')
-rw-r--r-- | sd/uiconfig/sdraw/ui/dlgsnap.ui | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sd/uiconfig/sdraw/ui/dlgsnap.ui b/sd/uiconfig/sdraw/ui/dlgsnap.ui index 335eec11c4e4..f671d40fe7e9 100644 --- a/sd/uiconfig/sdraw/ui/dlgsnap.ui +++ b/sd/uiconfig/sdraw/ui/dlgsnap.ui @@ -1,6 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> <!-- interface-requires gtk+ 3.0 --> + <object class="GtkAdjustment" id="adjustment1"> + <property name="lower">-5000000</property> + <property name="upper">5000000</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + <object class="GtkAdjustment" id="adjustment2"> + <property name="lower">-5000000</property> + <property name="upper">5000000</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> <object class="GtkDialog" id="SnapObjectDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> @@ -113,6 +125,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> + <property name="adjustment">adjustment1</property> <property name="digits">2</property> </object> <packing> @@ -127,6 +140,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> + <property name="adjustment">adjustment2</property> <property name="digits">2</property> </object> <packing> |