From 7078e93bbcd562175248a8fdf752f2fa92f1171c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 29 Apr 2011 17:53:17 +0200 Subject: set a not empty string when setting EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND libnotify now filters out empty string so the hint was not set (#648842). --- src/empathy-notifications-approver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/empathy-notifications-approver.c') diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c index a87a6d30e..ec1e65c24 100644 --- a/src/empathy-notifications-approver.c +++ b/src/empathy-notifications-approver.c @@ -335,8 +335,9 @@ update_notification (EmpathyNotificationsApprover *self) NOTIFY_EXPIRES_DEFAULT); if (has_x_canonical_append) + /* We have to set a not empty string to keep libnotify happy */ notify_notification_set_hint_string (notification, - EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND, ""); + EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND, "1"); if (empathy_notify_manager_has_capability (self->priv->notify_mgr, EMPATHY_NOTIFY_MANAGER_CAP_ACTIONS)) -- cgit v1.2.3