Commit 0ede9187 authored by Michael Gratton's avatar Michael Gratton 🤞

Ensure running with --hidden doesn't open a window

parent 92fe3f8f
Pipeline #81012 failed with stages
in 15 minutes and 39 seconds
......@@ -753,6 +753,8 @@ public class GearyApplication : Gtk.Application {
Geary.Logging.log_to(null);
}
bool activated = false;
// Logging flags
if (options.contains(OPTION_LOG_NETWORK))
Geary.Logging.enable_flags(Geary.Logging.Flag.NETWORK);
......@@ -780,9 +782,11 @@ public class GearyApplication : Gtk.Application {
// Update the autostart file so that it stops using the
// --hidden option.
this.update_autostart_file.begin();
// Then manually start the controller
this.create_controller.begin();
activated = true;
}
bool activated = false;
if (options.contains(GLib.OPTION_REMAINING)) {
string[] args = options.lookup_value(
GLib.OPTION_REMAINING,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment