summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2024-01-31 21:01:30 +0100
committerJoonas Niilola <juippis@gentoo.org>2024-02-29 14:44:20 +0200
commit824b749b2b7acd55d422a1bd82a4279b5bf5421e (patch)
tree7e25ac4b975b03c794e58766ce596bed4a5b93e8 /app-editors/remarkable/files
parentapp-editors/remarkable: drop 1.9.0_pre20210320-r1 (diff)
downloadgentoo-824b749b2b7acd55d422a1bd82a4279b5bf5421e.tar.gz
gentoo-824b749b2b7acd55d422a1bd82a4279b5bf5421e.tar.bz2
gentoo-824b749b2b7acd55d422a1bd82a4279b5bf5421e.zip
app-editors/remarkable: fix custom css is not loaded on start
patch to fix https://github.com/jamiemcg/Remarkable/issues/345 Closes: https://bugs.gentoo.org/911722 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/35120 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors/remarkable/files')
-rw-r--r--app-editors/remarkable/files/fix-custom-css-issue.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-editors/remarkable/files/fix-custom-css-issue.patch b/app-editors/remarkable/files/fix-custom-css-issue.patch
new file mode 100644
index 000000000000..4d45f18a01b4
--- /dev/null
+++ b/app-editors/remarkable/files/fix-custom-css-issue.patch
@@ -0,0 +1,29 @@
+From 09459c2e577a0ae2561e4f785efc026dcfb65809 Mon Sep 17 00:00:00 2001
+From: Nikita Zlobin <cook60020tmp@mail.ru>
+Date: Fri, 4 Aug 2023 23:56:43 +0500
+Subject: [PATCH] Fix issue #345 - apply custom css on start
+
+Just a typo, when default empty css was used on application start
+instead of configured.
+
+Fixes #345
+---
+ remarkable/RemarkableWindow.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/remarkable/RemarkableWindow.py b/remarkable/RemarkableWindow.py
+index d54aa32..45134ab 100755
+--- a/remarkable/RemarkableWindow.py
++++ b/remarkable/RemarkableWindow.py
+@@ -331,7 +331,7 @@ class RemarkableWindow(Window):
+ elif self.style == "solarized_light":
+ styles.set(styles.solarized_light)
+ elif self.style == "custom":
+- styles.set(styles.custom_css)
++ styles.set(self.custom_css)
+ else:
+ print("Style key error")
+
+--
+2.39.3
+