summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ephy-shell.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 2ee5684f4..ee00aab8d 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -494,6 +494,15 @@ ephy_shell_startup (GApplication *application)
hdy_init ();
+ /* if we are under pantheon set the icon-theme and cursor theme accordingly */
+ if (is_desktop_pantheon ()) {
+ GtkSettings *settings = gtk_settings_get_default ();
+ g_object_set (settings,
+ "gtk-icon-theme-name", "elementary",
+ "gtk-cursor-theme-name", "elementary",
+ NULL);
+ }
+
/* We're not remoting; start our services */
mode = ephy_embed_shell_get_mode (embed_shell);