diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-status-icon.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 97eab7c29..492c37a85 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -170,9 +170,12 @@ status_icon_update_tooltip (EmpathyStatusIcon *icon) gchar *tooltip = NULL; if (priv->event) { - tooltip = g_strdup_printf ("%s\n%s", - priv->event->header, - priv->event->message); + if (priv->event->message != NULL) + tooltip = g_strdup_printf ("%s\n%s", + priv->event->header, + priv->event->message); + else + tooltip = g_strdup (priv->event->header); } if (!tooltip) { |