add parameter to labels to silence IDE warnings

This commit is contained in:
alfrix
2023-07-17 13:56:27 -03:00
committed by Alfredo Monclus
parent a149796b19
commit 3c69bcb4c4
7 changed files with 21 additions and 21 deletions

View File

@@ -441,7 +441,7 @@ class TemperaturePanel(ScreenPanel):
self.labels['devices'].get_style_context().add_class('heater-grid')
self.labels['devices'].set_vexpand(False)
name = Gtk.Label("")
name = Gtk.Label()
temp = Gtk.Label(_("Temp (°C)"))
temp.get_style_context().add_class("heater-grid-temp")