mirror of
https://github.com/gryf/pywmtemp.git
synced 2026-02-21 01:05:54 +01:00
Added label for the graph.
This commit is contained in:
@@ -216,6 +216,9 @@ class SensorDockApp(wmdocklib.DockApp):
|
|||||||
self._put_string(item, position)
|
self._put_string(item, position)
|
||||||
position += self.char_height
|
position += self.char_height
|
||||||
self._draw_graph()
|
self._draw_graph()
|
||||||
|
name = self._current_graph.upper()
|
||||||
|
name = name[:4]
|
||||||
|
self.add_string(name, 1, 50)
|
||||||
|
|
||||||
count += 1
|
count += 1
|
||||||
if count >= 10:
|
if count >= 10:
|
||||||
|
|||||||
Reference in New Issue
Block a user