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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-01-30 11:33:28 UTC
  • mto: (157.1.2 trunk) (170.1.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 138.
  • Revision ID: szilveszter.farkas@gmail.com-20070130113328-0rkiwk3c8ch77vha
Allow to commit single files from the context menu (Fixed: #54983)

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
            branch = wt.branch
203
203
        except NotBranchError, e:
204
204
            path = e.path
205
 
        commit = CommitDialog(wt, path, not branch)
206
 
        commit.display()
 
205
        
 
206
        commit = CommitDialog(wt, path, not branch, self.selected)
 
207
        response = commit.run()
 
208
        if response != gtk.RESPONSE_NONE:
 
209
            commit.hide()
 
210
        
 
211
            if response == gtk.RESPONSE_OK:
 
212
                self.app.refresh_right()
 
213
            
 
214
            commit.destroy()
207
215
    
208
216
    @show_bzr_error
209
217
    def diff(self, action):