From 70aad31df6af88e4a04c8ce9a69092b4c05e8fb1 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 8 Oct 2011 13:49:31 +0000 Subject: Default search ico should only come from theme svn path=/trunk/netsurf/; revision=13011 --- amiga/theme.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'amiga/theme.c') diff --git a/amiga/theme.c b/amiga/theme.c index d71421f48..bee0a0b75 100644 --- a/amiga/theme.c +++ b/amiga/theme.c @@ -38,6 +38,7 @@ #include "amiga/drag.h" #include "amiga/options.h" #include "amiga/theme.h" +#include "desktop/searchweb.h" #include "utils/messages.h" #include "utils/utils.h" @@ -96,6 +97,7 @@ char *ptrs32[AMI_LASTPOINTER+1] = { void ami_theme_init(void) { char themefile[1024]; + char searchico[1024]; BPTR lock = 0; strcpy(themefile,option_theme); @@ -121,6 +123,9 @@ void ami_theme_init(void) UnLock(lock); messages_load(themefile); } + + ami_get_theme_filename(searchico, "theme_search", false); + search_default_ico_location = (char *)strdup(searchico); } void ami_theme_throbber_setup(void) -- cgit v1.2.3