From dba717dc485a85838a78922cb4245a35f50ecf01 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 11 Jul 2018 14:51:26 +0200 Subject: exif-details: make value column selectable Of course those values aren't editable, but this allowed to copy/paste gps data. --- src/eom-exif-details.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/eom-exif-details.c b/src/eom-exif-details.c index efe1e42..0fdb0eb 100644 --- a/src/eom-exif-details.c +++ b/src/eom-exif-details.c @@ -257,9 +257,12 @@ eom_exif_details_init (EomExifDetails *exif_details) /* Value column */ cell = gtk_cell_renderer_text_new (); - column = gtk_tree_view_column_new_with_attributes (_("Value"), cell, - "text", MODEL_COLUMN_VALUE, - NULL); + g_object_set (cell, + "editable", TRUE, + NULL); + column = gtk_tree_view_column_new_with_attributes (_("Value"), cell, + "text", MODEL_COLUMN_VALUE, + NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (exif_details), column); eom_exif_details_reset (exif_details); -- cgit v1.2.1