/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: Jasper Groenewegen
  • Date: 2008-07-22 22:25:30 UTC
  • mfrom: (560.4.1 gannotate-unknown)
  • Revision ID: colbrac@xs4all.nl-20080722222530-mybfmzasbrvkjh9z
Merge of check if file is versioned before opening gannotate in olive

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
        
199
199
        branch = wt.branch
200
200
        file_id = wt.path2id(wt.relpath(os.path.join(directory, filename)))
201
 
        
 
201
        if file_id is None:
 
202
            raise errors.NotVersionedError(filename)
202
203
        window = GAnnotateWindow(all=False, plain=False, parent=self.app)
203
204
        window.set_title(os.path.join(directory, filename) + " - Annotate")
204
205
        config = GAnnotateConfig(window)