[evolution/gnome-3-0] Make EAlertBar messages selectable
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-0] Make EAlertBar messages selectable
- Date: Thu, 28 Apr 2011 07:14:16 +0000 (UTC)
commit 78a3055e772fd14a6d08cf227cd88efa4fab2b14
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 28 09:12:59 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 2d3fb9f..6c61919 100644
--- a/widgets/misc/e-alert-bar.c
+++ b/widgets/misc/e-alert-bar.c
@@ -212,6 +212,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;
@@ -226,6 +227,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]