libglade-to-gtkbuilder
OverView
Specification page for Luciole blueprint dedicated to replace of Libglade by gtk.builder.
The goal is to have a native usage of gtk.builder
- In glade tool use gtk builder instead of libglade
- remove usage gtk-builder-convert ( cf . Makefile)
- Update code to call the correct gui file
Reorganise all the UI due to horizontal/verfical info missing . see Bug #425221
Remove usage of gtkUiManager as is not used by glade/Gtk.Builder but by gtk-builder-convert. see Bug #490701
- Create an ui dir for storing the ui file and update ui file with the correct link to images
- Update the translation stuff with those new ui
- TBC : Add an UI file by window ? To clarify the organisation of UI. Needs brainstorm
Specification
In / Outs
Inputs
The luciole.glade file in images dirs
Output
N/A
GUI
Refactor the GUI . Major work
- Reorganise all the UI due to horizontal/verfical info missing .
- Rewite all the menu widgets
- set correct path for images in ../images
Translation
Update translation directives. Needs spec work
- Update po/POTFILES.in : add
Details
No further details
Implementation
create an ui dir.
- dir for storing ui files ( gtk.Builder xml specification)
move the luciole.glade file
- in ui/luciole.glade ( keep the extension for i18n : xgettext interprets correctly .glade files not .ui files )
modify lucioLib/gui/gui_controller.py
- update path to ui/luciole.ui
correct/rename attribute ui_manager for getting MenuItem instead of UiMangager. Used for manage of "open recent" stuff
modify lucioLib/luciole_manage_recent.py
- remove usage of uiManager
update Makefile
- remove directive gui
- update install and make-install-dirs with new ui dir.
remove LibGlade files
- remove images/luciole.glade
- remove images/luciole.xml
modify po/POTFILES.in
change images/luciole.glade by ui/luciole.glade
luciole/libglade-to-gtkbuilder (last edited 2009-12-02 10:51:14 by pub39-74)