This was created by this commit:
------------------------------------------------------------ revno: 242.1.5 committer: Michal Hruby <email address hidden> branch nick: unity-lens-applications timestamp: Wed 2011-10-05 12:47:44 +0200 message: Fix the de-duplication of Installed and Available apps diff: === modified file 'src/daemon.vala' --- src/daemon.vala 2011-10-05 10:47:11 +0000 +++ src/daemon.vala 2011-10-05 10:47:44 +0000 @@ -626,6 +626,13 @@ string desktop_id = Path.get_basename (pkginfo.desktop_file); string full_path;
+ /* S-C uses "app_name:desktop_id.desktop", get rid of the prefix */ + int colon_pos = desktop_id.index_of (":"); + if (colon_pos > 0) + { + desktop_id = desktop_id[colon_pos+1:desktop_id.length]; + } + AppInfo? app = appmanager.lookup (desktop_id); full_path = appmanager.get_path (desktop_id);
This was created by this commit:
------- ------- ------- ------- ------- ------- ------- ------- ---- applications desktop_ file);
revno: 242.1.5
committer: Michal Hruby <email address hidden>
branch nick: unity-lens-
timestamp: Wed 2011-10-05 12:47:44 +0200
message:
Fix the de-duplication of Installed and Available apps
diff:
=== modified file 'src/daemon.vala'
--- src/daemon.vala 2011-10-05 10:47:11 +0000
+++ src/daemon.vala 2011-10-05 10:47:44 +0000
@@ -626,6 +626,13 @@
string desktop_id = Path.get_basename (pkginfo.
string full_path;
+ /* S-C uses "app_name: desktop_ id.desktop" , get rid of the prefix */ id[colon_ pos+1:desktop_ id.length] ;
+ int colon_pos = desktop_id.index_of (":");
+ if (colon_pos > 0)
+ {
+ desktop_id = desktop_
+ }
+
AppInfo? app = appmanager.lookup (desktop_id);
full_path = appmanager.get_path (desktop_id);