Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit 64dc781

Browse files
aekaisatofalkTX
authored andcommitted
Changed tooltip from HTML to plaintext
1 parent 41ab083 commit 64dc781

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/cadence.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,16 +1516,14 @@ def setAppDetails(self, desktop):
15161516
self.label_app_comment.setText(comment)
15171517

15181518
def updateSystrayTooltip(self):
1519-
systrayText = "Cadence<br/>"
1520-
systrayText += "<font size=\"-1\">"
1521-
systrayText += "<b>%s:</b>&nbsp;%s<br/>" % (self.tr("JACK Status"), self.label_jack_status.text())
1522-
systrayText += "<b>%s:</b>&nbsp;%s<br/>" % (self.tr("Realtime"), self.label_jack_realtime.text())
1523-
systrayText += "<b>%s:</b>&nbsp;%s<br/>" % (self.tr("DSP Load"), self.label_jack_dsp.text())
1524-
systrayText += "<b>%s:</b>&nbsp;%s<br/>" % (self.tr("Xruns"), self.label_jack_xruns.text())
1525-
systrayText += "<b>%s:</b>&nbsp;%s<br/>" % (self.tr("Buffer Size"), self.label_jack_bfsize.text())
1526-
systrayText += "<b>%s:</b>&nbsp;%s<br/>" % (self.tr("Sample Rate"), self.label_jack_srate.text())
1527-
systrayText += "<b>%s:</b>&nbsp;%s" % (self.tr("Block Latency"), self.label_jack_latency.text())
1528-
systrayText += "</font><font size=\"-2\"><br/></font>"
1519+
systrayText = "Cadence\n"
1520+
systrayText += "%s: %s\n" % (self.tr("JACK Status"), self.label_jack_status.text())
1521+
systrayText += "%s: %s\n" % (self.tr("Realtime"), self.label_jack_realtime.text())
1522+
systrayText += "%s: %s\n" % (self.tr("DSP Load"), self.label_jack_dsp.text())
1523+
systrayText += "%s: %s\n" % (self.tr("Xruns"), self.label_jack_xruns.text())
1524+
systrayText += "%s: %s\n" % (self.tr("Buffer Size"), self.label_jack_bfsize.text())
1525+
systrayText += "%s: %s\n" % (self.tr("Sample Rate"), self.label_jack_srate.text())
1526+
systrayText += "%s: %s" % (self.tr("Block Latency"), self.label_jack_latency.text())
15291527

15301528
self.systray.setToolTip(systrayText)
15311529

0 commit comments

Comments
 (0)