[evolution] Make EAlertBar messages selectable



commit d3a5c49fdf90efd914ce7e340f0fd3514bb5eb13
Author: Milan Crha <mcrha redhat com>
Date:   Thu Apr 28 09:12:33 2011 +0200

    Make EAlertBar messages selectable

 widgets/misc/e-alert-bar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/widgets/misc/e-alert-bar.c b/widgets/misc/e-alert-bar.c
index 8ed6bc3..3ff4649 100644
--- a/widgets/misc/e-alert-bar.c
+++ b/widgets/misc/e-alert-bar.c
@@ -228,6 +228,7 @@ e_alert_bar_init (EAlertBar *alert_bar)
 	widget = gtk_label_new (NULL);
 	gtk_label_set_attributes (GTK_LABEL (widget), attr_list);
 	gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE);
+	gtk_label_set_selectable (GTK_LABEL (widget), TRUE);
 	gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
 	gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
 	alert_bar->priv->primary_label = widget;
@@ -242,6 +243,7 @@ e_alert_bar_init (EAlertBar *alert_bar)
 	widget = gtk_label_new (NULL);
 	gtk_label_set_attributes (GTK_LABEL (widget), attr_list);
 	gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE);
+	gtk_label_set_selectable (GTK_LABEL (widget), TRUE);
 	gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
 	gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
 	alert_bar->priv->secondary_label = widget;



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