73 |
73 |
74 It enables/disables the VCS menu entries depending on the overall |
74 It enables/disables the VCS menu entries depending on the overall |
75 VCS status and the file status. |
75 VCS status and the file status. |
76 |
76 |
77 @param menu reference to the menu to be shown |
77 @param menu reference to the menu to be shown |
78 @param standardItems array of standard items that need |
78 @param standardItems array of standard items that need |
79 activation/deactivation depending on the overall VCS status |
79 activation/deactivation depending on the overall VCS status |
80 @exception RuntimeError to indicate that this method must be |
80 @exception RuntimeError to indicate that this method must be |
81 implemented by a subclass |
81 implemented by a subclass |
82 """ |
82 """ |
83 raise RuntimeError('Not implemented') |
83 raise RuntimeError('Not implemented') |
281 ProjectBrowserDirectoryItem]) |
281 ProjectBrowserDirectoryItem]) |
282 if isRemoveDirs: |
282 if isRemoveDirs: |
283 names = [itm.dirName() for itm in items] |
283 names = [itm.dirName() for itm in items] |
284 else: |
284 else: |
285 names = [itm.fileName() for itm in items] |
285 names = [itm.fileName() for itm in items] |
286 files = [self.browser.project.getRelativePath(name) \ |
286 files = [self.browser.project.getRelativePath(name) |
287 for name in names] |
287 for name in names] |
288 |
288 |
289 dlg = DeleteFilesConfirmationDialog( |
289 dlg = DeleteFilesConfirmationDialog( |
290 self.parent(), |
290 self.parent(), |
291 self.trUtf8("Remove from repository (and disk)"), |
291 self.trUtf8("Remove from repository (and disk)"), |