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

« back to all changes in this revision

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

  • Committer: Stephen Smally
  • Date: 2012-07-04 13:40:36 UTC
  • Revision ID: eco.stefi@fastwebnet.it-20120704134036-jzxry23ch4in5o80
Implemented packages list via Database, listing works and is fast!

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        }
37
37
        
38
38
        public void update (string pkg_name) {
39
 
            stdout.printf("%s\n", pkg_name);
40
 
            pkg.set_id(pkg_name);
41
39
            no_show_all = false;
42
40
            show_all();
43
 
            text.set_label(@"Selected package <b>$(pkg.get_name())</b>");
 
41
            text.set_label("Selected package <b>%s</b>".printf (pkg_name));
44
42
        }
45
43
        
46
44
        public InfoMessage () {