I have a branch on LP (lp:~colbrac/bzr-gtk/noglade) where I try to gut out all the glade out of olive. The current state is that all dialogs except the info dialog are done in olivedialogs.py. (Merge from the bundle posted to this list) The main window is completely implemented as an OliveGui class and resides in olivegui.py. Besides that I merged in most of the bundles I pushed to this list over the last days so it has sorted bookmarks, etc.

Only thing left to do: Replace some menu items with iconified versions. And making sure that the current icons path is The Right Way (tm). The changes to the current olive/__init__.py file to use the OliveGui is mostly ripping out the signal translation list and directly mapping all those self.menuitem_bla* to self.window.menuitem_bla*. I pass the OliveGtk to OliveGui as 'self.signal'. So now all the widgets in OliveGui directly connect signals to methods in OliveGtk.

When this dust cloud settles, all those on_menuitem_bla_dibla_activated methods could be changed to something a little more compact and describing what it does instead of when it runs. But that is my just my feeling. :) Also, the self.menuitem_bla* references could be replaced with self.window.menuitem_bla items.

Other changes that can be done are:
-Changing history entry to use the activate signal, picking a history from the list should automatically switch to that history version. -Harder to do: Implement those right mouse button functions for the history view -Change the left TreeView to not have a Bookmarks parent and folder icons next to the entries
-More short-cut keys by extending the Accelgroup introduced in the OliveGui.

Please give the branch a try, and if someone wants to take on that monster of an info dialog I'd love to recieve a patch. :)

Jasper

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
bzr-gtk mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.canonical.com/mailman/listinfo/bzr-gtk

Reply via email to