Added a window flag to the VCS log browser dialogs to allow to minimize/maximize them on systems that don't add these buttons themself.

Sat, 15 Feb 2014 18:21:59 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 15 Feb 2014 18:21:59 +0100
changeset 3273
075758282fdb
parent 3271
86df7bf80760
child 3276
1b7002ea389d

Added a window flag to the VCS log browser dialogs to allow to minimize/maximize them on systems that don't add these buttons themself.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py file | annotate | diff | comparison | revisions
diff -r 86df7bf80760 -r 075758282fdb Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Tue Feb 11 20:04:16 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sat Feb 15 18:21:59 2014 +0100
@@ -55,6 +55,7 @@
         """
         super().__init__(parent)
         self.setupUi(self)
+        self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint)
         
         if mode == "log":
             self.setWindowTitle(self.tr("Mercurial Log"))
diff -r 86df7bf80760 -r 075758282fdb Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Tue Feb 11 20:04:16 2014 +0100
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Sat Feb 15 18:21:59 2014 +0100
@@ -38,6 +38,7 @@
         super().__init__(parent)
         self.setupUi(self)
         SvnDialogMixin.__init__(self)
+        self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint)
         
         self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
         self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
diff -r 86df7bf80760 -r 075758282fdb Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py	Tue Feb 11 20:04:16 2014 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py	Sat Feb 15 18:21:59 2014 +0100
@@ -34,6 +34,7 @@
         """
         super().__init__(parent)
         self.setupUi(self)
+        self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint)
         
         self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
         self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)

eric ide

mercurial