fix: allow adding action widgets to GtkInfoBar

This commit is contained in:
Gleb Smirnov 2022-02-19 12:51:34 +03:00
parent d9ef1d4df9
commit 4103ad3e71
No known key found for this signature in database
GPG key ID: 559DB6D1D625EFAB
9 changed files with 47 additions and 13 deletions

View file

@ -23,4 +23,14 @@
<action-widget response="ok" default="True">ok_button</action-widget>
</action-widgets>
</object>
<object class="GtkInfoBar">
<child type="action">
<object class="GtkButton" id="ok_info_button">
<property name="label" translatable="true">Ok</property>
</object>
</child>
<action-widgets>
<action-widget response="ok">ok_info_button</action-widget>
</action-widgets>
</object>
</interface>