mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_drag_start): Do not attempt to use icons if we could not load the images for the icon.
This commit is contained in:
parent
4ab86b1b5b
commit
41871990d5
@ -1,5 +1,8 @@
|
||||
1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdesktop.c (desktop_icon_drag_start): Do not attempt to use
|
||||
icons if we could not load the images for the icon.
|
||||
|
||||
* gwidget.c (x_update_input): Keep the cursor always visible.
|
||||
|
||||
* gview.c (view): Use a buttonbar widget.
|
||||
|
@ -735,10 +735,12 @@ desktop_icon_drag_start (GtkWidget *widget, GdkEvent *event, desktop_icon_t *di)
|
||||
/* FIXME: we are using the same icon for ok and not ok drags */
|
||||
root_drag_ok_window = make_transparent_window (fname);
|
||||
root_drag_not_ok_window = make_transparent_window (fname);
|
||||
if (root_drag_not_ok_window && root_drag_ok_window){
|
||||
gdk_dnd_set_drag_shape (root_drag_ok_window->window, &root_icon_drag_hotspot,
|
||||
root_drag_not_ok_window->window, &root_icon_drag_hotspot);
|
||||
gtk_widget_show (root_drag_not_ok_window);
|
||||
gtk_widget_show (root_drag_ok_window);
|
||||
}
|
||||
free (fname);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user