- Substitute old "inf" values in Adjustements with

a maximum of ~65000. This should make .glade files
compatible with glade3.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1228 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-17 13:45:47 +00:00
parent b976aaaa34
commit b1034d2589
6 changed files with 9 additions and 11 deletions

View File

@ -192,7 +192,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 0 0</property>
<property name="adjustment">0 0 65536 1 0 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
@ -213,7 +213,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 0 0</property>
<property name="adjustment">0 0 65536 1 0 0</property>
</widget>
<packing>
<property name="left_attach">1</property>

View File

@ -114,7 +114,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 0 0</property>
<property name="adjustment">0 0 65536 1 0 0</property>
</widget>
<packing>
<property name="padding">0</property>
@ -236,7 +236,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">1 1 inf 1 0 0</property>
<property name="adjustment">1 1 65536 1 0 0</property>
</widget>
<packing>
<property name="left_attach">1</property>

View File

@ -86,7 +86,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">1 1 inf 1 0 0</property>
<property name="adjustment">1 1 65536 1 0 0</property>
</widget>
<packing>
<property name="left_attach">1</property>

View File

@ -86,7 +86,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 0 0</property>
<property name="adjustment">0 0 65536 1 0 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
@ -107,7 +107,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 0 0</property>
<property name="adjustment">0 0 65536 1 0 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
@ -128,7 +128,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">1 1 inf 1 0 0</property>
<property name="adjustment">1 1 65536 1 0 0</property>
</widget>
<packing>
<property name="left_attach">1</property>

View File

@ -442,7 +442,7 @@
<widget class="GtkSpinButton" id="BottomHBox.JumpToSpin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment">0 0 inf 1 10 10</property>
<property name="adjustment">0 0 65536 1 10 10</property>
<property name="climb_rate">1</property>
</widget>
<packing>

View File

@ -76,8 +76,6 @@ JumpToDialog::start()
show();
_progress->set_fraction(0.0);
assert(_target_instant >= 0);
Simulation& sim = Simulation::get_instance();
History& h = sim.get_history();