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
1=== modified file 'src/Widgets/AppEntry.vala'
2--- src/Widgets/AppEntry.vala 2015-02-01 15:02:37 +0000
3+++ src/Widgets/AppEntry.vala 2015-02-01 22:42:44 +0000
4@@ -99,6 +99,8 @@
5
6 this.drag_end.connect ( () => {
7 this.dragging = false;
8+ var slingshot_app = (Gtk.Application) GLib.Application.get_default ();
9+ ((SlingshotView)slingshot_app.active_window).grab_device ();
10 });
11
12 this.drag_data_get.connect ( (ctx, sel, info, time) => {

Subscribers

People subscribed via source and target branches