[libadwaita/wip/exalm/hicolor] main: Use hicolor icons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/hicolor] main: Use hicolor icons
- Date: Wed, 5 May 2021 06:57:09 +0000 (UTC)
commit d39e6e5d9bfff7a8ee3140d5969e3925f19deffa
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue May 4 22:57:42 2021 +0500
main: Use hicolor icons
Don't depend on adwaita-icon-theme, apps should bundle their icons instead.
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/113
src/adw-main.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/adw-main.c b/src/adw-main.c
index 45a3c0d..0bb3f5f 100644
--- a/src/adw-main.c
+++ b/src/adw-main.c
@@ -103,6 +103,10 @@ adw_style_init (void)
update_theme ();
+ g_object_set (settings,
+ "gtk-icon-theme-name", "hicolor",
+ NULL);
+
g_once_init_leave (&guard, 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]