555 |
555 |
556 def __GitConfigure(self): |
556 def __GitConfigure(self): |
557 """ |
557 """ |
558 Private method to open the configuration dialog. |
558 Private method to open the configuration dialog. |
559 """ |
559 """ |
560 e5App().getObject("UserInterface")\ |
560 e5App().getObject("UserInterface").showPreferences("zzz_gitPage") |
561 .showPreferences("zzz_gitPage") |
|
562 |
561 |
563 def __GitForget(self): |
562 def __GitForget(self): |
564 """ |
563 """ |
565 Private slot called by the context menu to remove the selected file |
564 Private slot called by the context menu to remove the selected file |
566 from the Git repository leaving a copy in the project directory. |
565 from the Git repository leaving a copy in the project directory. |
567 """ |
566 """ |
568 from UI.DeleteFilesConfirmationDialog import \ |
567 from UI.DeleteFilesConfirmationDialog import ( |
569 DeleteFilesConfirmationDialog |
568 DeleteFilesConfirmationDialog |
|
569 ) |
570 if self.isTranslationsBrowser: |
570 if self.isTranslationsBrowser: |
571 items = self.browser.getSelectedItems([ProjectBrowserFileItem]) |
571 items = self.browser.getSelectedItems([ProjectBrowserFileItem]) |
572 names = [itm.fileName() for itm in items] |
572 names = [itm.fileName() for itm in items] |
573 |
573 |
574 dlg = DeleteFilesConfirmationDialog( |
574 dlg = DeleteFilesConfirmationDialog( |