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

  • Committer: Jelmer Vernooij
  • Date: 2006-09-05 01:08:34 UTC
  • mto: (0.8.83 merge)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060905010834-93a42bcfcbe57d6c
Remove mkdir, add, rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
except:
29
29
    sys.exit(1)
30
30
 
31
 
import olive.backend.fileops as fileops
32
31
import bzrlib.errors as errors
33
32
 
34
33
class OliveMenu:
134
133
            return
135
134
        
136
135
        try:
137
 
            fileops.add([directory + '/' + filename])
 
136
            bzrlib.add.smart_add([directory + '/' + filename])
138
137
        except errors.NotBranchError:
139
138
            self.dialog.error_dialog(_('Directory is not a branch'),
140
139
                                     _('You can perform this action only in a branch.'))
141
140
            return
142
 
        except:
143
 
            raise
144
141
        
145
142
        self.comm.refresh_right()
146
143