Merge lp:~wingpanel-devs/slingshot/close_on_drag into lp:~elementary-pantheon/slingshot/trunk

Proposed by Djax on 2016-07-05
Status: Merged
Approved by: Felipe Escoto on 2016-07-07
Approved revision: 669
Merged at revision: 670
Proposed branch: lp:~wingpanel-devs/slingshot/close_on_drag
Merge into: lp:~elementary-pantheon/slingshot/trunk
Diff against target: 23 lines (+2/-0)
2 files modified
src/Widgets/AppEntry.vala (+1/-0)
src/Widgets/SearchView.vala (+1/-0)
To merge this branch: bzr merge lp:~wingpanel-devs/slingshot/close_on_drag
Reviewer Review Type Date Requested Status
elementary Pantheon team 2016-07-05 Pending
Review via email: mp+299235@code.launchpad.net

Commit message

close slingshot on DnD

Description of the change

close slingshot when a drag occurs to offer drag targets

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 2016-07-02 16:06:02 +0000
3+++ src/Widgets/AppEntry.vala 2016-07-05 20:26:54 +0000
4@@ -137,6 +137,7 @@
5 this.drag_begin.connect ((ctx) => {
6 this.dragging = true;
7 Gtk.drag_set_icon_gicon (ctx, this.image.gicon, 16, 16);
8+ app_launched ();
9 });
10
11 this.drag_end.connect ( () => {
12
13=== modified file 'src/Widgets/SearchView.vala'
14--- src/Widgets/SearchView.vala 2016-07-02 16:06:02 +0000
15+++ src/Widgets/SearchView.vala 2016-07-05 20:26:54 +0000
16@@ -82,6 +82,7 @@
17 if (drag_uri != null) {
18 dragging = true;
19 Gtk.drag_set_icon_gicon (ctx, di.icon.gicon, 16, 16);
20+ app_launched ();
21 }
22 }
23 });

Subscribers

People subscribed via source and target branches