mirror of https://github.com/GNOME/gimp.git
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:
parent
a9a9bb7cc0
commit
228ad503ad
|
@ -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;
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue