diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-10-08 13:49:31 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-10-08 13:49:31 +0000 |
commit | 70aad31df6af88e4a04c8ce9a69092b4c05e8fb1 (patch) | |
tree | f049e8bddca882fdbf44ed6456c36e2a8571cfd2 /amiga/gui.c | |
parent | a809db0c73ee045159a1e600ac00a69bcb8491d2 (diff) | |
download | netsurf-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/gui.c')
-rwxr-xr-x | amiga/gui.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index ad1c67c6a..a3ce7ad8c 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -365,11 +365,6 @@ void ami_set_options(void) search_engines_file_location = option_search_engines_file; - if((!option_search_ico_file) || (option_search_ico_file[0] == '\0')) - option_search_ico_file = (char *)strdup("PROGDIR:Resources/favicon.ico"); - - search_default_ico_location = option_search_ico_file; - if((!option_font_sans) || (option_font_sans[0] == '\0')) option_font_sans = (char *)strdup("DejaVu Sans"); @@ -3667,17 +3662,6 @@ void gui_window_set_search_ico(hlcache_handle *ico) bm = ami_getcachenativebm(content_get_bitmap(ico), 16, 16, NULL); } - /* generic search image */ - if(bm == NULL) - { - ami_get_theme_filename(fname, "theme_search", false); - if(nsbm = ami_bitmap_from_datatype(fname)) - { - bm = ami_getcachenativebm(nsbm, 16, 16, NULL); - } - free_bm = true; - } - node = (struct nsObject *)GetHead((struct List *)window_list); do { |