diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-08-03 20:24:04 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-08-03 20:24:04 +0200 |
commit | cb628a331b2235465a985e51eb3476b8c7b1e68b (patch) | |
tree | 07e89daf5a1ac485e73f22ccb2ec2a914eeaf0f1 /src/daemon.vala | |
parent | 8ef660cf7c92b3407bf2fbfb0f063b90fbe991cf (diff) | |
parent | 38bebbbddf1b2e8620c6b3c2101f689c0296a1fc (diff) |
Update upstream source from tag 'upstream/0.7.3'
Update to upstream version '0.7.3'
with Debian dir 93afe8369b196a0543bb89394f0f3b70ff9dbb72
Diffstat (limited to 'src/daemon.vala')
-rw-r--r-- | src/daemon.vala | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/daemon.vala b/src/daemon.vala index ba3ae91..6bdf2d5 100644 --- a/src/daemon.vala +++ b/src/daemon.vala @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// Copyright 2011-2018 Simon Schneegans +// Copyright 2011-2021 Simon Schneegans // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the @@ -32,13 +32,13 @@ namespace GnomePie { public class Daemon : GLib.Application { ///////////////////////////////////////////////////////////////////// - /// The current version of Gnome-Pie + /// The current version of Gnome-Pie. ///////////////////////////////////////////////////////////////////// public static string version; ///////////////////////////////////////////////////////////////////// - /// Varaibles set by the commend line parser. + /// Variables set by the command line parser. ///////////////////////////////////////////////////////////////////// public static bool disable_header_bar = false; @@ -46,7 +46,7 @@ public class Daemon : GLib.Application { ///////////////////////////////////////////////////////////////////// - /// true if init_pies() has been called already + /// true if init_pies() has been called already. ///////////////////////////////////////////////////////////////////// private bool initialized = false; @@ -55,7 +55,7 @@ public class Daemon : GLib.Application { ///////////////////////////////////////////////////////////////////// public static int main(string[] args) { - version = "0.7.2"; + version = "0.7.3"; // disable overlay scrollbar --- hacky workaround for black / // transparent background @@ -81,7 +81,7 @@ public class Daemon : GLib.Application { private Indicator indicator = null; ///////////////////////////////////////////////////////////////////// - /// Varaibles set by the commend line parser. + /// Variables set by the command line parser. ///////////////////////////////////////////////////////////////////// private static string open_pie = null; @@ -139,6 +139,10 @@ public class Daemon : GLib.Application { message("Welcome to Gnome-Pie " + version + "!"); + if (GLib.Environment.get_variable("XDG_SESSION_TYPE") == "wayland") { + warning("Running on Wayland - running with limited options."); + } + this.init_pies(); // launch the indicator |