DONT strip file://! efm etc. expects it.. as its a uri! dnd broke as of this

change completely... bad englebass! bad! spank! :)



SVN revision: 48379
This commit is contained in:
Carsten Haitzler 2010-04-28 03:30:31 +00:00
parent e2abaae2c6
commit 4b1a77f8a0
1 changed files with 2 additions and 2 deletions

View File

@ -764,7 +764,7 @@ _e_drag_update(Ecore_X_Window root, int x, int y, Ecore_X_Atom action)
/* A little bit of caching to avoid trips to X. */
cache.win = root;
// wtf - get root of root window? pointless!
// cache.root = ecore_x_window_root_get(root);
cache.root = ecore_x_window_root_get(root);
cache.root = root;
}
win = ecore_x_window_shadow_tree_at_xy_with_skip_get(cache.root, x, y, ignore_win, 2);
@ -1389,7 +1389,7 @@ _e_dnd_cb_event_dnd_selection(void *data, int type, void *event)
{
/* TODO: Check if hostname is in file:// uri */
if (!strncmp(files->files[i], "file://", 7))
l = eina_list_append(l, files->files[i] + 7);
l = eina_list_append(l, files->files[i]);
/* TODO: download files
else if (!strncmp(files->files[i], "http://", 7))
else if (!strncmp(files->files[i], "ftp://", 6))