summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-12-23 20:32:35 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2009-12-23 20:32:35 +0100
commit1217519ac2f87f96e52d2a1085d2e6660d96d3fb (patch)
tree432ab26417f3a36ff80f27fc63c119ed88d604d8
parentd17a46454b3ff886b0a9834d1ee63056e1d007ba (diff)
Pop old statusbar message when changing image.
-rw-r--r--window_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/window_main.c b/window_main.c
index 0ab12ce..c62b15b 100644
--- a/window_main.c
+++ b/window_main.c
@@ -153,6 +153,7 @@ static void load_pixbuf(const gchar *filepath) {
if(cur_wall) {
base = g_path_get_basename(cur_wall->filepath);
msg = g_strdup_printf("%s: %dx%d", base, cur_wall->width, cur_wall->height);
+ gtk_statusbar_pop(statusbar, image_context);
gtk_statusbar_push(statusbar, image_context, msg);
g_free(base);
g_free(msg);