/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/__init__.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-01-29 16:59:02 UTC
  • mto: (157.1.2 trunk) (170.1.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 130.
  • Revision ID: szilveszter.farkas@gmail.com-20070129165902-ab7r22fb02muwcj2
New Commit dialog implementation (no more Glade).

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
    
229
229
    def on_menuitem_branch_commit_activate(self, widget):
230
230
        """ Branch/Commit... menu handler. """
231
 
        from commit import CommitDialog
232
 
        commit = CommitDialog(self.wt, self.wtpath, self.notbranch)
233
 
        commit.display()
 
231
        from commit import CommitDialogNew
 
232
        commit = CommitDialogNew(self.wt, self.wtpath, self.notbranch, self.get_selected_right(), self.window)
 
233
        response = commit.run()
 
234
        if response != gtk.RESPONSE_NONE:
 
235
            commit.hide()
 
236
        
 
237
            if response == gtk.RESPONSE_OK:
 
238
                self.refresh_right()
 
239
            
 
240
            commit.destroy()
234
241
    
235
242
    def on_menuitem_branch_merge_activate(self, widget):
236
243
        """ Branch/Merge... menu handler. """