Mercurial > vim
comparison src/gui_gtk_x11.c @ 2718:31757405c0c5 v7.3.134
updated for version 7.3.134
Problem: Drag-n-drop doesn't work in KDE Dolphin.
Solution: Add GDK_ACTION_MOVE flag. (Florian Degner)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 25 Feb 2011 17:10:27 +0100 |
parents | 464da5b48d27 |
children | fd4224d9ee09 |
comparison
equal
deleted
inserted
replaced
2717:f85fe1a05c2a | 2718:31757405c0c5 |
---|---|
3092 | 3092 |
3093 gtk_drag_dest_unset(gui.drawarea); | 3093 gtk_drag_dest_unset(gui.drawarea); |
3094 gtk_drag_dest_set(gui.drawarea, | 3094 gtk_drag_dest_set(gui.drawarea, |
3095 GTK_DEST_DEFAULT_ALL, | 3095 GTK_DEST_DEFAULT_ALL, |
3096 targets, n_targets, | 3096 targets, n_targets, |
3097 GDK_ACTION_COPY); | 3097 GDK_ACTION_COPY | GDK_ACTION_MOVE); |
3098 } | 3098 } |
3099 | 3099 |
3100 /* | 3100 /* |
3101 * Initialize the GUI. Create all the windows, set up all the callbacks etc. | 3101 * Initialize the GUI. Create all the windows, set up all the callbacks etc. |
3102 * Returns OK for success, FAIL when the GUI can't be started. | 3102 * Returns OK for success, FAIL when the GUI can't be started. |