--- a/pidgin/resources/Notifications/addcontact.ui Tue Aug 23 00:24:39 2022 -0500 +++ b/pidgin/resources/Notifications/addcontact.ui Tue Aug 23 01:58:39 2022 -0500 @@ -19,24 +19,22 @@ --> <interface> - <requires lib="gtk+" version="3.24"/> - <requires lib="libhandy" version="0.0"/> + <requires lib="gtk" version="4.0"/> + <requires lib="Adw" version="1.0"/> <!-- interface-license-type gplv2 --> <!-- interface-name Pidgin --> <!-- interface-description Internet Messenger --> <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> - <template class="PidginNotificationAddContact" parent="HdyActionRow"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="activatable">False</property> + <template class="PidginNotificationAddContact" parent="AdwActionRow"> + <property name="focusable">1</property> + <property name="activatable">0</property> <property name="title-lines">3</property> <property name="subtitle-lines">3</property> <child> <object class="GtkButton" id="add"> - <property name="label" translatable="yes">Add</property> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> + <property name="label" translatable="1">Add</property> + <property name="focusable">1</property> + <property name="receives-default">1</property> <property name="halign">center</property> <property name="valign">center</property> <signal name="clicked" handler="pidgin_notification_add_contact_add_cb" object="PidginNotificationAddContact" swapped="no"/> @@ -47,10 +45,9 @@ </child> <child> <object class="GtkButton" id="message"> - <property name="label" translatable="yes">Message</property> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> + <property name="label" translatable="1">Message</property> + <property name="focusable">1</property> + <property name="receives-default">1</property> <property name="halign">center</property> <property name="valign">center</property> <signal name="clicked" handler="pidgin_notification_add_contact_message_cb" object="PidginNotificationAddContact" swapped="no"/> @@ -58,17 +55,16 @@ </child> <child> <object class="GtkButton" id="remove"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> + <property name="focusable">1</property> + <property name="receives-default">1</property> <property name="halign">center</property> <property name="valign">center</property> - <property name="relief">none</property> <signal name="clicked" handler="pidgin_notification_add_contact_remove_cb" object="PidginNotificationAddContact" swapped="no"/> + <style> + <class name="flat"/> + </style> <child> <object class="GtkImage"> - <property name="visible">True</property> - <property name="can-focus">False</property> <property name="icon-name">edit-delete-symbolic</property> </object> </child>