aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-05-13 09:04:40 +0200
committerhwspeedy <ns@bigbear.dk>2024-05-13 09:04:40 +0200
commit9eaaf787b3c3291f1ddc127efdaf0f9e8777b488 (patch)
treed6624af3c2f7f4e7333bc248b185741180ba6fdc /shell
parent82866404bb8abf6e10663215e0eb8181de76e52a (diff)
FIX Improve epileptic by more flash removal - improve darkmode detection
Diffstat (limited to 'shell')
-rw-r--r--shell/shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 667a0ce4..91190021 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -512,8 +512,6 @@ static void create_window(void)
shell->notebook = gtk_notebook_new();
gtk_paned_add2(GTK_PANED(shell->vpaned), shell->notebook);
- g_object_get(gtk_settings_get_default(), "gtk-application-prefer-dark-theme", &params.darkmode, NULL);
-
GKeyFile *key_file = g_key_file_new();
gchar *conf_path = g_build_filename(g_get_user_config_dir(), "hardinfo2","settings.ini", NULL);
g_key_file_load_from_file(key_file, conf_path, G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS, NULL);