Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable filedialogs: Disable toolbar context menus (closes #489)

The toolbar context menu has been disabled for the file history and the file

Changeset 7ad9d0a2c7b3

Parent e724702efd06

by Angel Ezquerra

Changes to one file · Browse files at 7ad9d0a2c7b3 Showing diff from parent e724702efd06 Diff from another changeset...

 
132
133
134
 
135
136
137
 
265
266
267
 
268
269
270
 
132
133
134
135
136
137
138
 
266
267
268
269
270
271
272
@@ -132,6 +132,7 @@
    def setupUi(self, o):   self.editToolbar = QToolBar(self) + self.editToolbar.setContextMenuPolicy(Qt.PreventContextMenu)   self.addToolBar(Qt.ToolBarArea(Qt.TopToolBarArea), self.editToolbar)   self.actionClose = QAction(self, shortcut=QKeySequence.Close)   self.actionReload = QAction(self, shortcut=QKeySequence.Refresh) @@ -265,6 +266,7 @@
    def setupUi(self, o):   self.editToolbar = QToolBar(self) + self.editToolbar.setContextMenuPolicy(Qt.PreventContextMenu)   self.addToolBar(Qt.ToolBarArea(Qt.TopToolBarArea), self.editToolbar)   self.actionClose = QAction(self, shortcut=QKeySequence.Close)   self.actionReload = QAction(self, shortcut=QKeySequence.Refresh)