Mercurial > audlegacy
changeset 2903:ef8ad0a5cbdd trunk
redraw custom widgets when needed
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 24 Jun 2007 17:06:47 +0200 |
parents | 2b379b796c84 |
children | b1c7ad9aa9f8 |
files | src/audacious/ui_playlist.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_playlist.c Sun Jun 24 16:29:22 2007 +0200 +++ b/src/audacious/ui_playlist.c Sun Jun 24 17:06:47 2007 +0200 @@ -1414,6 +1414,12 @@ if (redraw || force) { if (force) { gdk_window_clear(playlistwin->window); + GList *iter; + for (iter = GTK_FIXED (SKINNED_WINDOW(playlistwin)->fixed)->children; iter; iter = g_list_next (iter)) { + GtkFixedChild *child_data = (GtkFixedChild *) iter->data; + GtkWidget *child = child_data->widget; + g_signal_emit_by_name(child, "redraw"); + } } else { for (wl = playlistwin_wlist; wl; wl = g_list_next(wl)) {