Skip to content
Permalink
Browse files

exif-details: make value column selectable

Of course those values aren't editable,
but this allowed to copy/paste gps data.
  • Loading branch information...
raveit65 committed Jul 11, 2018
1 parent 667f5b2 commit dba717dc485a85838a78922cb4245a35f50ecf01
Showing with 6 additions and 3 deletions.
  1. +6 −3 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);

0 comments on commit dba717d

Please sign in to comment.
You can’t perform that action at this time.