mirror of https://github.com/GNOME/gimp.git
plug-ins: register thumbnail procedures before load procedures
so registering the thumbnail loader with the load procedure can perform some checks for procedure existence and signature.
This commit is contained in:
parent
5621de52fc
commit
26a744f44d
|
@ -153,8 +153,8 @@ gif_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -305,8 +305,8 @@ pdf_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -349,9 +349,9 @@ ps_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PS_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PS_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_EPS_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PS_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (SAVE_PS_PROC));
|
||||
list = g_list_append (list, g_strdup (SAVE_EPS_PROC));
|
||||
|
||||
|
|
|
@ -135,8 +135,8 @@ svg_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -130,8 +130,8 @@ wmf_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -313,8 +313,8 @@ xmc_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (SAVE_PROC));
|
||||
|
||||
return list;
|
||||
|
|
|
@ -104,8 +104,8 @@ ico_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (SAVE_PROC));
|
||||
|
||||
return list;
|
||||
|
|
|
@ -113,8 +113,8 @@ jpeg_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (SAVE_PROC));
|
||||
|
||||
return list;
|
||||
|
|
|
@ -99,9 +99,9 @@ psd_query_procedures (GimpPlugIn *plug_in)
|
|||
{
|
||||
GList *list = NULL;
|
||||
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_MERGED_PROC));
|
||||
list = g_list_append (list, g_strdup (LOAD_THUMB_PROC));
|
||||
list = g_list_append (list, g_strdup (SAVE_PROC));
|
||||
|
||||
return list;
|
||||
|
|
|
@ -357,9 +357,9 @@ class FileOpenRaster (Gimp.PlugIn):
|
|||
self.set_translation_domain("gimp30-python",
|
||||
Gio.file_new_for_path(Gimp.locale_directory()))
|
||||
|
||||
return [ 'file-openraster-save',
|
||||
return [ 'file-openraster-load-thumb',
|
||||
'file-openraster-load',
|
||||
'file-openraster-load-thumb' ]
|
||||
'file-openraster-save' ]
|
||||
|
||||
def do_create_procedure(self, name):
|
||||
if name == 'file-openraster-save':
|
||||
|
|
Loading…
Reference in New Issue