GTK4 changes how icons are loaded - only icons that are set up to follow icon theme paths are recolored. The way the network panel loaded icons wasn't compatible with this, causing icons to stay dark in dark mode. This commit adjusts the gresource so that icons are in `$RESOURCE_BASE_PATH/icons/scalable/actions`. Since GTK knows how to handle that automatically, we can simply use `icon-name` instead of loading a full icon path.
23 lines
1.1 KiB
XML
23 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gresources>
|
|
<gresource prefix="/org/gnome/control-center/network">
|
|
<!-- Network panel -->
|
|
<file preprocess="xml-stripblanks">cc-network-panel.ui</file>
|
|
<file preprocess="xml-stripblanks">cc-wifi-connection-row.ui</file>
|
|
<file preprocess="xml-stripblanks">cc-wifi-hotspot-dialog.ui</file>
|
|
<file preprocess="xml-stripblanks">network-bluetooth.ui</file>
|
|
<file preprocess="xml-stripblanks">network-proxy.ui</file>
|
|
<file preprocess="xml-stripblanks">network-vpn.ui</file>
|
|
<file preprocess="xml-stripblanks">network-wifi.ui</file>
|
|
<file preprocess="xml-stripblanks">network-mobile.ui</file>
|
|
<file preprocess="xml-stripblanks">network-ethernet.ui</file>
|
|
|
|
<!-- Wi-Fi panel -->
|
|
<file preprocess="xml-stripblanks">cc-wifi-panel.ui</file>
|
|
</gresource>
|
|
<gresource prefix="/org/gnome/ControlCenter/icons/scalable/actions">
|
|
<!-- Wi-Fi panel icons -->
|
|
<file preprocess="xml-stripblanks">lock-small-symbolic.svg</file>
|
|
<file preprocess="xml-stripblanks">warning-small-symbolic.svg</file>
|
|
</gresource>
|
|
</gresources>
|