[geary/gnumdk/stable] client: Running as a service does not mean running in the background indefinitely
- From: Cédric Bellegarde <cbellegarde src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/gnumdk/stable] client: Running as a service does not mean running in the background indefinitely
- Date: Mon, 22 Aug 2022 15:05:56 +0000 (UTC)
commit 679d45ba935fc30bc09d1dde1826f33a2c94debd
Author: Cédric Bellegarde <cedric.bellegarde@ædishatz.org>
Date: Mon Aug 22 16:48:22 2022 +0200
client: Running as a service does not mean running in the background indefinitely
src/client/application/application-client.vala | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/client/application/application-client.vala b/src/client/application/application-client.vala
index e6ba85331..3da32b2d1 100644
--- a/src/client/application/application-client.vala
+++ b/src/client/application/application-client.vala
@@ -210,10 +210,7 @@ public class Application.Client : Gtk.Application {
*/
public bool is_background_service {
get {
- return (
- (this.flags & ApplicationFlags.IS_SERVICE) != 0 ||
- this.start_hidden
- );
+ return this.config.startup_notifications;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]