File: Support-GNOME-42-dark-theme-preference.patch

package info (click to toggle)
gnome-mines 1%3A48.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,620 kB
  • sloc: xml: 69; sh: 7; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Jeremy Bicha <jbicha@debian.org>
Date: Wed, 16 Feb 2022 11:14:22 -0500
Subject: Support GNOME 42 dark theme preference

Forwarded: https://gitlab.gnome.org/GNOME/gnome-mines/-/merge_requests/33
---
 src/gnome-mines.vala | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 5ccf56c..71183cd 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -130,10 +130,6 @@ public class Mines : Adw.Application
 
         Window.set_default_icon_name ("org.gnome.Mines");
 
-        // TODO Support dark mode, We force light mode until there is proper
-        // support for it.
-        Adw.StyleManager.get_default ().color_scheme = FORCE_LIGHT;
-
         add_action_entries (action_entries, this);
         new_game_action = lookup_action ("new-game") as SimpleAction;
         new_game_action.set_enabled (true);