make plug mode default instead of windowed

Bug #837202 reported by Pim Vullers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Startup Applications Plug
Opinion
Undecided
Unassigned

Bug Description

I propose to use:
...
        Gtk.init(ref args);
        if (args.length > 1 && args[1] == "window") {
            new MainWindow();
        } else {
            var plug = new Plug ();
            plug.register(_("Startup Applications"));
            plug.show();
        }
        Gtk.main();
...

instead of the current approach since when using this plug without your run_* scripts it opens windowed when opened from switchboard. Making this change allows you still to use windowed for development/testing while it properly integrates into switchboard otherwise.

Revision history for this message
David Green (david4dev) wrote :

Please get the latest revision of lp:plug-startup. Now, you can simply run `make run` to run in switchboard. You can also install it by running `make install` which will allow Switchboard (needs to be the 0.9 version of switchboard from lp:switchboard) to see the plug and run it as a plug.

Changed in plug-startup:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.