Commit 9adeb195 authored by Pavel Cisler's avatar Pavel Cisler Committed by Pavel Cisler

Fix a bug that caused a crash when dropping dragged items back in their

2000-06-02  Pavel Cisler  <pavel@eazel.com>

	* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
	Fix a bug that caused a crash when dropping dragged items back
	in their original location.

	* libnautilus-extensions/nautilus-drag.c:
	(nautilus_drag_drag_data_get):
	Tweak whitespace.
parent abf488d6
2000-06-02 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
Fix a bug that caused a crash when dropping dragged items back
in their original location.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_drag_data_get):
Tweak whitespace.
2000-06-02 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-drag.c:
......
......@@ -276,12 +276,12 @@ add_one_uri_list(const char *uri, int x, int y, int w, int h,
*/
gboolean
nautilus_drag_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint32 time,
gpointer container_context,
NautilusDragEachSelectedItemIterator each_selected_item_iterator)
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint32 time,
gpointer container_context,
NautilusDragEachSelectedItemIterator each_selected_item_iterator)
{
GString *result;
......
......@@ -276,12 +276,12 @@ add_one_uri_list(const char *uri, int x, int y, int w, int h,
*/
gboolean
nautilus_drag_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint32 time,
gpointer container_context,
NautilusDragEachSelectedItemIterator each_selected_item_iterator)
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint32 time,
gpointer container_context,
NautilusDragEachSelectedItemIterator each_selected_item_iterator)
{
GString *result;
......
......@@ -510,7 +510,7 @@ fm_list_handle_dropped_icons (NautilusList *list, GList *drop_data, int x, int y
list_view_uri = fm_directory_view_get_uri (directory_view);
if (target_item != NULL
|| action == GDK_ACTION_MOVE
|| action != GDK_ACTION_MOVE
|| !nautilus_drag_items_local (list_view_uri, drop_data)) {
/* build a list of URIs to copy */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment