From 9587a0efe37929347c4650101b7e9c40151c6528 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Tue, 6 Nov 2018 06:09:19 +0100 Subject: [PATCH] Fix invisible text in prefs. --- src/prefs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/prefs.js b/src/prefs.js index 5279ad4..8a19c2a 100644 --- a/src/prefs.js +++ b/src/prefs.js @@ -378,6 +378,7 @@ const WeatherPrefsWidget = new GObject.Class({ let renderer = new Gtk.CellRendererText(); column.pack_start(renderer, null); + column.add_attribute(renderer, "text", 0); column.set_cell_data_func(renderer, function() { arguments[1].markup = arguments[2].get_value(arguments[3], 0); @@ -387,6 +388,7 @@ const WeatherPrefsWidget = new GObject.Class({ this.treeview.append_column(column); column.pack_start(renderer, null); + column.add_attribute(renderer, "text", 1); column.set_cell_data_func(renderer, function() { arguments[1].markup = arguments[2].get_value(arguments[3], 1);