[Glade-users] radio button problems on 3.4.5



On Sun, Jan 4, 2009 at 6:22 AM, Michael Tenenbaum
<mtenenbaum at strategic-techs.com> wrote:
Happy New Year, Tristan.


Happy New Year :)

Please write to glade-users at lists.ximian.com instead of emailing me
directly in the future, it really helps to have this kind of
discussion documented.

I finally got away from v.2 and moved on to v.3.4.5  It crashes like mad,
but that doesn't bother me as much as I keep getting crashes in my software
because of radio buttons like this:


Glade 3.4.5 crashes ? where does it crash for you ?

----------- .xsession-errors (33 sec old) ---------------------
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
(glade-3:31072): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion
`!g_slist_find (group, radio_button)' failed
--------------------------------------------------

I think I'm setting the groups right.  I have five buttons, rb1 grouped to
rb2, rb2 grouped to rb3, ..., rb5 grouped to rb1.

sounds like it should work, but try grouping all radiobutton[2-n] to
radiobutton1,
this is how I've known it to work in the past (things could get hairy
sometimes when
you reorder your radio buttons, since these values are usually set
during the xml parse
serially at load time)... feel free to file an enhancement bug to
remind us to do
radio buttons better.. please :)

Am I doing anything wrong or should I move on to the next gtk and v. 3.5.x?

3.5.x devel release has 2 crashers I know about, one when pressing
enter in some
combination in the signal editor (in bugzilla), the other is
copy/paste across projects,
which I have to fix this week some time... 3.5 will make a big
difference, it will give you
GtkBuilder, but not change radio button handling.

Cheers,
                         -Tristan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]