Merge lp:~alecu/unity-lens-applications/deduplicate-clicks into lp:unity-lens-applications

Proposed by Alejandro J. Cura
Status: Merged
Approved by: Alejandro J. Cura
Approved revision: 369
Merged at revision: 368
Proposed branch: lp:~alecu/unity-lens-applications/deduplicate-clicks
Merge into: lp:unity-lens-applications
Diff against target: 30 lines (+5/-1)
1 file modified
src/daemon.vala (+5/-1)
To merge this branch: bzr merge lp:~alecu/unity-lens-applications/deduplicate-clicks
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
dobey (community) Approve
Review via email: mp+186330@code.launchpad.net

Commit message

Do not include applications from click packages in the results

Description of the change

Do not include applications from click packages in the results

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
dobey (dobey) :
review: Approve
369. By Alejandro J. Cura

adding comment requested on review

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Autolanding.
Approved revid is not set in launchpad. This is most likely a launchpad issue and re-approve should fix it. There is also a chance (although a very small one) this is a permission problem of the ps-jenkins bot.
http://jenkins.qa.ubuntu.com/job/unity-lens-applications-autolanding/25/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-lens-applications-saucy-amd64-autolanding/23
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-lens-applications-saucy-armhf-autolanding/23
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-lens-applications-saucy-i386-autolanding/23

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/daemon.vala'
--- src/daemon.vala 2013-08-06 15:10:05 +0000
+++ src/daemon.vala 2013-09-18 16:09:56 +0000
@@ -1260,6 +1260,8 @@
1260 // XXX: This filtering should be pushed down to the Xapian1260 // XXX: This filtering should be pushed down to the Xapian
1261 // index and query builder logic.1261 // index and query builder logic.
1262 bool x_ubuntu_touch = false;1262 bool x_ubuntu_touch = false;
1263 bool x_is_click = false;
1264
1263 if (full_path != null)1265 if (full_path != null)
1264 {1266 {
1265 GLib.KeyFile key_file = new GLib.KeyFile ();1267 GLib.KeyFile key_file = new GLib.KeyFile ();
@@ -1267,6 +1269,7 @@
1267 {1269 {
1268 key_file.load_from_file (full_path, GLib.KeyFileFlags.NONE);1270 key_file.load_from_file (full_path, GLib.KeyFileFlags.NONE);
1269 x_ubuntu_touch = key_file.get_boolean ("Desktop Entry", "X-Ubuntu-Touch");1271 x_ubuntu_touch = key_file.get_boolean ("Desktop Entry", "X-Ubuntu-Touch");
1272 x_is_click = key_file.has_key ("Desktop Entry", "X-Ubuntu-Application-ID");
1270 }1273 }
1271 catch (Error e)1274 catch (Error e)
1272 {1275 {
@@ -1274,7 +1277,8 @@
1274 }1277 }
1275 }1278 }
12761279
1277 if (!x_ubuntu_touch)1280 // click apps are handled by unity-scope-click, so don't show them here either
1281 if (!x_ubuntu_touch || x_is_click)
1278 {1282 {
1279 continue;1283 continue;
1280 }1284 }

Subscribers

People subscribed via source and target branches