From 575b9358a328874d84fd24ddd55908be2059163f Mon Sep 17 00:00:00 2001 From: Denis Fomin <fominde@gmail.com> Date: Fri, 23 Sep 2011 22:06:36 +0300 Subject: [PATCH] fix previous commit --- src/notify.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notify.py b/src/notify.py index 6cac6005ae..a8a7378634 100644 --- a/src/notify.py +++ b/src/notify.py @@ -366,6 +366,7 @@ class DesktopNotification: hints['category'] = dbus.String(ntype) # it seems notification-daemon doesn't like empty text if self.text: + text = self.text if len(self.text) > 200: text = '%s\n...' % self.text[:200] else: -- GitLab