Merge lp:~raof/do/do.platform-autostart into lp:do
Proposed by
Chris Halse Rogers
Status: | Merged |
---|---|
Merge reported by: | Chris Halse Rogers |
Merged at revision: | not available |
Proposed branch: | lp:~raof/do/do.platform-autostart |
Merge into: | lp:do |
To merge this branch: | bzr merge lp:~raof/do/do.platform-autostart |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Siegel (community) | Approve | ||
Review via email: mp+3675@code.launchpad.net |
To post a comment you must log in.
This fixes autostart in a platform- independent way.
Currently, we handle autostart by just adding and deleting gnome-do.desktop from ~/.config/ autostart/ in the Preferences dialog. This is obviously not platform-neutral, and is wrong even in GNOME - when there's an autostart file in /etc/xdg/autostart, deleting the file in ~/.config/autostart doesn't prevent autostart.
This branch fixes these issues by adding and AutostartService with an XdgAutostartService implemented in Do.Platform.Linux. This uses Gnome.DesktopItem to toggle the Hidden key in the autostart file.