[gegl] bin: trim gegl: prefix from opnames in ui
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] bin: trim gegl: prefix from opnames in ui
- Date: Wed, 16 Jan 2019 20:29:15 +0000 (UTC)
commit 25602aa082dd285bb0423c4879acedd895008e11
Author: Øyvind Kolås <pippin gimp org>
Date: Wed Jan 16 21:28:56 2019 +0100
bin: trim gegl: prefix from opnames in ui
bin/ui.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/bin/ui.c b/bin/ui.c
index 87899f1cd..5b407e67c 100644
--- a/bin/ui.c
+++ b/bin/ui.c
@@ -2028,7 +2028,10 @@ static void list_ops (State *o, GeglNode *iter, int indent)
}
else
{
- mrg_printf (mrg, "%s", opname);
+ if (g_str_has_prefix (opname, "gegl:"))
+ mrg_printf (mrg, "%s", opname+5);
+ else
+ mrg_printf (mrg, "%s", opname);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]