[gimp] app: migrate plug-in-gauss shortcuts to filters-gaussian-blur.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: migrate plug-in-gauss shortcuts to filters-gaussian-blur.
- Date: Tue, 5 Dec 2017 01:07:53 +0000 (UTC)
commit 5aa9428445a7a21bf5b75ad619494e4672ba43f8
Author: Jehan <jehan girinstud io>
Date: Tue Dec 5 01:53:28 2017 +0100
app: migrate plug-in-gauss shortcuts to filters-gaussian-blur.
Since commit ff59aebbe88, blur-gauss plug-in and the associated
"plug-in-gauss" action don't exist anymore. Migrate any custom shortcut
to "filters-gaussian-blur", which is the expected replacement.
See also bug 775931.
app/core/gimp-user-install.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimp-user-install.c b/app/core/gimp-user-install.c
index 77ceffc..1aa27f4 100644
--- a/app/core/gimp-user-install.c
+++ b/app/core/gimp-user-install.c
@@ -487,6 +487,7 @@ user_install_mkdir_with_parents (GimpUserInstall *install,
"\"<Actions>/file/file-export\"" "|" \
"\"<Actions>/file/file-export-to\"" "|" \
"\"<Actions>/layers/layers-text-tool\"" "|" \
+ "\"<Actions>/plug-in/plug-in-gauss\"" "|" \
"\"<Actions>/tools/tools-value-[1-4]-.*\"" "|" \
"\"<Actions>/vectors/vectors-path-tool\""
@@ -527,6 +528,14 @@ user_update_menurc_over20 (const GMatchInfo *matched_value,
{
g_string_append (new_value, "\"<Actions>/layers/layers-edit\"");
}
+ /* plug-in-gauss doesn't exist anymore since commit ff59aebbe88.
+ * The expected replacement would be filters-gaussian-blur which is
+ * gegl:gaussian-blur operation. See also bug 775931.
+ */
+ else if (g_strcmp0 (match, "\"<Actions>/plug-in/plug-in-gauss\"") == 0)
+ {
+ g_string_append (new_value, "\"<Actions>/filters/filters-gaussian-blur\"");
+ }
/* Tools settings renamed more user-friendly. Actions available
* since GIMP 2.4, changed for 2.10 in commit 0bdb747.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]