124 self.__dotRadius = 8 |
124 self.__dotRadius = 8 |
125 self.__rowHeight = 20 |
125 self.__rowHeight = 20 |
126 |
126 |
127 self.logTree.setIconSize( |
127 self.logTree.setIconSize( |
128 QSize(100 * self.__rowHeight, self.__rowHeight)) |
128 QSize(100 * self.__rowHeight, self.__rowHeight)) |
129 if self.vcs.versionStr >= "1.8": |
129 if self.vcs.version >= (1, 8): |
130 self.logTree.headerItem().setText(self.logTree.columnCount(), |
130 self.logTree.headerItem().setText(self.logTree.columnCount(), |
131 self.trUtf8("Bookmarks")) |
131 self.trUtf8("Bookmarks")) |
132 |
132 |
133 def __initData(self): |
133 def __initData(self): |
134 """ |
134 """ |
633 not self.stopCheckBox.isChecked(): |
633 not self.stopCheckBox.isChecked(): |
634 args.append('--follow') |
634 args.append('--follow') |
635 if self.commandMode == "log": |
635 if self.commandMode == "log": |
636 args.append('--copies') |
636 args.append('--copies') |
637 args.append('--style') |
637 args.append('--style') |
638 if self.vcs.versionStr >= "1.8": |
638 if self.vcs.version >= (1, 8): |
639 args.append(os.path.join(os.path.dirname(__file__), |
639 args.append(os.path.join(os.path.dirname(__file__), |
640 "styles", "logBrowserBookmark.style")) |
640 "styles", "logBrowserBookmark.style")) |
641 else: |
641 else: |
642 args.append(os.path.join(os.path.dirname(__file__), |
642 args.append(os.path.join(os.path.dirname(__file__), |
643 "styles", "logBrowser.style")) |
643 "styles", "logBrowser.style")) |