Simplify the plug-in query API and fix plugin-browser

- remove the menu path and image types from "gimp-plugins-query",
  they are available via GimpProcedure, also reorder and rename
  its remaining return values to make sense
- remove the "menu_path" parameter to gimp_proc_view_new(),
  it can also ask GimpProcedure
- adapt plugin-browser to the new API and make it use GimpProcedure
- fix plugin-browser's tree view to show all menu hierarchies
  completely, it was still expecting menu paths that contain
  the menu label too
This commit is contained in:
Michael Natterer 2019-09-08 14:54:17 +02:00
parent f2db331fb7
commit 388776df07
8 changed files with 86 additions and 195 deletions

View file

@ -330,7 +330,7 @@ browser_selection_changed (GtkTreeSelection *sel,
-1);
gimp_browser_set_widget (GIMP_BROWSER (dialog->priv->browser),
gimp_proc_view_new (proc_name, NULL));
gimp_proc_view_new (proc_name));
g_free (proc_name);
}