mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
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
5 changed files with 5 additions and 5 deletions
|
@ -32,7 +32,7 @@
|
||||||
#define PLUG_IN_PROC "plug-in-goat-exercise-c"
|
#define PLUG_IN_PROC "plug-in-goat-exercise-c"
|
||||||
#define PLUG_IN_ROLE "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;
|
typedef struct _Goat Goat;
|
||||||
|
|
|
@ -42,7 +42,7 @@ const Gio = imports.gi.Gio;
|
||||||
*/
|
*/
|
||||||
ARGV.unshift(System.programInvocationName);
|
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({
|
var Goat = GObject.registerClass({
|
||||||
GTypeName: 'Goat',
|
GTypeName: 'Goat',
|
||||||
|
|
|
@ -88,7 +88,7 @@ function run(procedure, run_mode, image, drawable, args, run_data)
|
||||||
|
|
||||||
while (true) do
|
while (true) do
|
||||||
local response = dialog:run()
|
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
|
if response == Gtk.ResponseType.OK then
|
||||||
dialog:destroy()
|
dialog:destroy()
|
||||||
|
|
|
@ -122,7 +122,7 @@ class Goat (Gimp.PlugIn):
|
||||||
dialog.destroy()
|
dialog.destroy()
|
||||||
break
|
break
|
||||||
elif response == Gtk.ResponseType.APPLY:
|
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)
|
Gio.app_info_launch_default_for_uri(url, None)
|
||||||
continue
|
continue
|
||||||
else:
|
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_ROLE = "goat-exercise-vala";
|
||||||
private const string PLUG_IN_BINARY = "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 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) {
|
public int main(string[] args) {
|
||||||
return Gimp.main(typeof(Goat), args);
|
return Gimp.main(typeof(Goat), args);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue