client: startup notifications is a freedesktop.org concept
Do not use the same wording for our background mode
This commit is contained in:
parent
f910b82a63
commit
786a9df536
5 changed files with 16 additions and 16 deletions
|
|
@ -210,7 +210,7 @@ public class Application.Client : Gtk.Application {
|
|||
*/
|
||||
public bool is_background_service {
|
||||
get {
|
||||
return this.config.startup_notifications;
|
||||
return this.config.run_in_background;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1151,7 +1151,7 @@ public class Application.Client : Gtk.Application {
|
|||
private async void update_autostart_file() {
|
||||
try {
|
||||
this.autostart.delete_startup_file();
|
||||
if (this.config.startup_notifications) {
|
||||
if (this.config.run_in_background) {
|
||||
this.autostart.install_startup_file();
|
||||
}
|
||||
} catch (GLib.Error err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue