/*
- * Copyright (C) 2010-2013 jeanfi@gmail.com
+ * Copyright (C) 2010-2014 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
if (coli == COL_COLOR) {
if (ui_change_color(_("Select foreground color"),
- s->color)) {
+ s->color,
+ GTK_WINDOW(ui->main_window))) {
ui_sensorlist_update(ui, 1);
config_set_sensor_color(s->id, s->color);
}