changeset 3406:3dc6ef418ec9 trunk

redraw mainwin_repeat and mainwin_shuffle when using hotkeys
author Tomasz Mon <desowin@gmail.com>
date Thu, 30 Aug 2007 10:57:04 +0200
parents 139c998db5e9
children e31fc799f507
files src/audacious/ui_main.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_main.c	Thu Aug 30 09:45:45 2007 +0900
+++ b/src/audacious/ui_main.c	Thu Aug 30 10:57:04 2007 +0200
@@ -2739,6 +2739,7 @@
 {
   cfg.repeat = gtk_toggle_action_get_active( action );
   UI_SKINNED_BUTTON(mainwin_repeat)->inside = cfg.repeat;
+  gtk_widget_queue_draw(mainwin_repeat);
 }
 
 void
@@ -2747,6 +2748,7 @@
   cfg.shuffle = gtk_toggle_action_get_active( action );
   playlist_set_shuffle(cfg.shuffle);
   UI_SKINNED_BUTTON(mainwin_shuffle)->inside = cfg.shuffle;
+  gtk_widget_queue_draw(mainwin_shuffle);
 }
 
 void