pidgin/resources/Notifications/authorizationrequest.ui

Fri, 31 Mar 2023 00:48:38 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Fri, 31 Mar 2023 00:48:38 -0500
changeset 42196
2e49acd1c587
parent 42195
ce5c1634c6a1
permissions
-rw-r--r--

Simplify some button images

Testing Done:
Opened a few notifications from the Demo protocol.

Reviewed at https://reviews.imfreedom.org/r/2411/

41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 <!-- Generated with glade 3.38.2
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 Pidgin - Internet Messenger
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 Copyright (C) Pidgin Developers <devel@pidgin.im>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 This program is free software; you can redistribute it and/or
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 modify it under the terms of the GNU General Public License
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 as published by the Free Software Foundation; either version 2
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 of the License, or (at your option) any later version.
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 This program is distributed in the hope that it will be useful,
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15 GNU General Public License for more details.
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 along with this program; if not, see <https://www.gnu.org/licenses/>.
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 -->
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 <interface>
41570
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
22 <requires lib="gtk" version="4.0"/>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
23 <requires lib="Adw" version="1.0"/>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24 <!-- interface-license-type gplv2 -->
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 <!-- interface-name Pidgin -->
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26 <!-- interface-description Internet Messenger -->
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
41570
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
28 <template class="PidginNotificationAuthorizationRequest" parent="AdwActionRow">
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
29 <property name="focusable">1</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
30 <property name="activatable">0</property>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31 <property name="title-lines">3</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 <property name="subtitle-lines">3</property>
42195
ce5c1634c6a1 Migrate away from AdwActionRow:icon-name
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41570
diff changeset
33 <child type="prefix">
ce5c1634c6a1 Migrate away from AdwActionRow:icon-name
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41570
diff changeset
34 <object class="GtkImage" id="icon">
ce5c1634c6a1 Migrate away from AdwActionRow:icon-name
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41570
diff changeset
35 <property name="icon-size">large</property>
ce5c1634c6a1 Migrate away from AdwActionRow:icon-name
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41570
diff changeset
36 <property name="halign">center</property>
ce5c1634c6a1 Migrate away from AdwActionRow:icon-name
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41570
diff changeset
37 <property name="valign">center</property>
ce5c1634c6a1 Migrate away from AdwActionRow:icon-name
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41570
diff changeset
38 </object>
ce5c1634c6a1 Migrate away from AdwActionRow:icon-name
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41570
diff changeset
39 </child>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
40 <child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41 <object class="GtkButton" id="accept">
41570
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
42 <property name="label" translatable="1">Accept</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
43 <property name="focusable">1</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
44 <property name="receives-default">1</property>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
45 <property name="halign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
46 <property name="valign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
47 <signal name="clicked" handler="pidgin_notification_authorization_request_accept_cb" object="PidginNotificationAuthorizationRequest" swapped="no"/>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48 <style>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
49 <class name="suggested-action"/>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
50 </style>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
51 </object>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
52 </child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
53 <child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
54 <object class="GtkButton" id="deny">
41570
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
55 <property name="label" translatable="1">Deny</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
56 <property name="focusable">1</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
57 <property name="receives-default">1</property>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
58 <property name="halign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 <property name="valign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
60 <signal name="clicked" handler="pidgin_notification_authorization_request_deny_cb" object="PidginNotificationAuthorizationRequest" swapped="no"/>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
61 <style>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
62 <class name="destructive-action"/>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
63 </style>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
64 </object>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
65 </child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
66 <child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
67 <object class="GtkButton" id="message">
41570
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
68 <property name="label" translatable="1">Message</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
69 <property name="focusable">1</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
70 <property name="receives-default">1</property>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
71 <property name="halign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
72 <property name="valign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
73 <signal name="clicked" handler="pidgin_notification_authorization_request_message_cb" object="PidginNotificationAuthorizationRequest" swapped="no"/>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
74 </object>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
75 </child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
76 <child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
77 <object class="GtkButton" id="remove">
41570
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
78 <property name="focusable">1</property>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
79 <property name="receives-default">1</property>
42196
2e49acd1c587 Simplify some button images
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42195
diff changeset
80 <property name="icon-name">edit-delete-symbolic</property>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
81 <property name="halign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
82 <property name="valign">center</property>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
83 <signal name="clicked" handler="pidgin_notification_authorization_request_remove_cb" object="PidginNotificationAuthorizationRequest" swapped="no"/>
41570
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
84 <style>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
85 <class name="flat"/>
750d7d2581fe Port notifications to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41514
diff changeset
86 </style>
41514
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
87 </object>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
88 </child>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
89 </template>
a96768bacb59 Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
90 </interface>

mercurial