Mercurial > audlegacy
comparison src/audacious/ui_equalizer.c @ 2843:91ef09fe7936 trunk
UiSkinnedButton can now work as TButton
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 17 Jun 2007 15:53:59 +0200 |
parents | 182aa34ae6c4 |
children | bec320cfcc12 |
comparison
equal
deleted
inserted
replaced
2842:c2622a939e9e | 2843:91ef09fe7936 |
---|---|
839 gtk_widget_set_size_request(equalizerwin, 275, | 839 gtk_widget_set_size_request(equalizerwin, 275, |
840 (cfg.equalizer_shaded ? 14 : 116)); | 840 (cfg.equalizer_shaded ? 14 : 116)); |
841 gdk_flush(); | 841 gdk_flush(); |
842 draw_equalizer_window(TRUE); | 842 draw_equalizer_window(TRUE); |
843 cfg.equalizer_visible = TRUE; | 843 cfg.equalizer_visible = TRUE; |
844 tbutton_set_toggled(mainwin_eq, TRUE); | 844 //FIXME: set mainwin_eq->inside as TRUE and redraw it |
845 | 845 |
846 gtk_widget_show(equalizerwin); | 846 gtk_widget_show(equalizerwin); |
847 } | 847 } |
848 | 848 |
849 void | 849 void |
853 * This function should only be called from the | 853 * This function should only be called from the |
854 * main menu signal handler | 854 * main menu signal handler |
855 */ | 855 */ |
856 gtk_widget_hide(equalizerwin); | 856 gtk_widget_hide(equalizerwin); |
857 cfg.equalizer_visible = FALSE; | 857 cfg.equalizer_visible = FALSE; |
858 tbutton_set_toggled(mainwin_eq, FALSE); | 858 //FIXME: set mainwin_eq->inside as FALSE and redraw it |
859 } | 859 } |
860 | 860 |
861 static EqualizerPreset * | 861 static EqualizerPreset * |
862 equalizerwin_find_preset(GList * list, const gchar * name) | 862 equalizerwin_find_preset(GList * list, const gchar * name) |
863 { | 863 { |