Do not display plank alert text

bzr-revno: 2087
This commit is contained in:
Tim Bentley 2012-10-13 21:26:05 +01:00
commit e7cdf6d43a

View File

@ -57,8 +57,6 @@ class AlertsManager(QtCore.QObject):
"""
if message:
self.displayAlert(message[0])
else:
self.displayAlert(u'')
def displayAlert(self, text=u''):
"""
@ -68,6 +66,7 @@ class AlertsManager(QtCore.QObject):
display text
"""
log.debug(u'display alert called %s' % text)
if text:
self.alertList.append(text)
if self.timer_id != 0:
Receiver.send_message(u'mainwindow_status_text',