summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_entry.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 16:47:16 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 17:10:39 +0100
commit6524b0a155e774c5da93547e9ac052f478e98a92 (patch)
tree4d553ddf39ae39eff2398879e372bc168ebadc37 /src/lib/elementary/elm_entry.c
parentf4ed0d4f930a00282b7b74d9f6fe2427f625d313 (diff)
ecore_evas_x: correctly handle images in X11
I thought that i explicitly tested this. However, it seems i was wrong, this way now this is handled correctly, and the image is stored and coverted to a path. With this you can now copy images from chromium and firefox to elm apps. The change in elm_entry reverts parts of the rewrite of the elm handling, as initially every path came *without* "file://" in front, so we have to maintain that. fixes T8625
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index e3a81dea76..60008e6326 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -708,7 +708,7 @@ _selection_data_cb(void *data EINA_UNUSED,
708 char *entry_tag; 708 char *entry_tag;
709 int len; 709 int len;
710 static const char *tag_string = 710 static const char *tag_string =
711 "<item absize=240x180 href=%s></item>"; 711 "<item absize=240x180 href=file://%s></item>";
712 712
713 len = strlen(tag_string) + strlen(buf); 713 len = strlen(tag_string) + strlen(buf);
714 entry_tag = alloca(len + 1); 714 entry_tag = alloca(len + 1);