[Xfce4-commits] [xfce/xfdesktop] 25/35: Allow dragging desktop launchers to the panel (Bug #2794)

noreply at xfce.org noreply at xfce.org
Sun May 17 11:38:13 CEST 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch xfce-4.12
in repository xfce/xfdesktop.

commit 4a259e3cdbf2267e83765cea73e21dacfa2744c6
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Tue Mar 17 22:38:48 2015 +0100

    Allow dragging desktop launchers to the panel (Bug #2794)
---
 src/xfdesktop-file-icon-manager.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index 6012952..2c4a9b8 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -3171,7 +3171,8 @@ xfdesktop_file_icon_manager_real_init(XfdesktopIconViewManager *manager,
     
     xfdesktop_icon_view_set_selection_mode(icon_view, GTK_SELECTION_MULTIPLE);
     xfdesktop_icon_view_enable_drag_source(icon_view,
-                                           GDK_SHIFT_MASK | GDK_CONTROL_MASK,
+                                           GDK_SHIFT_MASK | GDK_CONTROL_MASK
+                                           | GDK_BUTTON1_MASK,
                                            drag_targets, n_drag_targets,
                                            GDK_ACTION_LINK | GDK_ACTION_COPY
                                            | GDK_ACTION_MOVE);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list