Commit f3fe15a4 authored by Adrien Plazas's avatar Adrien Plazas Committed by Guido Gunther

glade: Make the Flatpak manifest use Glade 3.36

This is the latest stable and we need to adapt to libgladeui API
changes.
parent 797957df
From f4711b392e26d36266a88df4371230418e24cfc9 Mon Sep 17 00:00:00 2001
From: Adrien Plazas <kekun.plazas@laposte.net>
Date: Mon, 11 May 2020 10:45:17 +0200
Subject: [PATCH] Rename the ID to sm.puri.Handy.Glade
Make the GtkApplication ID match the Flatpak ID, which is required for
the app to start.
---
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index 8a81771f..7a505255 100644
--- a/src/main.c
+++ b/src/main.c
@@ -161,7 +161,7 @@ main (int argc, char *argv[])
return -1;
}
- app = gtk_application_new ("org.gnome.Glade", G_APPLICATION_HANDLES_OPEN);
+ app = gtk_application_new ("sm.puri.Handy.Glade", G_APPLICATION_HANDLES_OPEN);
g_application_set_option_context_summary (G_APPLICATION (app),
N_("Create or edit user interface designs for GTK+ or GNOME applications."));
--
2.26.0
......@@ -4,14 +4,14 @@
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "glade",
"rename-desktop-file" : "glade.desktop",
"rename-appdata-file" : "glade.appdata.xml",
"rename-icon" : "glade",
"rename-desktop-file" : "org.gnome.Glade.desktop",
"rename-appdata-file" : "org.gnome.Glade.appdata.xml",
"rename-icon" : "org.gnome.Glade",
"copy-icon" : true,
"desktop-file-name-suffix" : " (Handy Nightly)",
"finish-args" : [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
"--share=ipc", "--socket=fallback-x11",
/* Wayland access */
"--socket=wayland",
/* We want full fs access so we can read the files */
......@@ -53,7 +53,11 @@
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/glade.git",
"branch" : "glade-3-22"
"branch" : "glade-3-36"
},
{
"type" : "patch",
"path" : "rename-id.patch"
}
]
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment