Merge lp:~kaaloo/qbzr/macos_foreground_issue into lp:qbzr

Proposed by Luis Arias
Status: Merged
Merged at revision: 1258
Proposed branch: lp:~kaaloo/qbzr/macos_foreground_issue
Merge into: lp:qbzr
Diff against target: 25 lines (+8/-0)
1 file modified
lib/util.py (+8/-0)
To merge this branch: bzr merge lp:~kaaloo/qbzr/macos_foreground_issue
Reviewer Review Type Date Requested Status
Gary van der Merwe Approve
Review via email: mp+25304@code.launchpad.net

Description of the change

Fixes lp:417162 Mac OS X windows start in background

To post a comment you must log in.
Revision history for this message
Gary van der Merwe (garyvdm) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/util.py'
2--- lib/util.py 2010-03-25 22:35:13 +0000
3+++ lib/util.py 2010-05-14 10:00:50 +0000
4@@ -377,6 +377,10 @@
5 self.windows = []
6 self.closing = False
7
8+ def show(self):
9+ QtGui.QMainWindow.show(self)
10+ self.raise_() # Make sure it displays in the foreground
11+
12
13 class QBzrDialog(QtGui.QDialog, _QBzrWindowBase):
14
15@@ -405,6 +409,10 @@
16 self.saveSize()
17 QtGui.QDialog.reject(self)
18
19+ def show(self):
20+ QtGui.QMainWindow.show(self)
21+ self.raise_() # Make sure it displays in the foreground
22+
23 throber_movie = None
24
25 class ThrobberWidget(QtGui.QWidget):

Subscribers

People subscribed via source and target branches