Merge lp:~tintou/slingshot/dnd-grab into lp:~elementary-pantheon/slingshot/trunk

Proposed by Corentin Noël
Status: Merged
Approved by: Danielle Foré
Approved revision: 501
Merged at revision: 501
Proposed branch: lp:~tintou/slingshot/dnd-grab
Merge into: lp:~elementary-pantheon/slingshot/trunk
Diff against target: 12 lines (+2/-0)
1 file modified
src/Widgets/AppEntry.vala (+2/-0)
To merge this branch: bzr merge lp:~tintou/slingshot/dnd-grab
Reviewer Review Type Date Requested Status
elementary Pantheon team Pending
Review via email: mp+248205@code.launchpad.net

Commit message

Fixed grab loss after Drag'n'Drop.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/Widgets/AppEntry.vala'
--- src/Widgets/AppEntry.vala 2015-02-01 15:02:37 +0000
+++ src/Widgets/AppEntry.vala 2015-02-01 22:42:44 +0000
@@ -99,6 +99,8 @@
9999
100 this.drag_end.connect ( () => {100 this.drag_end.connect ( () => {
101 this.dragging = false;101 this.dragging = false;
102 var slingshot_app = (Gtk.Application) GLib.Application.get_default ();
103 ((SlingshotView)slingshot_app.active_window).grab_device ();
102 });104 });
103105
104 this.drag_data_get.connect ( (ctx, sel, info, time) => {106 this.drag_data_get.connect ( (ctx, sel, info, time) => {

Subscribers

People subscribed via source and target branches