client: startup notifications is a freedesktop.org concept

Do not use the same wording for our background mode
This commit is contained in:
Cédric Bellegarde 2022-08-23 07:12:55 +02:00 committed by Cédric Bellegarde
parent f910b82a63
commit 786a9df536
5 changed files with 16 additions and 16 deletions

View file

@ -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) {