make plug mode default instead of windowed
Bug #837202 reported by
Pim Vullers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Startup Applications Plug |
Opinion
|
Undecided
|
Unassigned |
Bug Description
I propose to use:
...
if (args.length > 1 && args[1] == "window") {
new MainWindow();
} else {
var plug = new Plug ();
}
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.
To post a comment you must log in.
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.