GNOME Bugzilla – Bug 577940
Port to GtkBuilder
Last modified: 2009-04-07 20:30:07 UTC
See attached patch.
Created attachment 132083 [details] [review] port to GtkBuilder
Please note that I will modify the po/POTFILES.in list after committing, as another similar patch for gnome-dictionary is pending and I didn't want to mix up changes in the same file.
the patch looks ok from a quick review (I did not test it!)... if you wanted to go one extra step with the effort, I'd really like to take the chance to clean uo the code a bit and just use gtkbuilder as a private "one shot" object and store the actual widgets in the main struct
Committed to trunk after we talked about this on IRC. We can do the cleanup later in a follow-up. 2009-04-07 Cosimo Cecchi <cosimoc@gnome.org> * data/Makefile.am: * data/baobab.glade: * src/Makefile.am: * src/baobab-prefs.c (create_props), (create_tree_props): * src/baobab-treeview.c (create_directory_treeview): * src/baobab-utils.c (set_ui_action_sens), (set_ui_widget_sens), (show_label): * src/baobab-utils.h: * src/baobab.c (check_menu_sens), (baobab_scan_location), (set_toolbar_visible), (set_statusbar_visible), (baobab_create_toolbar), (baobab_create_statusbar), (baobab_init), (initialize_ringschart), (main): * src/baobab.h: * src/callbacks.c (on_view_sb_activate): * src/callbacks.h: Port to GtkBuilder (#577940).
Cosimo, thank you very much for your cooperation.