summaryrefslogtreecommitdiff
path: root/gtk/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gui.c')
-rw-r--r--gtk/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gui.c b/gtk/gui.c
index e72b2fc8e..591eff425 100644
--- a/gtk/gui.c
+++ b/gtk/gui.c
@@ -327,6 +327,10 @@ nsurl *gui_get_resource_url(const char *path)
if (strcmp(path, "default.css") == 0)
path = "gtkdefault.css";
+ /* favicon.ico -> favicon.png */
+ if (strcmp(path, "favicon.ico") == 0)
+ path = "favicon.png";
+
raw = path_to_url(filepath_sfind(respaths, buf, path));
if (raw != NULL) {
nsurl_create(raw, &url);