4 changed files with 39 additions and 0 deletions
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
|
||||
<schemalist> |
||||
<enum id="org.gnome.Fractal.PasswordStorage"> |
||||
<value nick="Secret Service" value="0"/> |
||||
<value nick="Plain text" value="1"/> |
||||
</enum> |
||||
|
||||
<schema path="/org/gnome/factal/" id="org.gnome.Fractal"> |
||||
|
||||
<key name="password-storage" enum="org.gnome.Fractal.PasswordStorage"> |
||||
<default>'Secret Service'</default> |
||||
<summary>Type of password and token storage</summary> |
||||
<description> |
||||
Type of password and token storage, default value is: Secret Service |
||||
</description> |
||||
</key> |
||||
|
||||
</schema> |
||||
|
||||
</schemalist> |
||||
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3 |
||||
|
||||
import os |
||||
import subprocess |
||||
|
||||
install_prefix = os.environ['MESON_INSTALL_PREFIX'] |
||||
icondir = os.path.join(install_prefix, 'share', 'icons', 'hicolor') |
||||
schemadir = os.path.join(install_prefix, 'share', 'glib-2.0', 'schemas') |
||||
|
||||
if not os.environ.get('DESTDIR'): |
||||
print('Update icon cache...') |
||||
subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir]) |
||||
|
||||
print('Compiling gsettings schemas...') |
||||
subprocess.call(['glib-compile-schemas', schemadir]) |
||||
Loading…
Reference in new issue