diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-03-10 12:41:41 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-03-10 12:41:41 +0000 |
commit | 9d3b7b43fd7852ca2736ec9862f30f9d3cdf43aa (patch) | |
tree | 851bed9affc305ccfceca7cedb9b077713ceec8b /image | |
parent | abd453166f8de6c0136f697765f327e33b7e3a27 (diff) | |
download | netsurf-9d3b7b43fd7852ca2736ec9862f30f9d3cdf43aa.tar.gz netsurf-9d3b7b43fd7852ca2736ec9862f30f9d3cdf43aa.tar.bz2 |
Update status bar when standalone images are done.
svn path=/trunk/netsurf/; revision=3917
Diffstat (limited to 'image')
-rw-r--r-- | image/bmp.c | 2 | ||||
-rw-r--r-- | image/gif.c | 2 | ||||
-rw-r--r-- | image/ico.c | 2 | ||||
-rw-r--r-- | image/jpeg.c | 2 | ||||
-rw-r--r-- | image/mng.c | 2 | ||||
-rw-r--r-- | image/rsvg.c | 2 | ||||
-rw-r--r-- | image/svg.c | 2 |
7 files changed, 14 insertions, 0 deletions
diff --git a/image/bmp.c b/image/bmp.c index ed1ea6c02..74b03e77b 100644 --- a/image/bmp.c +++ b/image/bmp.c @@ -84,6 +84,8 @@ bool nsbmp_convert(struct content *c, int iwidth, int iheight) { /* exit as a success */ c->bitmap = bmp->bitmap; c->status = CONTENT_STATUS_DONE; + /* Done: update status bar */ + content_set_status(c, ""); return true; } diff --git a/image/gif.c b/image/gif.c index 657f1a666..02cb89bcb 100644 --- a/image/gif.c +++ b/image/gif.c @@ -122,6 +122,8 @@ bool nsgif_convert(struct content *c, int iwidth, int iheight) { */ c->bitmap = gif->frame_image; c->status = CONTENT_STATUS_DONE; + /* Done: update status bar */ + content_set_status(c, ""); return true; } diff --git a/image/ico.c b/image/ico.c index 45d445000..fa82c1619 100644 --- a/image/ico.c +++ b/image/ico.c @@ -87,6 +87,8 @@ bool nsico_convert(struct content *c, int iwidth, int iheight) { assert(bmp); c->bitmap = bmp->bitmap; c->status = CONTENT_STATUS_DONE; + /* Done: update status bar */ + content_set_status(c, ""); return true; } diff --git a/image/jpeg.c b/image/jpeg.c index 523a52fce..57c70213e 100644 --- a/image/jpeg.c +++ b/image/jpeg.c @@ -153,6 +153,8 @@ bool nsjpeg_convert(struct content *c, int w, int h) width, height, c->source_size); c->size += height * rowstride + 100; c->status = CONTENT_STATUS_DONE; + /* Done: update status bar */ + content_set_status(c, ""); return true; } diff --git a/image/mng.c b/image/mng.c index 450e038ae..857b0d585 100644 --- a/image/mng.c +++ b/image/mng.c @@ -291,6 +291,8 @@ bool nsmng_convert(struct content *c, int width, int height) { c->size += c->width * c->height * 4 + 100; c->status = CONTENT_STATUS_DONE; + /* Done: update status bar */ + content_set_status(c, ""); /* jmb: I'm really not sure that this should be here. * The *_convert functions are for converting a content into a diff --git a/image/rsvg.c b/image/rsvg.c index 812a1889e..740d2cc7d 100644 --- a/image/rsvg.c +++ b/image/rsvg.c @@ -172,6 +172,8 @@ bool rsvg_convert(struct content *c, int iwidth, int iheight) c->bitmap = d->bitmap; c->status = CONTENT_STATUS_DONE; + /* Done: update status bar */ + content_set_status(c, ""); return true; } diff --git a/image/svg.c b/image/svg.c index 9f39cd61f..ee33c1c46 100644 --- a/image/svg.c +++ b/image/svg.c @@ -73,6 +73,8 @@ bool svg_convert(struct content *c, int w, int h) width, height, c->source_size);*/ //c->size += ?; c->status = CONTENT_STATUS_DONE; + /* Done: update status bar */ + content_set_status(c, ""); return true; } |