summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-07-11 14:51:26 +0200
committerraveit65 <[email protected]>2018-07-14 16:25:43 +0200
commit14a755c7f0210fdd67ef666e0716ea5574cf30b5 (patch)
treee74ad130eaeb270f2248835b5ec668096f09c1da
parentb3f9b82e3a18ccbcd291d3e942d536e3211f9418 (diff)
downloadeom-14a755c7f0210fdd67ef666e0716ea5574cf30b5.tar.bz2
eom-14a755c7f0210fdd67ef666e0716ea5574cf30b5.tar.xz
exif-details: make value column selectable
Of course those values aren't editable, but this allowed to copy/paste gps data.
-rw-r--r--src/eom-exif-details.c9
1 files 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);