#7 Persist user's theme and font preferences

zavřený
otevřeno před 6 roky uživatelem matt · 2 komentářů
matt okomentoval před 6 roky

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 okomentoval před 6 roky
Spolupracovník

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 okomentoval před 6 roky
Spolupracovník

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 před 6 roky
Přihlaste se pro zapojení do konverzace.
Bez milníku
Bez zpracovatelů
2 účastníků
Oznámení
Termín dokončení

Žádný termín dokončení.

Závislosti

Tento úkol momentálně nemá žádné závislosti.

Načítá se…
Není zde žádný obsah.