[evolution] [evolution-source-viewer] Make identity label selectable



commit 2432d33c61541ffde7c0f2aecab3ba00def910e0
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jan 17 17:48:36 2014 +0100

    [evolution-source-viewer] Make identity label selectable
    
    Easier to copy&paste than write the generate UID letter by letter.

 e-util/evolution-source-viewer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/evolution-source-viewer.c b/e-util/evolution-source-viewer.c
index 44deb76..0b188d7 100644
--- a/e-util/evolution-source-viewer.c
+++ b/e-util/evolution-source-viewer.c
@@ -792,6 +792,7 @@ source_viewer_constructed (GObject *object)
        widget = gtk_label_new (NULL);
        gtk_label_set_attributes (GTK_LABEL (widget), bold);
        gtk_label_set_ellipsize (GTK_LABEL (widget), PANGO_ELLIPSIZE_END);
+       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, TRUE, TRUE, 0);
        viewer->viewing_label = widget;  /* do not reference */


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