summaryrefslogtreecommitdiff
path: root/entry.py
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-09-16 09:36:14 -0400
committerLouie S <louie@example.com>2023-09-16 09:36:14 -0400
commit6e52afa26d8c50d07988376e43a641c70370b9c5 (patch)
tree3b9cc7f01aa8a64fa4dea6ee4547fc50423f6725 /entry.py
parent76a1b6384301a9a8e37b1176f83f55b2827b2d16 (diff)
Create preferences dialog to control config file
Diffstat (limited to 'entry.py')
-rw-r--r--entry.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/entry.py b/entry.py
index 67d290a..0a0b3b1 100644
--- a/entry.py
+++ b/entry.py
@@ -42,7 +42,7 @@ class Entry:
body.setText("{0}/{1}/{2}: ".format(self.due.month(), self.due.day(), self.due.year()))
if self.link:
body.setOpenExternalLinks(True)
- body.setText(body.text() + "<a href=\"{0}\" style=\"color: default; text-decoration: none;\">".format(self.link))
+ body.setText(body.text() + "<a href=\"{0}\" style=\"color: {1}; text-decoration: none;\">".format(self.link, self.color if self.color else "default"))
body.setText(body.text() + self.desc)
if self.link:
body.setText(body.text() + "</a>")
@@ -67,7 +67,7 @@ class Entry:
color: {0};
background-color: {1};
}}""".format(
- self.color if self.color else "black",
+ self.color if self.color else "default",
self.highlight if self.highlight else "none"
))