summaryrefslogtreecommitdiff
path: root/amiga/theme.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-10-08 13:49:31 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-10-08 13:49:31 +0000
commit70aad31df6af88e4a04c8ce9a69092b4c05e8fb1 (patch)
treef049e8bddca882fdbf44ed6456c36e2a8571cfd2 /amiga/theme.c
parenta809db0c73ee045159a1e600ac00a69bcb8491d2 (diff)
downloadnetsurf-70aad31df6af88e4a04c8ce9a69092b4c05e8fb1.tar.gz
netsurf-70aad31df6af88e4a04c8ce9a69092b4c05e8fb1.tar.bz2
Default search ico should only come from theme
svn path=/trunk/netsurf/; revision=13011
Diffstat (limited to 'amiga/theme.c')
-rw-r--r--amiga/theme.c5
1 files changed, 5 insertions, 0 deletions
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)