X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fui_sensorlist.c;h=1c3ffb1fbb79028268a2c74499da20ecc2d9129f;hb=97831c4b309f58946df2a582b2ab466e65b2684f;hp=f21a82e660ad98b69bba481a78384ed5ae688a91;hpb=4be2ee06492365223a3b2043c9da28175fac6041;p=psensor.git diff --git a/src/ui_sensorlist.c b/src/ui_sensorlist.c index f21a82e..1c3ffb1 100644 --- a/src/ui_sensorlist.c +++ b/src/ui_sensorlist.c @@ -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); }