[empathy: 8/10] Also make links clickable in tooltip



commit 207c3bdd45e280beb019153ca6c844178f6e331a
Author: Xavier Claessens <xclaesse gmail com>
Date:   Thu Mar 4 16:24:00 2010 +0100

    Also make links clickable in tooltip
    
    It is not clickable, but still nice looking

 libempathy-gtk/empathy-contact-widget.c |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 500a387..75f2446 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),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]