diff --git a/TODO.mkdn b/TODO.mkdn index d12e3bc..cadbda4 100644 --- a/TODO.mkdn +++ b/TODO.mkdn @@ -15,7 +15,6 @@ Features * Whowas for last seen online? * Tab completion of two letter names * When 'banned' make impossible to connect using timestamp banned under -* Fully working Toasts * Auto download/install updates via Windows installer * Turn memo notifications on/off from right-click menu on memos (Idea: lostGash) * Gray out random encounter option when RE is offline @@ -36,6 +35,7 @@ Windows Bugs * XP SP2: sometimes mouse clicks dont register? must be some kinda crash * On reconnect and nick change, momentary theme change causes menu items to stop working * Random chums won't show up on chumroll +* Popup toast notifications cause main window to raise Mac Bugs -------- diff --git a/toast.py b/toast.py index 8aaa101..17d4b6a 100644 --- a/toast.py +++ b/toast.py @@ -173,7 +173,7 @@ class ToastMachine(object): class PesterToast(QtGui.QWidget, DefaultToast): def __init__(self, machine, title, msg, icon, time=3000, parent=None): - QtGui.QWidget.__init__(self, parent) + QtGui.QWidget.__init__(self, parent, (QtCore.Qt.WindowStaysOnTopHint | QtCore.Qt.X11BypassWindowManagerHint)) self.machine = machine self.time = time @@ -281,7 +281,6 @@ class PesterToast(QtGui.QWidget, DefaultToast): val = float(self.height())/100 self.move(p.x()-self.width(), p.y() - (value.toInt()[0] * val) +1) self.layout().setSpacing(0) - self.raise_() QtGui.QWidget.show(self) def mousePressEvent(self, event):