Posted: Thu 31 Jan 2013, 19:39
Hey, thanks a lot for confirmation, Rolf.
But it still bugs me I can't recreate this.
Anyway, before I replace v1.6 with v1.6.1 in the first post officially, I'd like to test one more thing.
Rolf, if you have a couple of minutes to spare - could you check out this piece of code?
First dialog (taken from v1.6) should produce the above error...but how about subsequent ones..?
Also, there's official spinbutton example script which also works fine for me.
Thanks again & Greetings!
But it still bugs me I can't recreate this.
Anyway, before I replace v1.6 with v1.6.1 in the first post officially, I'd like to test one more thing.
Rolf, if you have a couple of minutes to spare - could you check out this piece of code?
First dialog (taken from v1.6) should produce the above error...but how about subsequent ones..?
Also, there's official spinbutton example script which also works fine for me.
Code: Select all
#!/bin/bash
# This one should invoke GTK error
export MAIN_1='
<window>
<vbox>
<text><label>FIRST DIALOG</label></text>
<hbox>
<spinbutton range-max="100" range-step="1">
<variable>SW</variable>
<default>1</default>
</spinbutton>
<spinbutton range-max="1.0" range-step="0.01">
<variable>OPAC</variable>
<default>1.0</default>
</spinbutton>
</hbox>
<button><label>Next one please</label></button>
</vbox>
</window>'
# How about this one?
export MAIN_2='
<window>
<vbox>
<text><label>SECOND DIALOG</label></text>
<hbox>
<spinbutton range-max="100" range-step="1">
<variable>SW</variable>
<default>1</default>
</spinbutton>
<spinbutton range-max="1.00" range-step="0.01">
<variable>OPAC</variable>
<default>1.00</default>
</spinbutton>
</hbox>
<button><label>Next one please</label></button>
</vbox>
</window>'
# And finally how about that one...
export MAIN_3='
<window>
<vbox>
<text><label>THIRD DIALOG</label></text>
<hbox>
<spinbutton range-value="1" range-min="0" range-max="100" range-step="1">
<variable>SW</variable>
</spinbutton>
<spinbutton range-value="1.00" range-min="0.00" range-max="1.00" range-step="0.01">
<variable>OPAC</variable>
</spinbutton>
</hbox>
<button ok></button>
</vbox>
</window>'
gtkdialog -p MAIN_1
gtkdialog -p MAIN_2
gtkdialog -p MAIN_3