extensions: update the remote URI for the up-to-date source code.

When moving the Goat Exercise plug-ins as extensions, I forgot to update
the remote URI which is opened when clicking the "Source" button.
This commit is contained in:
Jehan 2020-10-17 19:42:11 +02:00
parent a9a9bb7cc0
commit 228ad503ad
5 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@
#define PLUG_IN_PROC "plug-in-goat-exercise-c"
#define PLUG_IN_ROLE "goat-exercise-c"
#define GOAT_URI "https://gitlab.gnome.org/GNOME/gimp/blob/master/plug-ins/goat-exercises/goat-exercise-c.c"
#define GOAT_URI "https://gitlab.gnome.org/GNOME/gimp/blob/master/extensions/goat-exercises/goat-exercise-c.c"
typedef struct _Goat Goat;

View File

@ -42,7 +42,7 @@ const Gio = imports.gi.Gio;
*/
ARGV.unshift(System.programInvocationName);
let url = "https://gitlab.gnome.org/GNOME/gimp/blob/master/plug-ins/goat-exercises/goat-exercise-gjs.js";
let url = "https://gitlab.gnome.org/GNOME/gimp/blob/master/extensions/goat-exercises/goat-exercise-gjs.js";
var Goat = GObject.registerClass({
GTypeName: 'Goat',

View File

@ -88,7 +88,7 @@ function run(procedure, run_mode, image, drawable, args, run_data)
while (true) do
local response = dialog:run()
local url = 'https://gitlab.gnome.org/GNOME/gimp/blob/master/plug-ins/goat-exercises/goat-exercise-lua.lua'
local url = 'https://gitlab.gnome.org/GNOME/gimp/blob/master/extensions/goat-exercises/goat-exercise-lua.lua'
if response == Gtk.ResponseType.OK then
dialog:destroy()

View File

@ -122,7 +122,7 @@ class Goat (Gimp.PlugIn):
dialog.destroy()
break
elif response == Gtk.ResponseType.APPLY:
url = "https://gitlab.gnome.org/GNOME/gimp/-/blob/master/plug-ins/goat-exercises/goat-exercise-py3.py"
url = "https://gitlab.gnome.org/GNOME/gimp/-/blob/master/extensions/goat-exercises/goat-exercise-py3.py"
Gio.app_info_launch_default_for_uri(url, None)
continue
else:

View File

@ -22,7 +22,7 @@ private const string PLUG_IN_PROC = "plug-in-goat-exercise-vala";
private const string PLUG_IN_ROLE = "goat-exercise-vala";
private const string PLUG_IN_BINARY = "goat-exercise-vala";
private const string PLUG_IN_SOURCE = PLUG_IN_BINARY + ".vala";
private const string URL = "https://gitlab.gnome.org/GNOME/gimp/blob/master/plug-ins/goat-exercises/goat-exercise-vala.vala";
private const string URL = "https://gitlab.gnome.org/GNOME/gimp/blob/master/extensions/goat-exercises/goat-exercise-vala.vala";
public int main(string[] args) {
return Gimp.main(typeof(Goat), args);