diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-11-16 23:29:40 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-11-16 23:29:40 +0000 |
commit | d508def2d677ab41e32dde4b7b214852f10f08a4 (patch) | |
tree | d0f89ff7d454c6d94c30da932c698288fb4b2ad2 /amiga/menu.c | |
parent | 17bc053fbfba41ea091de7b47a662d5784e1c473 (diff) | |
download | netsurf-d508def2d677ab41e32dde4b7b214852f10f08a4.tar.gz netsurf-d508def2d677ab41e32dde4b7b214852f10f08a4.tar.bz2 |
HTML files with an icon but no MIMETYPE tooltype were being picked up by the
simplehtml datatype. As I'm using dth_BaseName rather than dth_Name, they were being
tagged with the MIME type text/simplehtml. Have made an exception for this case to
translate it to text/html, may in the future consider whether using dth_Name may be
better.
Minor adjustments to the local file requester to prevent .info files from being
displayed.
svn path=/trunk/netsurf/; revision=5711
Diffstat (limited to 'amiga/menu.c')
-rwxr-xr-x | amiga/menu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/amiga/menu.c b/amiga/menu.c index 7cff6b4d4..ec79537fc 100755 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -37,6 +37,7 @@ #include <proto/exec.h> #include "amiga/arexx.h" #include "amiga/save_complete.h" +#include "utils/url.h" BOOL menualreadyinit; const char * const netsurf_version; @@ -396,8 +397,9 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item) ASLFR_TitleText,messages_get("NetSurf"), ASLFR_Screen,scrn, ASLFR_DoSaveMode,FALSE, -// ASLFR_InitialDrawer,option_arexx_dir, -// ASLFR_InitialPattern,"#?.html", + ASLFR_RejectIcons,TRUE, + ASLFR_DoPatterns,TRUE, +// ASLFR_InitialPattern,"~(#?.info)", TAG_DONE)) { if(temp = AllocVec(1024,MEMF_PRIVATE | MEMF_CLEAR)) |