~wingpanel-devs/slingshot/speedup_indicator_loading

« back to all changes in this revision

Viewing changes to src/Backend/AppSystem.vala

  • Committer: Djax
  • Date: 2016-07-10 10:01:02 UTC
  • Revision ID: parnold1@gmail.com-20160710100102-blx5pu3ppc66ac0l
load app backends in a thread

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
        apps_menu = new GMenu.Tree ("pantheon-applications.menu", GMenu.TreeFlags.INCLUDE_EXCLUDED | GMenu.TreeFlags.SORT_DISPLAY_NAME);
41
41
        apps_menu.changed.connect (update_app_system);
42
 
        
 
42
 
43
43
        apps = new Gee.HashMap<string, Gee.ArrayList<App>> ();
44
44
        categories = new Gee.ArrayList<GMenu.TreeDirectory> ();
45
45
 
133
133
                    && (GCC_PANEL_CATEGORY in app.categories
134
134
                    || SWITCHBOARD_PLUG_CATEGORY in app.categories))
135
135
                    continue;
136
 
                
137
136
 
138
137
                if (!(app.exec in sorted_apps_execs)) {
139
138
                    sorted_apps.insert_sorted_with_data (app, Utils.sort_apps_by_name);