From 8e21f3df20cc5bf72365070ffe1ad2ab0cbfca5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Mon, 29 Jul 2024 19:28:39 -0700 Subject: [PATCH] Application: don't hardcode theme (#554) * Application: don't hardcode theme * Update wingpanel.metainfo.xml.in --- data/wingpanel.metainfo.xml.in | 1 + src/Application.vala | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/data/wingpanel.metainfo.xml.in b/data/wingpanel.metainfo.xml.in index b34f23b2..5664d7f2 100644 --- a/data/wingpanel.metainfo.xml.in +++ b/data/wingpanel.metainfo.xml.in @@ -46,6 +46,7 @@ Wingpanel has top gap when apps are snapped to left-half/right-half wayland: Opening multitasking view breaks gala + does not follow accent color in X session diff --git a/src/Application.vala b/src/Application.vala index 25e65f95..ffd871b0 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -87,10 +87,6 @@ public class Wingpanel.Application : Gtk.Application { var gtk_settings = Gtk.Settings.get_default (); gtk_settings.gtk_icon_theme_name = "elementary"; - if (!gtk_settings.gtk_theme_name.has_prefix ("io.elementary")) { - gtk_settings.gtk_theme_name = "io.elementary.stylesheet.blueberry"; - } - gtk_settings.gtk_application_prefer_dark_theme = granite_settings.prefers_color_scheme == DARK; granite_settings.notify["prefers-color-scheme"].connect (() => {