[libadwaita/wip/exalm/demo: 4/17] examples: Adwaita.Demo -> Adwaita1.Demo
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/demo: 4/17] examples: Adwaita.Demo -> Adwaita1.Demo
- Date: Wed, 13 Oct 2021 16:56:57 +0000 (UTC)
commit 0045aba7bd0b41b1572bbb038104b621bafb3109
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Oct 12 17:09:27 2021 +0500
examples: Adwaita.Demo -> Adwaita1.Demo
Be more future proof and version our demo appid.
.gitlab-ci.yml | 6 +++---
examples/adw-demo-preferences-window.c | 2 +-
examples/adw-demo-window.c | 2 +-
examples/adw-flap-demo-window.c | 2 +-
examples/adw-tab-view-demo-window.c | 2 +-
examples/adw-view-switcher-demo-window.c | 2 +-
examples/adwaita-demo.c | 2 +-
examples/adwaita-demo.gresources.xml | 4 ++--
examples/data/meson.build | 0
.../{org.gnome.Adwaita.Demo.json => org.gnome.Adwaita1.Demo.json} | 2 +-
10 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 901c2df0..7365d210 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ include:
file: 'flatpak/flatpak_ci_initiative.yml'
variables:
- MANIFEST_PATH: 'examples/org.gnome.Adwaita.Demo.json'
+ MANIFEST_PATH: 'examples/org.gnome.Adwaita1.Demo.json'
FLATPAK_MODULE: 'libadwaita'
FLATPAK_BUILD_DIR: build
ABI_CHECKER_IMAGE: "registry.gitlab.gnome.org/gnome/libadwaita/abi-checker:v2"
@@ -43,8 +43,8 @@ build-flatpak:
before_script: []
variables:
RUNTIME_REPO: 'https://nightly.gnome.org/gnome-nightly.flatpakrepo'
- APP_ID: 'org.gnome.Adwaita.Demo'
- BUNDLE: 'org.gnome.Adwaita.Demo.flatpak'
+ APP_ID: 'org.gnome.Adwaita1.Demo'
+ BUNDLE: 'org.gnome.Adwaita1.Demo.flatpak'
abi-check:
image: $ABI_CHECKER_IMAGE
diff --git a/examples/adw-demo-preferences-window.c b/examples/adw-demo-preferences-window.c
index bbccf9d4..bd9d2a42 100644
--- a/examples/adw-demo-preferences-window.c
+++ b/examples/adw-demo-preferences-window.c
@@ -39,7 +39,7 @@ adw_demo_preferences_window_class_init (AdwDemoPreferencesWindowClass *klass)
{
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
- gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita/Demo/ui/adw-demo-preferences-window.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita1/Demo/ui/adw-demo-preferences-window.ui");
gtk_widget_class_bind_template_child (widget_class, AdwDemoPreferencesWindow, subpage1);
gtk_widget_class_bind_template_child (widget_class, AdwDemoPreferencesWindow, subpage2);
diff --git a/examples/adw-demo-window.c b/examples/adw-demo-window.c
index a8aa1110..6796733d 100644
--- a/examples/adw-demo-window.c
+++ b/examples/adw-demo-window.c
@@ -398,7 +398,7 @@ adw_demo_window_class_init (AdwDemoWindowClass *klass)
gtk_widget_class_add_binding_action (widget_class, GDK_KEY_q, GDK_CONTROL_MASK, "window.close", NULL);
- gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita/Demo/ui/adw-demo-window.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita1/Demo/ui/adw-demo-window.ui");
gtk_widget_class_bind_template_child (widget_class, AdwDemoWindow, content_box);
gtk_widget_class_bind_template_child (widget_class, AdwDemoWindow, right_box);
gtk_widget_class_bind_template_child (widget_class, AdwDemoWindow, color_scheme_button);
diff --git a/examples/adw-flap-demo-window.c b/examples/adw-flap-demo-window.c
index 0087d0bf..f43e802f 100644
--- a/examples/adw-flap-demo-window.c
+++ b/examples/adw-flap-demo-window.c
@@ -72,7 +72,7 @@ adw_flap_demo_window_class_init (AdwFlapDemoWindowClass *klass)
{
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
- gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita/Demo/ui/adw-flap-demo-window.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita1/Demo/ui/adw-flap-demo-window.ui");
gtk_widget_class_bind_template_child (widget_class, AdwFlapDemoWindow, flap);
gtk_widget_class_bind_template_child (widget_class, AdwFlapDemoWindow, reveal_btn_start);
gtk_widget_class_bind_template_child (widget_class, AdwFlapDemoWindow, reveal_btn_end);
diff --git a/examples/adw-tab-view-demo-window.c b/examples/adw-tab-view-demo-window.c
index 2de60b79..ff05e764 100644
--- a/examples/adw-tab-view-demo-window.c
+++ b/examples/adw-tab-view-demo-window.c
@@ -479,7 +479,7 @@ adw_tab_view_demo_window_class_init (AdwTabViewDemoWindowClass *klass)
object_class->dispose = adw_tab_view_demo_window_dispose;
- gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita/Demo/ui/adw-tab-view-demo-window.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita1/Demo/ui/adw-tab-view-demo-window.ui");
gtk_widget_class_bind_template_child (widget_class, AdwTabViewDemoWindow, view);
gtk_widget_class_bind_template_child (widget_class, AdwTabViewDemoWindow, tab_bar);
gtk_widget_class_bind_template_callback (widget_class, page_detached_cb);
diff --git a/examples/adw-view-switcher-demo-window.c b/examples/adw-view-switcher-demo-window.c
index 5522a52c..9637d52e 100644
--- a/examples/adw-view-switcher-demo-window.c
+++ b/examples/adw-view-switcher-demo-window.c
@@ -14,7 +14,7 @@ adw_view_switcher_demo_window_class_init (AdwViewSwitcherDemoWindowClass *klass)
{
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
- gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita/Demo/ui/adw-view-switcher-demo-window.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/Adwaita1/Demo/ui/adw-view-switcher-demo-window.ui");
}
static void
diff --git a/examples/adwaita-demo.c b/examples/adwaita-demo.c
index 13160cc7..48f95356 100644
--- a/examples/adwaita-demo.c
+++ b/examples/adwaita-demo.c
@@ -37,7 +37,7 @@ main (int argc,
{ "preferences", show_preferences, NULL, NULL, NULL },
};
- app = adw_application_new ("org.gnome.Adwaita.Demo", G_APPLICATION_NON_UNIQUE);
+ app = adw_application_new ("org.gnome.Adwaita1.Demo", G_APPLICATION_NON_UNIQUE);
g_action_map_add_action_entries (G_ACTION_MAP (app),
app_entries, G_N_ELEMENTS (app_entries),
app);
diff --git a/examples/adwaita-demo.gresources.xml b/examples/adwaita-demo.gresources.xml
index 8f0395fb..e42d52ea 100644
--- a/examples/adwaita-demo.gresources.xml
+++ b/examples/adwaita-demo.gresources.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
- <gresource prefix="/org/gnome/Adwaita/Demo">
+ <gresource prefix="/org/gnome/Adwaita1/Demo">
<file preprocess="xml-stripblanks">icons/scalable/actions/avatar-delete-symbolic.svg</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/avatar-save-symbolic.svg</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/clock-alarm-symbolic.svg</file>
@@ -36,7 +36,7 @@
<file preprocess="xml-stripblanks">icons/scalable/status/tab-audio-muted-symbolic.svg</file>
<file compressed="true">style.css</file>
</gresource>
- <gresource prefix="/org/gnome/Adwaita/Demo/ui">
+ <gresource prefix="/org/gnome/Adwaita1/Demo/ui">
<file preprocess="xml-stripblanks">adw-demo-preferences-window.ui</file>
<file preprocess="xml-stripblanks">adw-demo-window.ui</file>
<file preprocess="xml-stripblanks">adw-flap-demo-window.ui</file>
diff --git a/examples/data/meson.build b/examples/data/meson.build
new file mode 100644
index 00000000..e69de29b
diff --git a/examples/org.gnome.Adwaita.Demo.json b/examples/org.gnome.Adwaita1.Demo.json
similarity index 96%
rename from examples/org.gnome.Adwaita.Demo.json
rename to examples/org.gnome.Adwaita1.Demo.json
index 3fa9c416..6dbb8627 100644
--- a/examples/org.gnome.Adwaita.Demo.json
+++ b/examples/org.gnome.Adwaita1.Demo.json
@@ -1,5 +1,5 @@
{
- "app-id": "org.gnome.Adwaita.Demo",
+ "app-id": "org.gnome.Adwaita1.Demo",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]