diff options
author | waker <wakeroid@gmail.com> | 2011-03-04 20:40:06 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-04 20:40:06 +0100 |
commit | 478989324085551fe2f1120ea95ba33f149e66b7 (patch) | |
tree | f99fa5941ea14bd9cac418b9164f580c19964c46 /plugins/notify | |
parent | 6a43edb824311e6fd67ddda39dcadae233cf0550 (diff) |
fix notification titles
Diffstat (limited to 'plugins/notify')
-rw-r--r-- | plugins/notify/notify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/notify/notify.c b/plugins/notify/notify.c index 55345983..10ebd959 100644 --- a/plugins/notify/notify.c +++ b/plugins/notify/notify.c @@ -183,9 +183,9 @@ static void show_notification (DB_playItem_t *track) { deadbeef->pl_format_title (track, -1, content, sizeof (content), -1, deadbeef->conf_get_str ("notify.format_content", NOTIFY_DEFAULT_CONTENT)); // escape & - char esc_title[1024]; +// char esc_title[1024]; char esc_content[1024]; - esc_xml (title, esc_title, sizeof (esc_title)); +// esc_xml (title, esc_title, sizeof (esc_title)); esc_xml (content, esc_content, sizeof (esc_content)); DBusMessage *msg = dbus_message_new_method_call (E_NOTIFICATION_BUS_NAME, E_NOTIFICATION_PATH, E_NOTIFICATION_INTERFACE, "Notify"); @@ -200,7 +200,7 @@ static void show_notification (DB_playItem_t *track) { if (!v_iconname) { v_iconname = strdup ("deadbeef"); } - const char *v_summary = esc_title; + const char *v_summary = title; const char *v_body = esc_content; dbus_int32_t v_timeout = -1; |