[geary/gnumdk/fix_quit] 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/fix_quit] client: Running as a service does not mean running in the background indefinitely
- Date: Mon, 22 Aug 2022 15:25:42 +0000 (UTC)
commit b4d77ac6ab242563c7d707c2440f818cb6a80e80
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
This is wrong as Geary is mostly started via D-Bus activation: it will never quit.
Ignore --hidden option, it will be removed soon.
Fix #728
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]