You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Gnome itself is moving away from libglade,
eventually it needs to be done.
After the recent change (one, that made ids
unique inside toplevel), I simply open the glade file
in glade-3 and use auto-conversion with gtk+ compatibility
set to 2.16. (I save the file as snes9x-0.glade so it doesn't
overwrite the version in the tree), then use attached patch
(this one, as you may see is for rev236).
After putting that file in /usr/share/snes9x, it seems to work correctly.
Patch needs some polish though - i.e. block with gtk_accel_groups_from_object
is a giant hack - I simply take the first GtkAccelGroup I come upon,
technically a toplevel may have more than one group.
GtkComboBoxes are done that way, as I decided not to bother with
figuring out how to make _text versions work properly.
Original issue reported on code.google.com by [email protected] on 4 Jan 2010 at 11:46
I've committed the base change to GtkBuilder now. As you mentioned, this
obviously
requires GTK+ 2.16. I haven't added a new preferences design yet, though.
The accel groups "hack" you mentioned isn't a hack, since we decide how many
groups
there will be and only create one.
I'm not sure what problem you had with the combo boxes, as the text versions
seem to
work fine here without any changes.
Original issue reported on code.google.com by
[email protected]
on 4 Jan 2010 at 11:46Attachments:
The text was updated successfully, but these errors were encountered: