diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-12-19 15:57:53 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-12-19 15:57:53 +0000 |
commit | 8a77de83772994a21e1287d60e7225878697c61a (patch) | |
tree | 44dd48907ecf5c28979f619f10f4f4e9fccbe71c /amiga/menu.c | |
parent | d9b17c8077e289c5462c013c74f505fb22fbc431 (diff) | |
download | netsurf-8a77de83772994a21e1287d60e7225878697c61a.tar.gz netsurf-8a77de83772994a21e1287d60e7225878697c61a.tar.bz2 |
Save favicon as part of icon for save_complete drawers and PDFs
svn path=/trunk/netsurf/; revision=9744
Diffstat (limited to 'amiga/menu.c')
-rwxr-xr-x | amiga/menu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/menu.c b/amiga/menu.c index 7ceb9191d..e3da503a0 100755 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -48,6 +48,7 @@ #include "content/fetch.h" #include "amiga/gui_options.h" #include "amiga/print.h" +#include "amiga/download.h" BOOL menualreadyinit; const char * const netsurf_version; @@ -514,6 +515,8 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item) UnLock(lock); save_complete(gwin->bw->current_content,fname); SetComment(fname,gwin->bw->current_content->url); + ami_superimpose_favicon(fname, + gwin->bw->window->favicon, NULL); } ami_update_pointer(gwin->win,GUI_POINTER_DEFAULT); } @@ -532,6 +535,8 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item) ami_update_pointer(gwin->win,GUI_POINTER_WAIT); save_as_pdf(gwin->bw->current_content,fname); SetComment(fname,gwin->bw->current_content->url); + ami_superimpose_favicon(fname, + gwin->bw->window->favicon, "pdf"); ami_update_pointer(gwin->win,GUI_POINTER_DEFAULT); } #endif |