[libadwaita/wip/exalm/hicolor: 9/9] main: Use hicolor icons




commit e5b006619060c12d12b8a22faaac00ed1443fcbe
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]