[epiphany/alatiera/ele-stylesheet] wip: hardcode elementary icons if pantheon



commit 194fd1e7e15983562cded16d21de784a2baafa43
Author: Jordan Petridis <jpetridis gnome org>
Date:   Thu Nov 12 16:13:19 2020 +0200

    wip: hardcode elementary icons if pantheon

 src/ephy-window.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index b661d99d1..f536c6b1c 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3991,6 +3991,14 @@ static void
 ephy_window_init (EphyWindow *window)
 {
   LOG ("EphyWindow initialising %p", window);
+
+  if (is_desktop_pantheon ()) {
+    GtkSettings *settings = gtk_settings_get_default();
+    g_object_set(settings,
+                 "gtk-icon-theme-name",
+                 "elementary",
+                 NULL);
+  }
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]