aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-03-04 23:24:00 +0800
committerXavier Claessens <xclaesse@gmail.com>2010-03-04 23:24:00 +0800
commit207c3bdd45e280beb019153ca6c844178f6e331a (patch)
tree09cf4afe20e26944740f4c92af45c51ea9c0a3eb /libempathy-gtk
parent1c9ef08484efd1596c57e1da7a17d3eb790d304d (diff)
downloadgsoc2013-empathy-207c3bdd45e280beb019153ca6c844178f6e331a.tar
gsoc2013-empathy-207c3bdd45e280beb019153ca6c844178f6e331a.tar.gz
gsoc2013-empathy-207c3bdd45e280beb019153ca6c844178f6e331a.tar.bz2
gsoc2013-empathy-207c3bdd45e280beb019153ca6c844178f6e331a.tar.lz
gsoc2013-empathy-207c3bdd45e280beb019153ca6c844178f6e331a.tar.xz
gsoc2013-empathy-207c3bdd45e280beb019153ca6c844178f6e331a.tar.zst
gsoc2013-empathy-207c3bdd45e280beb019153ca6c844178f6e331a.zip
Also make links clickable in tooltip
It is not clickable, but still nice looking
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c15
1 files 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),