mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Bump Linux theme refresh timer back up to 5 minutes (#2331)
On Linux distributions that do not yet support org.freedesktop.appearance.color-scheme (most distros released prior to 2022), querying DBus for the missing property produces verbose journal entries over Anki's entire runtime.
This commit is contained in:
parent
943dddf28f
commit
476e3af759
1 changed files with 3 additions and 1 deletions
|
@ -1074,8 +1074,10 @@ title="{}" {}>{}</button>""".format(
|
||||||
theme_manager.apply_style()
|
theme_manager.apply_style()
|
||||||
if is_lin:
|
if is_lin:
|
||||||
# On Linux, the check requires invoking an external binary,
|
# On Linux, the check requires invoking an external binary,
|
||||||
|
# and can potentially produce verbose logs on systems where
|
||||||
|
# the preferred theme cannot be determined,
|
||||||
# which we don't want to be doing frequently
|
# which we don't want to be doing frequently
|
||||||
interval_secs = 5
|
interval_secs = 300
|
||||||
else:
|
else:
|
||||||
interval_secs = 2
|
interval_secs = 2
|
||||||
self.progress.timer(
|
self.progress.timer(
|
||||||
|
|
Loading…
Reference in a new issue