Changed app ID to match my domain

This commit is contained in:
Mossfet 2023-03-31 19:05:23 +01:00
parent 7efc5b5bfa
commit f9d13f08af
13 changed files with 1752 additions and 8 deletions

1736
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
{ {
"id": "com.example.Life.Devel", "id": "xyz.mossfet.Life.Devel",
"runtime": "org.gnome.Platform", "runtime": "org.gnome.Platform",
"runtime-version": "43", "runtime-version": "43",
"sdk": "org.gnome.Sdk", "sdk": "org.gnome.Sdk",

View File

@ -1,5 +1,5 @@
{ {
"id": "com.example.Life", "id": "xyz.mossfet.Life",
"runtime": "org.gnome.Platform", "runtime": "org.gnome.Platform",
"runtime-version": "43", "runtime-version": "43",
"sdk": "org.gnome.Sdk", "sdk": "org.gnome.Sdk",

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<gresources> <gresources>
<gresource prefix="/com/example/Life/"> <gresource prefix="/xyz/mossfet/Life/">
<!-- see https://gtk-rs.org/gtk4-rs/git/docs/gtk4/struct.Application.html#automatic-resources --> <!-- see https://gtk-rs.org/gtk4-rs/git/docs/gtk4/struct.Application.html#automatic-resources -->
<file compressed="true" preprocess="xml-stripblanks" alias="gtk/help-overlay.ui">ui/shortcuts.ui</file> <file compressed="true" preprocess="xml-stripblanks" alias="gtk/help-overlay.ui">ui/shortcuts.ui</file>
<file compressed="true">style.css</file> <file compressed="true">style.css</file>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<schemalist> <schemalist>
<schema path="/com/example/Life/" id="@app-id@" gettext-domain="@gettext-package@"> <schema path="/xyz/mossfet/Life/" id="@app-id@" gettext-domain="@gettext-package@">
<key name="window-width" type="i"> <key name="window-width" type="i">
<default>600</default> <default>600</default>
<summary>Window width</summary> <summary>Window width</summary>

View File

@ -9,7 +9,7 @@ project(
i18n = import('i18n') i18n = import('i18n')
gnome = import('gnome') gnome = import('gnome')
base_id = 'com.example.Life' base_id = 'xyz.mossfet.Life'
dependency('glib-2.0', version: '>= 2.66') dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66') dependency('gio-2.0', version: '>= 2.66')

View File

@ -1,6 +1,6 @@
data/com.example.Life.desktop.in.in data/xyz.mossfet.Life.desktop.in.in
data/com.example.Life.gschema.xml.in data/xyz.mossfet.Life.gschema.xml.in
data/com.example.Life.metainfo.xml.in.in data/xyz.mossfet.Life.metainfo.xml.in.in
data/resources/ui/shortcuts.ui data/resources/ui/shortcuts.ui
data/resources/ui/window.ui data/resources/ui/window.ui
src/application.rs src/application.rs

8
src/config.rs Normal file
View File

@ -0,0 +1,8 @@
pub const APP_ID: &str = "xyz.mossfet.Life";
pub const GETTEXT_PACKAGE: &str = "mossfets-life";
pub const LOCALEDIR: &str = "/app/share/locale";
#[allow(unused)]
pub const PKGDATADIR: &str = "/app/share/mossfets-life";
pub const PROFILE: &str = "";
pub const RESOURCES_FILE: &str = concat!("/app/share/mossfets-life", "/resources.gresource");
pub const VERSION: &str = "0.1.0";