summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-03-10 12:41:41 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-03-10 12:41:41 +0000
commit9d3b7b43fd7852ca2736ec9862f30f9d3cdf43aa (patch)
tree851bed9affc305ccfceca7cedb9b077713ceec8b
parentabd453166f8de6c0136f697765f327e33b7e3a27 (diff)
downloadnetsurf-9d3b7b43fd7852ca2736ec9862f30f9d3cdf43aa.tar.gz
netsurf-9d3b7b43fd7852ca2736ec9862f30f9d3cdf43aa.tar.bz2
Update status bar when standalone images are done.
svn path=/trunk/netsurf/; revision=3917
-rw-r--r--image/bmp.c2
-rw-r--r--image/gif.c2
-rw-r--r--image/ico.c2
-rw-r--r--image/jpeg.c2
-rw-r--r--image/mng.c2
-rw-r--r--image/rsvg.c2
-rw-r--r--image/svg.c2
-rw-r--r--riscos/artworks.c2
-rw-r--r--riscos/draw.c2
-rw-r--r--riscos/sprite.c2
10 files changed, 20 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;
}
diff --git a/riscos/artworks.c b/riscos/artworks.c
index add194a94..5dea449c9 100644
--- a/riscos/artworks.c
+++ b/riscos/artworks.c
@@ -196,6 +196,8 @@ bool artworks_convert(struct content *c, int width, int height)
snprintf(c->title, 100, messages_get("ArtWorksTitle"), c->width,
c->height, c->source_size);
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}
diff --git a/riscos/draw.c b/riscos/draw.c
index 50bf67a97..fcf954131 100644
--- a/riscos/draw.c
+++ b/riscos/draw.c
@@ -72,6 +72,8 @@ bool draw_convert(struct content *c, int width, int height)
snprintf(c->title, 100, messages_get("DrawTitle"), c->width,
c->height, c->source_size);
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}
diff --git a/riscos/sprite.c b/riscos/sprite.c
index 18bebf3e7..7867c8b1d 100644
--- a/riscos/sprite.c
+++ b/riscos/sprite.c
@@ -85,6 +85,8 @@ bool sprite_convert(struct content *c, int width, int height)
snprintf(c->title, 100, messages_get("SpriteTitle"), c->width,
c->height, c->source_size);
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}