Change ID to org.gnome.FractalNext

This commit is contained in:
Alejandro Domínguez 2021-02-05 00:21:16 +01:00
parent 9b8fd82123
commit bd24d2f660
14 changed files with 15 additions and 15 deletions

View File

@ -9,9 +9,9 @@ flatpak:
- flatpak
variables:
BUNDLE: "fractal-nightly.flatpak"
MANIFEST_PATH: "build-aux/org.gnome.Fractal.Devel.json"
MANIFEST_PATH: "build-aux/org.gnome.FractalNext.Devel.json"
FLATPAK_MODULE: "fractal"
APP_ID: "org.gnome.Fractal.Devel"
APP_ID: "org.gnome.FractalNext.Devel"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
script:
- >

View File

@ -12,7 +12,7 @@ Fractal is a Matrix messaging app for GNOME written in Rust. Its interface is op
Flatpak is the recommended installation method. You can get the official
Fractal Flatpak on Flathub.
<a href="https://flathub.org/apps/details/org.gnome.Fractal">
<a href="https://flathub.org/apps/details/org.gnome.FractalNext">
<img src="https://flathub.org/assets/badges/flathub-badge-i-en.png" width="190px" />
</a>
@ -45,7 +45,7 @@ flatpak install --user flathub org.freedesktop.Sdk.Extension.rust-stable//20.08
Then you go ahead and build Fractal.
```
flatpak-builder --user --install fractal flatpak/org.gnome.Fractal.json
flatpak-builder --user --install fractal flatpak/org.gnome.FractalNext.json
```
### Snap

View File

@ -1,5 +1,5 @@
{
"app-id": "org.gnome.Fractal.Devel",
"app-id": "org.gnome.FractalNext.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "3.38",
"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"?>
<schemalist>
<schema path="/org/gnome/Fractal/" id="@app-id@" gettext-domain="@gettext-package@">
<schema path="/org/gnome/FractalNext/" id="@app-id@" gettext-domain="@gettext-package@">
<key name="window-width" type="i">
<default>-1</default>
<summary>Default window width</summary>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/Fractal/">
<gresource prefix="/org/gnome/FractalNext/">
<file compressed="true" preprocess="xml-stripblanks" alias="shortcuts.ui">resources/ui/shortcuts.ui</file>
<file compressed="true" preprocess="xml-stripblanks" alias="window.ui">resources/ui/window.ui</file>

View File

@ -7,7 +7,7 @@ project('fractal',
i18n = import('i18n')
gnome = import('gnome')
base_id = 'org.gnome.Fractal'
base_id = 'org.gnome.FractalNext'
dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66')

View File

@ -1,5 +1,5 @@
data/resources/ui/shortcuts.ui
data/resources/ui/window.ui.in
data/org.gnome.Fractal.desktop.in.in
data/org.gnome.Fractal.gschema.xml.in
data/org.gnome.Fractal.metainfo.xml.in.in
data/org.gnome.FractalNext.desktop.in.in
data/org.gnome.FractalNext.gschema.xml.in
data/org.gnome.FractalNext.metainfo.xml.in.in

View File

@ -51,7 +51,7 @@ mod imp {
return;
}
app.set_resource_base_path(Some("/org/gnome/Fractal/"));
app.set_resource_base_path(Some("/org/gnome/FractalNext/"));
app.setup_css();
let window = ExampleApplicationWindow::new(app);
@ -124,7 +124,7 @@ impl ExampleApplication {
fn setup_css(&self) {
let provider = gtk::CssProvider::new();
provider.load_from_resource("/org/gnome/Fractal/style.css");
provider.load_from_resource("/org/gnome/FractalNext/style.css");
if let Some(display) = gdk::Display::get_default() {
gtk::StyleContext::add_provider_for_display(
&display,

View File

@ -11,7 +11,7 @@ mod imp {
use glib::subclass;
#[derive(Debug, CompositeTemplate)]
#[template(resource = "/org/gnome/Fractal/window.ui")]
#[template(resource = "/org/gnome/FractalNext/window.ui")]
pub struct ExampleApplicationWindow {
#[template_child]
pub headerbar: TemplateChild<gtk::HeaderBar>,
@ -49,7 +49,7 @@ mod imp {
fn constructed(&self, obj: &Self::Type) {
self.parent_constructed(obj);
let builder = gtk::Builder::from_resource("/org/gnome/Fractal/shortcuts.ui");
let builder = gtk::Builder::from_resource("/org/gnome/FractalNext/shortcuts.ui");
let shortcuts = builder.get_object("shortcuts").unwrap();
obj.set_help_overlay(Some(&shortcuts));