Skip to content

Commit

Permalink
exif-details: make value column selectable
Browse files Browse the repository at this point in the history
Of course those values aren't editable,
but this allowed to copy/paste gps data.
  • Loading branch information
raveit65 committed Jul 15, 2018
1 parent 667f5b2 commit dba717d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/eom-exif-details.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dba717d

Please sign in to comment.