~lubuntu-software-center-team/lubuntu-software-center/vala-port

« back to all changes in this revision

Viewing changes to src/Widgets/Pages/AppsView.vala

  • Committer: Stephen Smally
  • Date: 2012-07-05 10:59:44 UTC
  • Revision ID: eco.stefi@fastwebnet.it-20120705105944-354p3ovbsqpswk9y
Fixed some UI issues (updating location label), speeded up database building

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
                stock_image = null;
39
39
            }*/
40
40
            
41
 
            if (! theme.has_icon (app.icon)) {
42
 
                                app.icon = "applications-other"; // FIXME: would be better do it in dbbuild.vala
43
 
                        }
44
 
            
45
41
            model.append(out iter);
46
42
            model.set(iter, 0, app.icon, 1, app.name+"\n"+app.summary, 2, stock_image, 3, app);
47
43
        }
61
57
        }
62
58
        
63
59
        public AppsTree () {
64
 
                        theme = IconTheme.get_default();
65
 
                        theme.append_search_path ("/usr/share/app-install/icons/");
 
60
                        theme = IconTheme.get_default ();
 
61
                        theme.append_search_path ("/usr/share/app-install/icons");
66
62
                        
67
63
                        Type t_string = typeof (string);
68
64
            model = new ListStore(4,