/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: Sabin Iacob (m0n5t3r)
  • Date: 2008-05-29 09:48:48 UTC
  • mto: This revision was merged to the branch mainline in revision 499.
  • Revision ID: iacobs@m0n5t3r.info-20080529094848-wvr1opflqclhjuur
gracefully handle old versions of dbus-python (it appears that DBusException.get_bus_name was introduced in 0.81.1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
                         _i18n('Please select a file from the list,\nor choose the other option.'))
180
180
            return
181
181
        
182
 
        wt, path = WorkingTree.open_containing(os.path.join(directory, filename))
183
 
        wt.add([path])
 
182
        bzrlib.add.smart_add([os.path.join(directory, filename)])
184
183
    
185
184
    @show_bzr_error
186
185
    def annotate(self, action):