aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-04-29 23:53:17 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-02 17:03:55 +0800
commit554ea28a6a158f3dee384c485f84184cf606d61c (patch)
tree8673bf1dc49dee5d41c7bb6228cdefaffd374f07 /src/empathy-status-icon.c
parentf19891b168ec7d5f67b54571a91b1118901c0771 (diff)
downloadgsoc2013-empathy-554ea28a6a158f3dee384c485f84184cf606d61c.tar
gsoc2013-empathy-554ea28a6a158f3dee384c485f84184cf606d61c.tar.gz
gsoc2013-empathy-554ea28a6a158f3dee384c485f84184cf606d61c.tar.bz2
gsoc2013-empathy-554ea28a6a158f3dee384c485f84184cf606d61c.tar.lz
gsoc2013-empathy-554ea28a6a158f3dee384c485f84184cf606d61c.tar.xz
gsoc2013-empathy-554ea28a6a158f3dee384c485f84184cf606d61c.tar.zst
gsoc2013-empathy-554ea28a6a158f3dee384c485f84184cf606d61c.zip
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).
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index a4ca21300..325fa7f0f 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -251,8 +251,9 @@ status_icon_update_notification (EmpathyStatusIcon *icon)
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 (priv->notify_mgr,