Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2008-12-06 15:43:15 +0300
committerYann Leboulanger <asterix@lagaule.org>2008-12-06 15:43:15 +0300
commit2c9da5bf87e051e62c43b2921c8c84b5f27d7350 (patch)
tree8ea89c2248ab0311b69088c75a654652a32ff6fa
parentf86b438303a1b105e84ffa7bb7b180e807f88639 (diff)
no need to escape title in notifications
-rw-r--r--src/notify.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/notify.py b/src/notify.py
index 05b0dc9b5..9e363d1de 100644
--- a/src/notify.py
+++ b/src/notify.py
@@ -338,8 +338,7 @@ def popup(event_type, jid, account, msg_type='', path_to_image=None,
if gajim.config.get('use_notif_daemon') and dbus_support.supported:
try:
DesktopNotification(event_type, jid, account, msg_type,
- path_to_image, gobject.markup_escape_text(title),
- gobject.markup_escape_text(text))
+ path_to_image, title, gobject.markup_escape_text(text))
return # sucessfully did D-Bus Notification procedure!
except dbus.DBusException, e:
# Connection to D-Bus failed
@@ -361,7 +360,7 @@ def popup(event_type, jid, account, msg_type='', path_to_image=None,
if not title:
_title = ''
else:
- _title = gobject.markup_escape_text(title)
+ _title = title
notification = pynotify.Notification(_title, _text)
timeout = gajim.config.get('notification_timeout') * 1000 # make it ms