[empathy] Make location labels selectable



commit 8907e9a0664b82148c1ecae6fdeed0cdd6c91140
Author: Pierre-Luc Beaudoin <pierre-luc beaudoin collabora co uk>
Date:   Thu Aug 20 16:02:40 2009 -0400

    Make location labels selectable

 libempathy-gtk/empathy-contact-widget.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 247bc14..5852b8f 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1437,6 +1437,9 @@ contact_widget_location_update (EmpathyContactWidget *information)
               label, 1, 2, row, row + 1);
           gtk_misc_set_alignment (GTK_MISC (label), 0, 0);
           gtk_widget_show (label);
+
+          if (!(information->flags & EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP))
+            gtk_label_set_selectable (GTK_LABEL (label), TRUE);
         }
 
       g_free (svalue);



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