mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
84013cb8d5
* gdesktop.c (desktop_create_launch_entry): Support for the "Drop" target in mc.ext now. * Add support for dragging the icons on the desktop. (desktop_icon_make_draggable): new function. (drop_from_event): simplify. (my_create_transparent_text_window): Get the motion notify event. (drops_from_event): create a vector based on thge drop event. (drop_cb): splitted, call url_drop for regular drops, otherwise it is a icon drop. (artificial_drag_start): new routine, used now by gscreen.c and gdesktop.c (drop_on_directory): Check result value of operation. (desktop_icon_set_position): sane interface. (stop_desktop): Flush all of our state to disk.
10 lines
365 B
C
10 lines
365 B
C
#define MC_LIB_DESKTOP "mc.desktop"
|
|
|
|
/* gtrans.c */
|
|
GtkWidget *create_transparent_text_window (char *file, char *text, int extra_events);
|
|
GtkWidget *make_transparent_window (char *file);
|
|
|
|
/* gdesktop.c */
|
|
void drop_on_directory (GdkEventDropDataAvailable *event, char *dest, int force_manually);
|
|
void artificial_drag_start (GdkWindow *source_window, int x, int y);
|