Pre-release 1.3.3b:

+ added select temperature device
This commit is contained in:
arcan1s
2013-05-29 18:00:20 +04:00
parent cbc475d38b
commit 98458dfcf3
10 changed files with 54 additions and 6 deletions

View File

@ -80,6 +80,7 @@ class Reinit():
self.parent.layout.addItem(self.parent.label_cpu)
elif (order == "2"):
if (self.parent.tempBool == 1):
self.parent.tempdev = str(settings.get('temp_device', '<select device>'))
self.parent.tempFormat = str(settings.get('tempFormat', '[temp: $temp&deg;C]'))
self.parent.label_temp = Plasma.Label(self.parent.applet)
if (self.parent.tempFormat.split('$temp')[0] != self.parent.tempFormat):