projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switched to GtkColorChooserDialog instead of the deprecated widget GtkColorSelectionD...
[psensor.git]
/
src
/
ui_sensorlist.c
diff --git
a/src/ui_sensorlist.c
b/src/ui_sensorlist.c
index
f21a82e
..
1c3ffb1
100644
(file)
--- 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);
}