From 6e52afa26d8c50d07988376e43a641c70370b9c5 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 16 Sep 2023 09:36:14 -0400 Subject: Create preferences dialog to control config file --- entry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entry.py') 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() + "".format(self.link)) + body.setText(body.text() + "".format(self.link, self.color if self.color else "default")) body.setText(body.text() + self.desc) if self.link: body.setText(body.text() + "") @@ -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" )) -- cgit