e17: fix dnd to desktop

SVN revision: 58665
This commit is contained in:
Hannes Janetzek 2011-04-14 13:46:39 +00:00
parent ca2c5c152f
commit a34c3869d5
2 changed files with 2 additions and 2 deletions

View File

@ -658,7 +658,7 @@ _e_drag_win_get(const E_Drop_Handler *h, int xdnd)
/* Not quite sure about this, probably need to set up
* E_Container to pass DND events from event_win to bg_win. */
// hwin = ((E_Zone *)(h->obj))->container->event_win;
hwin = ((E_Zone *)(h->obj))->container->bg_win;
hwin = ((E_Zone *)(h->obj))->container->event_win;
break;
case E_BORDER_TYPE:
hwin = ((E_Border *)(h->obj))->event_win;

View File

@ -301,7 +301,7 @@ e_fwin_zone_new(E_Zone *zone,
o = e_scrollframe_add(zone->container->bg_evas);
ecore_x_icccm_state_set(zone->container->bg_win, ECORE_X_WINDOW_STATE_HINT_NORMAL);
e_drop_xdnd_register_set(zone->container->bg_win, 1);
e_drop_xdnd_register_set(zone->container->event_win, 1);
e_scrollframe_custom_theme_set(o, "base/theme/fileman",
"e/fileman/desktop/scrollframe");
/* FIXME: this theme object will have more versions and options later