aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-event-manager.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 93656c3a9..c7dd660a0 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -1115,11 +1115,12 @@ event_manager_presence_changed_cb (EmpathyContact *contact,
if (g_settings_get_boolean (priv->gsettings_notif,
EMPATHY_PREFS_NOTIFICATIONS_CONTACT_SIGNOUT))
{
- header = g_strdup_printf (_("%s is now offline."),
+ header = g_strdup_printf ("<b>%s</b>",
empathy_contact_get_alias (contact));
- event_manager_add (manager, NULL, contact, EMPATHY_EVENT_TYPE_PRESENCE,
- EMPATHY_IMAGE_AVATAR_DEFAULT, header, NULL, NULL, NULL, NULL);
+ event_manager_add (manager, NULL, contact,
+ EMPATHY_EVENT_TYPE_PRESENCE, EMPATHY_IMAGE_AVATAR_DEFAULT,
+ header, _("Disconnected"), NULL, NULL, NULL);
}
}
}
@@ -1136,11 +1137,12 @@ event_manager_presence_changed_cb (EmpathyContact *contact,
if (g_settings_get_boolean (priv->gsettings_notif,
EMPATHY_PREFS_NOTIFICATIONS_CONTACT_SIGNIN))
{
- header = g_strdup_printf (_("%s is now online."),
+ header = g_strdup_printf ("<b>%s</b>",
empathy_contact_get_alias (contact));
- event_manager_add (manager, NULL, contact, EMPATHY_EVENT_TYPE_PRESENCE,
- EMPATHY_IMAGE_AVATAR_DEFAULT, header, NULL, NULL, NULL, NULL);
+ event_manager_add (manager, NULL, contact,
+ EMPATHY_EVENT_TYPE_PRESENCE, EMPATHY_IMAGE_AVATAR_DEFAULT,
+ header, _("Connected"), NULL, NULL, NULL);
}
}
}