#7 Persist user's theme and font preferences

Закрито
6 роки тому відкрито matt · 2 коментарів
matt прокоментував(ла) 6 роки тому

In addition to persisting whatever a user wrote last, it’d be nice to remember the user’s choice for:

  • Dark mode enabled or not
  • Currently-selected font

between sessions.

In addition to persisting whatever a user wrote last, it'd be nice to remember the user's choice for: * Dark mode enabled or not * Currently-selected font between sessions.
adrian прокоментував(ла) 6 роки тому
Співавтор

I played with persisting this info to a DConf database, but that was more work then I expected. I’ll try again using a different technique.

I played with persisting this info to a DConf database, but that was more work then I expected. I'll try again using a different technique.
adrian прокоментував(ла) 6 роки тому
Співавтор

Got it working using a human readable key-value file at ~/.writeas-theme.ini. This reuses the same underlying code GLib uses to find the installed web browser for Write.as GTK.

Got it working using a human readable key-value file at `~/.writeas-theme.ini`. This reuses the same underlying code GLib uses to find the installed web browser for Write.as GTK.
adrian closed this issue 6 роки тому
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає виконавеця
2 учасників
Сповіщення
Дата завершення

Термін виконання не встановлений.

Залежності

Ця проблема в даний час не має залежностей.

Завантаження…
Тут ще немає жодного змісту.