From 1217519ac2f87f96e52d2a1085d2e6660d96d3fb Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 23 Dec 2009 20:32:35 +0100 Subject: Pop old statusbar message when changing image. --- window_main.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3