Use GtkBuilder instead of Glade

Bug #660404 reported by onox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Recipe Manager
New
Undecided
Unassigned

Bug Description

I just saw a post about this project on planet gnome and took a quick look at the code. It seems recipemanager.glade is a glade file, and I think glade is kinda deprecated :p So convert it to gtkbuilder and give it a .ui extension.

Then construct a gtk.Builder object:

wtree = gtk.Builder()
wtree.add_from_file(UI_FILE)

Then replace the get_widget calls by get_object.

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

So it's basically just asking the glade app to save into the new gtkbuilder format and then do what you said above? It's that simple?

Revision history for this message
onox (onox) wrote :

I guess, yes. At least it was when I converted my Awn applets. See http://library.gnome.org/devel/gtk/2.22/gtk-migrating-GtkBuilder.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.