[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:58:54 +0000 (UTC)
commit c0b9aaf811295ab991ab2191fb9430b9e7256888
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 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala
index 77307393..078241e9 100644
--- a/src/client/application/geary-application.vala
+++ b/src/client/application/geary-application.vala
@@ -363,7 +363,10 @@ public class GearyApplication : Gtk.Application {
public GearyApplication() {
Object(
application_id: APP_ID,
- flags: GLib.ApplicationFlags.HANDLES_COMMAND_LINE
+ flags: (
+ GLib.ApplicationFlags.HANDLES_OPEN |
+ GLib.ApplicationFlags.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]