From 207c3bdd45e280beb019153ca6c844178f6e331a Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 4 Mar 2010 16:24:00 +0100 Subject: Also make links clickable in tooltip It is not clickable, but still nice looking --- libempathy-gtk/empathy-contact-widget.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 500a387f6..75f244698 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -950,19 +950,12 @@ static void contact_widget_presence_notify_cb (EmpathyContactWidget *information) { const gchar *status; + gchar *markup_text; status = empathy_contact_get_status (information->contact); - if (!(information->flags & EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP)) - { - gchar *markup_text; - - markup_text = empathy_add_link_markup (status); - gtk_label_set_markup (GTK_LABEL (information->label_status), markup_text); - g_free (markup_text); - } - else { - gtk_label_set_text (GTK_LABEL (information->label_status), status); - } + markup_text = empathy_add_link_markup (status); + gtk_label_set_markup (GTK_LABEL (information->label_status), markup_text); + g_free (markup_text); gtk_image_set_from_icon_name (GTK_IMAGE (information->image_state), empathy_icon_name_for_contact (information->contact), -- cgit v1.2.3