aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-04-28 15:12:33 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:03 +0800
commit4b87dca106014921c8b71e171ed81d68e28c7829 (patch)
treea1ba0ab620be51b63ce3d545c7c7a7876e11e7c6
parent900fd0a2ad5c4a2f1915f92ee980073af740c8b2 (diff)
downloadgsoc2013-evolution-4b87dca106014921c8b71e171ed81d68e28c7829.tar.gz
gsoc2013-evolution-4b87dca106014921c8b71e171ed81d68e28c7829.tar.zst
gsoc2013-evolution-4b87dca106014921c8b71e171ed81d68e28c7829.zip
Make EAlertBar messages selectable
-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;