[geary/wip/522-mailto-broken] Add HANDLES_OPEN flag to GearyApplication
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/522-mailto-broken] Add HANDLES_OPEN flag to GearyApplication
- Date: Thu, 29 Aug 2019 13:34:54 +0000 (UTC)
commit d50efbbc4e5693fe46cc98d83bb886eee2458a9f
Author: Michael Gratton <mike vee net>
Date: Thu Aug 29 23:31:50 2019 +1000
Add HANDLES_OPEN flag to GearyApplication
Fixes Geary not working as a mailto: handler due to the GAppplication
DBus implementation not passing on the open action if not set.
See GNOME/glib#1853
Fixes #522
src/client/application/geary-application.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala
index 77307393..1a3c9a16 100644
--- a/src/client/application/geary-application.vala
+++ b/src/client/application/geary-application.vala
@@ -363,7 +363,7 @@ public class GearyApplication : Gtk.Application {
public GearyApplication() {
Object(
application_id: APP_ID,
- flags: GLib.ApplicationFlags.HANDLES_COMMAND_LINE
+ flags: HANDLES_OPEN | HANDLES_COMMAND_LINE
);
this.add_main_option_entries(OPTION_ENTRIES);
_instance = this;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]