comparison src/audacious/ui_preferences.c @ 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
comparison
equal deleted inserted replaced
3991:d6ac99c2be1d 3992:50bf02b4f048
1572 } 1572 }
1573 1573
1574 static void 1574 static void
1575 on_colorize_button_clicked(GtkButton *button, gpointer data) 1575 on_colorize_button_clicked(GtkButton *button, gpointer data)
1576 { 1576 {
1577 create_colorize_settings(); 1577 if (colorize_settings)
1578 gtk_window_present(GTK_WINDOW(colorize_settings));
1579 else
1580 create_colorize_settings();
1578 } 1581 }
1579 1582
1580 static void 1583 static void
1581 reload_skin() 1584 reload_skin()
1582 { 1585 {
1609 } 1612 }
1610 1613
1611 static void 1614 static void
1612 on_colorize_close_clicked(GtkButton *button, gpointer data) 1615 on_colorize_close_clicked(GtkButton *button, gpointer data)
1613 { 1616 {
1614 gtk_widget_destroy(colorize_settings); 1617 gtk_widget_destroy(colorize_settings);
1618 colorize_settings = NULL;
1615 } 1619 }
1616 1620
1617 static void 1621 static void
1618 on_filepopup_for_tuple_settings_clicked(GtkButton *button, gpointer data) 1622 on_filepopup_for_tuple_settings_clicked(GtkButton *button, gpointer data)
1619 { 1623 {