aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-alert-bar.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-04-28 15:12:33 +0800
committerMilan Crha <mcrha@redhat.com>2011-04-28 15:12:33 +0800
commitd3a5c49fdf90efd914ce7e340f0fd3514bb5eb13 (patch)
tree960d226808c5d51ab704b5b5974e95b3835e0679 /widgets/misc/e-alert-bar.c
parent1f192fbb46ce36012ce3131eda9a818521985493 (diff)
downloadgsoc2013-evolution-d3a5c49fdf90efd914ce7e340f0fd3514bb5eb13.tar.gz
gsoc2013-evolution-d3a5c49fdf90efd914ce7e340f0fd3514bb5eb13.tar.zst
gsoc2013-evolution-d3a5c49fdf90efd914ce7e340f0fd3514bb5eb13.zip
Make EAlertBar messages selectable
Diffstat (limited to 'widgets/misc/e-alert-bar.c')
-rw-r--r--widgets/misc/e-alert-bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/misc/e-alert-bar.c b/widgets/misc/e-alert-bar.c
index 8ed6bc3ff7..3ff4649079 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;