app: GimpEditor buttons will have the associated action name as identifier.

This commit is contained in:
Jehan 2026-03-01 23:48:57 +01:00
parent 6df7efaa3d
commit e9e2bb1b2e

View file

@ -25,6 +25,7 @@
#include "libgimpbase/gimpbase.h"
#include "libgimpwidgets/gimpwidgets.h"
#include "libgimpwidgets/gimpwidgets-private.h"
#include "widgets-types.h"
@ -734,6 +735,7 @@ gimp_editor_add_action_button (GimpEditor *editor,
else
button = gimp_button_new ();
gimp_widget_set_identifier (button, action_name);
gtk_button_set_relief (GTK_BUTTON (button), button_relief);
icon_name = gimp_action_get_icon_name (action);