gnome-shell/src/st
Florian Müllner a09feb4b47 st/texture-cache: Cancel pending requests on icon-theme changes
As outlined in commit 36b8dcbe07, we can end up with wrong icons
if the icon theme changes right after a GTK theme change to/from
HighContrast triggered a theme reload.

That's because when we reload icons for the new icon theme, there
are already pending requests due to the icon-style change; those
requests are simply re-used for the new icons, with the existing
icon infos from the old theme.

The above commit applied a simple work-around by changing the
icon theme before the GTK theme, but that only works for the
HighContrast switch in our own UI.

It turns out that Settings also uses the "wrong" order, so the
issue still reproduces with the Universal Access panel.

So instead of relying on everything changing the settings in the
order we expect, cancel all ongoing requests on icon-theme changes.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1277


(cherry picked from commit d81237b9d6)
2020-05-25 13:14:26 +00:00
..
croco Fix always-true condition 2019-12-02 08:04:51 -06:00
meson.build Introduce StViewport 2020-01-20 16:15:22 -03:00
st-adjustment.c cleanup: Use g_clear_signal_handler() where possible 2019-11-21 22:37:37 +00:00
st-adjustment.h st: Add transition API to StAdjustment 2019-08-07 18:40:44 +02:00
st-bin.c st: Remove StBin's align properties 2019-11-04 21:27:56 +01:00
st-bin.h st: Remove StBin's align properties 2019-11-04 21:27:56 +01:00
st-border-image.c st: always use GFile internally 2014-10-14 18:53:39 -07:00
st-border-image.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-box-layout-child.c st: Deprecate StBoxLayout child properties 2019-11-01 19:42:02 +00:00
st-box-layout-child.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-box-layout.c st/box-layout: Reimplement as a StViewport subclass 2020-01-20 16:15:32 -03:00
st-box-layout.h st/box-layout: Reimplement as a StViewport subclass 2020-01-20 16:15:32 -03:00
st-button.c st/button: Notify :pressed changes 2019-11-22 18:55:40 +01:00
st-button.h st/button: Add the clicked button to virtual function signature 2019-10-16 15:26:13 +00:00
st-clipboard.c st: Add StClipboard method to set arbitrary clipboard content 2019-11-06 22:45:22 +00:00
st-clipboard.h st: Add StClipboard method to set arbitrary clipboard content 2019-11-06 22:45:22 +00:00
st-drawing-area.c Stop referring to ClutterTexture 2019-11-12 22:05:13 +01:00
st-drawing-area.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-entry.c st/entry: Allow hint actor to shrink 2020-04-28 20:05:23 +00:00
st-entry.h st: Make StEntry rely entirely on ClutterInputMethod/Focus 2018-02-05 17:46:57 +01:00
st-focus-manager.c st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
st-focus-manager.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-generic-accessible.c st: Remove wrong indentation 2015-10-05 12:04:55 +01:00
st-generic-accessible.h a11y: add a generic accessible 2013-08-28 16:05:54 +02:00
st-icon-colors.c st: Add st_icon_colors_equal() 2019-07-07 21:01:33 +00:00
st-icon-colors.h st: Add st_icon_colors_equal() 2019-07-07 21:01:33 +00:00
st-icon.c st/icon: Use a static GIcon for the missing-image icon 2020-04-04 19:40:10 +00:00
st-icon.h st/icon: Add API to set the fallback GIcon 2020-01-13 14:44:08 +01:00
st-image-content.c Stop referring to ClutterTexture 2019-11-12 22:05:13 +01:00
st-image-content.h st-image-content: Wrap ClutterImage with explicit preferred size 2019-03-01 17:12:52 +00:00
st-label.c Use paint and pick context to get framebuffer 2019-12-03 19:07:15 +00:00
st-label.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-password-entry.c st/password-entry: Fix peek icon leak 2020-03-08 23:51:55 +01:00
st-password-entry.h StPasswordEntry: Add the peek-password-icon for show/hide passwords 2019-12-17 23:08:43 +01:00
st-private.c st: Honor alpha range specified by pango_attr_foreground_alpha_new() 2020-03-28 16:58:30 +00:00
st-private.h st: Cleanup ST_PARAM_* and add WRITABLE version 2019-07-30 13:58:44 +00:00
st-scroll-bar.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:45:25 +01:00
st-scroll-bar.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-scroll-view-fade.c st: Fix generated GLSL dependency 2019-12-20 21:02:45 +01:00
st-scroll-view-fade.glsl St: Fix fade effect 2013-09-18 20:01:49 +02:00
st-scroll-view-fade.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-scroll-view.c Adapt to painting and picking API change 2019-12-03 19:07:15 +00:00
st-scroll-view.h st: Add StPolicyType enum 2019-01-30 22:50:01 +01:00
st-scrollable.c Ensure G_PARAM_STATIC_STRINGS for all properties 2019-07-30 13:58:44 +00:00
st-scrollable.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-settings.c st/settings: Add API to inhibit animations 2020-02-20 11:14:55 +00:00
st-settings.h st/settings: Add API to inhibit animations 2020-02-20 11:14:55 +00:00
st-shadow.c st-shadow: Add a CoglFramebuffer argument 2019-01-28 12:35:54 -02:00
st-shadow.h st-shadow: Remove unnecessary ';' 2019-03-04 22:29:33 +00:00
st-texture-cache.c st/texture-cache: Cancel pending requests on icon-theme changes 2020-05-25 13:14:26 +00:00
st-texture-cache.h shell/app-system: Monitor for icon theme changes 2019-08-08 15:22:44 +00:00
st-theme-context.c st/theme-context: Also remove theme nodes on stylesheet changes 2020-04-28 20:11:15 +00:00
st-theme-context.h st/theme-context: Add a getter for the scale-factor property 2020-04-06 14:37:35 -03:00
st-theme-node-drawing.c st/theme-node: Use the node's scale factor 2020-04-06 14:37:35 -03:00
st-theme-node-private.h st/theme-context: Also remove theme nodes on stylesheet changes 2020-04-28 20:11:15 +00:00
st-theme-node-transition.c cleanup: Use g_clear_signal_handler() where possible 2019-11-21 22:37:37 +00:00
st-theme-node-transition.h st-theme-node: Paint elements in resource-scale scaled surfaces 2019-03-01 17:12:52 +00:00
st-theme-node.c st/theme-context: Also remove theme nodes on stylesheet changes 2020-04-28 20:11:15 +00:00
st-theme-node.h st-theme-node: Paint elements in resource-scale scaled surfaces 2019-03-01 17:12:52 +00:00
st-theme-private.h Include the libcroco sources directly under src/st/croco 2019-11-29 17:50:03 +00:00
st-theme.c st/theme: Remove entry from files_by_stylesheet after emitting signal 2020-05-21 22:47:15 +00:00
st-theme.h st: Drop StWidget theme overriding API 2019-11-05 12:36:28 +00:00
st-types.h st: Remove StIconType 2012-08-29 16:41:09 -03:00
st-viewport.c Introduce StViewport 2020-01-20 16:15:22 -03:00
st-viewport.h Introduce StViewport 2020-01-20 16:15:22 -03:00
st-widget-accessible.h StWidgetAccessible: accessibility support for StWidget 2011-01-20 12:56:46 +01:00
st-widget.c st: Ensure to reset all widget theme nodes 2020-04-28 22:00:32 +02:00
st-widget.h Adapt to painting and picking API change 2019-12-03 19:07:15 +00:00
st.h.in build: Support the meson build system 2017-07-20 00:20:54 +02:00
test-theme.c st: Adjust theme test 2019-08-27 15:30:51 +03:00
test-theme.css test-theme: Stop using ClutterCairoTexture 2019-02-26 03:04:00 +01:00