~elementary-pantheon/switchboard/switchboard

« back to all changes in this revision

Viewing changes to src/CategoryView.vala

  • Committer: RabbitBot
  • Author(s): Akshay Shekher
  • Date: 2014-05-27 12:20:51 UTC
  • mfrom: (446.1.4 switchboard)
  • Revision ID: rabbitbot-20140527122051-pgzqgsu105kbx8k7
SwitchboardApp now handle command line even if launched

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        public Gtk.IconView network_iconview;
44
44
        public Gtk.IconView system_iconview;
45
45
 
46
 
        public CategoryView () {
 
46
        private string? plug_to_open = null;
 
47
 
 
48
        public CategoryView (string? plug_to_open = null) {
 
49
            this.plug_to_open = plug_to_open;
 
50
 
47
51
            setup_category (Switchboard.Plug.Category.PERSONAL, 0);
48
52
            setup_category (Switchboard.Plug.Category.HARDWARE, 1);
49
53
            setup_category (Switchboard.Plug.Category.NETWORK, 2);