/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/frontend/gtk/handler.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-07-18 15:33:52 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060718153352-2f5f03d4b618d41a
2006-07-18  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * olive/backend/init.py: added NotBranchError handling to branch()
    * olive/frontend/gtk/__init__.py: added OliveCommunication class
    * olive/frontend/gtk/branch.py: finished implementation of Branch window

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
class OliveHandler:
34
34
    """ Signal handler class for Olive. """
35
 
    def __init__(self, gladefile):
 
35
    def __init__(self, gladefile, comm):
36
36
        self.gladefile = gladefile
 
37
        self.comm = comm
 
38
        
37
39
        self.dialog = OliveDialog(self.gladefile)
38
40
    
39
41
    def on_about_activate(self, widget):
40
42
        self.dialog.about()
41
43
        
42
44
    def on_menuitem_branch_branch_activate(self, widget):
43
 
        branch = OliveBranch(self.gladefile)
 
45
        branch = OliveBranch(self.gladefile, self.comm)
44
46
        branch.display()
45
47
    
46
48
    def not_implemented(self, widget):