113 else: |
113 else: |
114 for act in self.vcsMultiMenuActions: |
114 for act in self.vcsMultiMenuActions: |
115 act.setEnabled(False) |
115 act.setEnabled(False) |
116 for act in self.vcsAddMultiMenuActions: |
116 for act in self.vcsAddMultiMenuActions: |
117 act.setEnabled(True) |
117 act.setEnabled(True) |
118 if 1 in self.browser.specialMenuEntries and \ |
118 if ( |
119 self.__itemsHaveFiles(items): |
119 1 in self.browser.specialMenuEntries and |
|
120 self.__itemsHaveFiles(items) |
|
121 ): |
120 self.vcsMultiMenuAddTree.setEnabled(False) |
122 self.vcsMultiMenuAddTree.setEnabled(False) |
121 for act in standardItems: |
123 for act in standardItems: |
122 act.setEnabled(True) |
124 act.setEnabled(True) |
123 |
125 |
124 def showContextMenuDir(self, menu, standardItems): |
126 def showContextMenuDir(self, menu, standardItems): |
940 |
942 |
941 def __SVNConfigure(self): |
943 def __SVNConfigure(self): |
942 """ |
944 """ |
943 Private method to open the configuration dialog. |
945 Private method to open the configuration dialog. |
944 """ |
946 """ |
945 e5App().getObject("UserInterface")\ |
947 e5App().getObject("UserInterface").showPreferences( |
946 .showPreferences("zzz_subversionPage") |
948 "zzz_subversionPage") |
947 |
949 |
948 def __SVNAddToChangelist(self): |
950 def __SVNAddToChangelist(self): |
949 """ |
951 """ |
950 Private slot called by the context menu to add files to a changelist. |
952 Private slot called by the context menu to add files to a changelist. |
951 """ |
953 """ |