gtk/demos
Daniel Boles 15458b5af3 gtk-demo/dnd: Fix, generalise detecting dark theme
Our default theme is now Default, not Adwaita, & HighContrastInverse was
renamed to Default-hc. So these checks did not work anymore. Rather than
hard-coding the new names, & possibly running into the same issue again,
we can just look for the convention of appending -dark to the theme name
and/or the Settings:prefer-dark-theme prop. The latter, we can & likely
SHOULD also apply to all themes - not just ours as before. We also check
for the :dark suffix as that means the theme variant - & before checking
GtkSettings check the GTK_THEME env var, just as GtkSettings itself does
2023-06-28 14:40:06 +01:00
..
constraint-editor Fix compile_resources present source directory 2023-03-07 21:59:50 +00:00
gtk-demo gtk-demo/dnd: Fix, generalise detecting dark theme 2023-06-28 14:40:06 +01:00
icon-browser Fix compile_resources present source directory 2023-03-07 21:59:50 +00:00
node-editor node-editor: Print default renderer in title 2023-05-16 18:53:53 +02:00
print-editor Deprecate GtkAssistant 2023-02-02 08:39:25 +01:00
widget-factory widget-factory: Set a11y labels on scale buttons 2023-06-25 22:28:23 -04:00
meson.build build: Rename another option 2023-05-09 21:41:27 -04:00