diff options
author | Nikos Kouremenos <kourem@gmail.com> | 2006-04-05 18:57:09 +0400 |
---|---|---|
committer | Nikos Kouremenos <kourem@gmail.com> | 2006-04-05 18:57:09 +0400 |
commit | d86797d034427b61ef04c64c9b897dc253b78786 (patch) | |
tree | 0986c993c0d3530c7d40b563ebfae5ade56e3ec7 /src/notify.py | |
parent | e7032184662c5345534239584f02bfb8a5022c80 (diff) |
[jim++] pango escape text. (#1806)
Diffstat (limited to 'src/notify.py')
-rw-r--r-- | src/notify.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notify.py b/src/notify.py index aac252ec8..f15aac8a6 100644 --- a/src/notify.py +++ b/src/notify.py @@ -20,6 +20,7 @@ import os import time import dialogs +import gtkgui_helpers from common import gajim from common import i18n @@ -38,6 +39,7 @@ def notify(event_type, jid, account, msg_type = '', path_to_image = None, '''Notifies a user of an event. It first tries to a valid implementation of the Desktop Notification Specification. If that fails, then we fall back to the older style PopupNotificationWindow method.''' + text = gtkgui_helpers.escape_for_pango_markup(text) if gajim.config.get('use_notif_daemon') and dbus_support.supported: try: DesktopNotification(event_type, jid, account, msg_type, path_to_image, |