[Webkit-unassigned] [Bug 213465] Dark mode for GTK themes that end with -Dark or :Dark.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 22 19:49:18 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213465
--- Comment #4 from Patrick Griffis <pgriffis at igalia.com> ---
Comment on attachment 402525
--> https://bugs.webkit.org/attachment.cgi?id=402525
Updated patch
>Index: Source/WebKit/UIProcess/API/gtk/PageClientImpl.cpp
>===================================================================
>@@ -625,7 +625,7 @@
> GUniqueOutPtr<char> themeNameSetting;
> g_object_get(gtk_widget_get_settings(m_viewWidget), "gtk-theme-name", &themeNameSetting.outPtr(), nullptr);
> String name = String::fromUTF8(themeNameSetting.get());
>- if (name.endsWith("-dark"))
>+ if (name.endsWith("-dark") || name.endsWith("-dark"))
Typo.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200623/194d5d8a/attachment.htm>
More information about the webkit-unassigned
mailing list