[lightsoff] Default everything to gtk-mode



commit 651f54fa3a729c10e047418e5faa8bdad2905d39
Author: Robert Roth <robert roth bee-tf ro>
Date:   Tue May 12 09:53:52 2020 +0300

    Default everything to gtk-mode

 build-aux/org.gnome.LightsOff.json  | 2 +-
 data/org.gnome.LightsOff.desktop.in | 2 +-
 src/lightsoff.vala                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build-aux/org.gnome.LightsOff.json b/build-aux/org.gnome.LightsOff.json
index cca2f04..13850e2 100644
--- a/build-aux/org.gnome.LightsOff.json
+++ b/build-aux/org.gnome.LightsOff.json
@@ -3,7 +3,7 @@
     "runtime": "org.gnome.Platform",
     "runtime-version": "master",
     "sdk": "org.gnome.Sdk",
-    "command": "lightsoff --gtk-mode",
+    "command": "lightsoff",
     "tags": ["nightly"],
     "desktop-file-name-prefix": "(Nightly) ",
     "finish-args": [
diff --git a/data/org.gnome.LightsOff.desktop.in b/data/org.gnome.LightsOff.desktop.in
index f92cec8..41b5f8c 100644
--- a/data/org.gnome.LightsOff.desktop.in
+++ b/data/org.gnome.LightsOff.desktop.in
@@ -5,7 +5,7 @@ Comment=Turn off all the lights
 Keywords=game;logic;board;tiles;adjacent;puzzle;
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
 Icon=org.gnome.LightsOff
-Exec=lightsoff --gtk-mode
+Exec=lightsoff
 Terminal=false
 Type=Application
 Categories=GNOME;GTK;Game;LogicGame;
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index b2bc28b..6868946 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -17,7 +17,7 @@ public class LightsOff : Gtk.Application
     private LightsoffWindow window;
 
     private static bool version = false;
-    private static bool gtk = false;
+    private static bool gtk = true;
 
     private const GLib.OptionEntry[] options = {
         // --version


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