~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-03-18 10:38:53 UTC
  • Revision ID: eco.stefi@fastwebnet.it-20120318103853-v7wg1qfuifjkc3gc
Implemented dynamic category view

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        
48
48
        public void on_cursor_changed (TreeView widget) {
49
49
            get_cursor(out path, null);
50
 
            model.get_iter(out iter, path);
51
 
            model.get_value(iter, 4, out value);
52
 
            selected_row(value.get_string());
 
50
            if (path != null) {
 
51
                model.get_iter(out iter, path);
 
52
                model.get_value(iter, 4, out value);
 
53
                selected_row(value.get_string());
 
54
            }
53
55
        }
54
56
        
55
57
        public AppsTree () {
100
102
            pack_start(info_message, false, false, 0);
101
103
        }
102
104
    }
103
 
}
 
 
b'\\ No newline at end of file'
 
105
}