[dconf-editor] Try to understand commandline when flatpak’d.



commit 83a2332edc9b09b4ddfc4c569a61191a2db3fbda
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Feb 26 14:11:13 2018 +0100

    Try to understand commandline when flatpak’d.

 editor/dconf-editor.vala |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/editor/dconf-editor.vala b/editor/dconf-editor.vala
index 718fe82..d1a7316 100644
--- a/editor/dconf-editor.vala
+++ b/editor/dconf-editor.vala
@@ -299,6 +299,12 @@ class ConfigurationEditor : Gtk.Application
         simple_activation ();
     }
 
+    protected override void open (GLib.File [] files, string hint)
+    {
+        warning ("Flatpak test, " + files.length.to_string () + " files.");
+        simple_activation ();
+    }
+
     protected override int command_line (ApplicationCommandLine commands)
     {
         string [] args = {};


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]