From 478989324085551fe2f1120ea95ba33f149e66b7 Mon Sep 17 00:00:00 2001 From: waker Date: Fri, 4 Mar 2011 20:40:06 +0100 Subject: fix notification titles --- plugins/notify/notify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/notify') 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; -- cgit v1.2.3