ui/gtk/headerbar.c

changeset 1112
9250601f9d9a
parent 1096
655349c3021e
--- a/ui/gtk/headerbar.c	Fri Apr 24 18:17:20 2026 +0200
+++ b/ui/gtk/headerbar.c	Sat Apr 25 21:29:37 2026 +0200
@@ -181,7 +181,7 @@
     ui_set_widget_states(obj->ctx, button, item->args.states);
     ui_set_widget_visibility_states(obj->ctx, button, item->args.visibility_states);
     WIDGET_ADD_CSS_CLASS(button, "flat");
-    ui_setup_togglebutton(obj, button, item->args.label, item->args.icon, item->args.tooltip, item->args.varname, NULL, item->args.onchange, item->args.onchangedata, 0);
+    ui_setup_togglebutton(obj, button, item->args.label, item->args.icon, item->args.tooltip, item->args.varname, NULL, item->args.onchange, item->args.onchangedata, item->args.action, 0);
     headerbar_add(headerbar, box, button, pos);
 }
 

mercurial