diff options
author | Stefano Karapetsas <[email protected]> | 2012-12-03 14:20:22 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-12-03 14:20:22 -0800 |
commit | a7aa069036f960a37cc6149ecdceab917dffa7a0 (patch) | |
tree | b47b0816e8ed67229eb5c5fb6de5b2178889ed12 /libcaja-private/caja-icon-dnd.c | |
parent | 12908bcb598233adabd7492d92efdda3d2cbc47c (diff) | |
parent | 2665b684fda835cfa6a485b6e2c8c0a98190facb (diff) | |
download | caja-a7aa069036f960a37cc6149ecdceab917dffa7a0.tar.bz2 caja-a7aa069036f960a37cc6149ecdceab917dffa7a0.tar.xz |
Merge pull request #63 from jasmineaura/develop
Bring Caja up to speed, stage2
Diffstat (limited to 'libcaja-private/caja-icon-dnd.c')
-rw-r--r-- | libcaja-private/caja-icon-dnd.c | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/libcaja-private/caja-icon-dnd.c b/libcaja-private/caja-icon-dnd.c index bd642684..f114b46a 100644 --- a/libcaja-private/caja-icon-dnd.c +++ b/libcaja-private/caja-icon-dnd.c @@ -684,10 +684,9 @@ receive_dropped_color (CajaIconContainer *container, "dropped color on icon container displaying %s", uri); g_free (uri); - eel_background_receive_dropped_color - (eel_get_widget_background (GTK_WIDGET (container)), - GTK_WIDGET (container), - action, x, y, data); + eel_background_set_dropped_color (eel_get_widget_background (GTK_WIDGET (container)), + GTK_WIDGET (container), + action, x, y, data); } } @@ -708,10 +707,8 @@ receive_dropped_tile_image (CajaIconContainer *container, GdkDragAction action, "dropped tile image on icon container displaying %s", uri); g_free (uri); - eel_background_receive_dropped_background_image - (eel_get_widget_background (GTK_WIDGET (container)), - action, - gtk_selection_data_get_data (data)); + eel_background_set_dropped_image (eel_get_widget_background (GTK_WIDGET (container)), + action, gtk_selection_data_get_data (data)); } } @@ -1260,17 +1257,14 @@ caja_icon_container_receive_dropped_icons (CajaIconContainer *container, action |= CAJA_DND_ACTION_SET_AS_BACKGROUND; } } - real_action = caja_drag_drop_action_ask - (GTK_WIDGET (container), action); + real_action = caja_drag_drop_action_ask (GTK_WIDGET (container), action); } if (real_action == (GdkDragAction) CAJA_DND_ACTION_SET_AS_BACKGROUND) { selected_item = container->details->dnd_info->drag_info.selection_list->data; - eel_background_receive_dropped_background_image - (eel_get_widget_background (GTK_WIDGET (container)), - real_action, - selected_item->uri); + eel_background_set_dropped_image (eel_get_widget_background (GTK_WIDGET (container)), + real_action, selected_item->uri); return; } |