X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui_sensorlist.c;h=1a0aa838d919732985d05f4ffeeef46d97ff37bb;hb=f3b05dae619a7909bd7422b3a82422c9442aa114;hp=f21a82e660ad98b69bba481a78384ed5ae688a91;hpb=1410f23801330c83c83caf21353860ff2bc18399;p=psensor.git diff --git a/src/ui_sensorlist.c b/src/ui_sensorlist.c index f21a82e..1a0aa83 100644 --- a/src/ui_sensorlist.c +++ b/src/ui_sensorlist.c @@ -1,5 +1,5 @@ /* - * 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 @@ -243,7 +243,8 @@ static int clicked_cbk(GtkWidget *widget, GdkEventButton *event, gpointer data) 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); }