Mercurial > audlegacy
changeset 3992:50bf02b4f048
correct mf0102's commit a bit
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sat, 24 Nov 2007 14:48:01 +0100 |
parents | d6ac99c2be1d |
children | 8d8699eb659d |
files | src/audacious/ui_preferences.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c Sat Nov 24 14:40:23 2007 +0100 +++ b/src/audacious/ui_preferences.c Sat Nov 24 14:48:01 2007 +0100 @@ -1574,7 +1574,10 @@ static void on_colorize_button_clicked(GtkButton *button, gpointer data) { - create_colorize_settings(); + if (colorize_settings) + gtk_window_present(GTK_WINDOW(colorize_settings)); + else + create_colorize_settings(); } static void @@ -1611,7 +1614,8 @@ static void on_colorize_close_clicked(GtkButton *button, gpointer data) { - gtk_widget_destroy(colorize_settings); + gtk_widget_destroy(colorize_settings); + colorize_settings = NULL; } static void