Tue, 17 Sep 2024 00:56:55 -0500
Create Pidgin.Notification to simplify the custom widgets
This should be much easier to maintain as it keeps everything encapsulated.
PidginNotificationAuthorizationRequest was removed as nothing creates these
notifications right now.
PidginNotificationConnectionError was removed as we are currently in the
process of reworking the way connection errors work and this is in the way of
that.
Testing Done:
Created a bunch of test notifications with the demo protocol plugin and called in the turtles.
Bugs closed: PIDGIN-17929, PIDGIN-17942
Reviewed at https://reviews.imfreedom.org/r/3480/
|
38376
d27109ba6626
Move gtkdebug.html into a GResource.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
d27109ba6626
Move gtkdebug.html into a GResource.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
2 | <gresources> |
|
41030
ec8b76f3bf0a
Fix the resource path so we can use the automatic stuff that GtkApplication supports
Gary Kramlich <grim@reaperworld.com>
parents:
41029
diff
changeset
|
3 | <gresource prefix="/im/pidgin/Pidgin3/"> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
4 | <file compressed="true" preprocess="xml-stripblanks">About/about.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
5 | <file compressed="true" preprocess="json-stripblanks">About/credits.json</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
6 | <file compressed="true" preprocess="xml-stripblanks">Accounts/chooser.ui</file> |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42028
diff
changeset
|
7 | <file compressed="true" preprocess="xml-stripblanks">Accounts/display.ui</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
8 | <file compressed="true" preprocess="xml-stripblanks">Accounts/editor.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
9 | <file compressed="true" preprocess="xml-stripblanks">Accounts/manager.ui</file> |
|
42363
25ccd3d6e30e
Rename PidginAccountRow to PidginAccountManagerRow
Gary Kramlich <grim@reaperworld.com>
parents:
42353
diff
changeset
|
10 | <file compressed="true" preprocess="xml-stripblanks">Accounts/manager-row.ui</file> |
|
42353
5381c5c9affa
Move PidginAvatar to a single resource file
Gary Kramlich <grim@reaperworld.com>
parents:
42346
diff
changeset
|
11 | <file compressed="true" preprocess="xml-stripblanks">avatar.ui</file> |
|
42301
d3930fe5505c
The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
42206
diff
changeset
|
12 | <file compressed="true" preprocess="xml-stripblanks">Conversations/conversation.ui</file> |
|
42346
45d2756d2a14
Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents:
42301
diff
changeset
|
13 | <file compressed="true" preprocess="xml-stripblanks">Conversations/message.ui</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
14 | <file compressed="true" preprocess="xml-stripblanks">Debug/debug.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
15 | <file compressed="true" preprocess="xml-stripblanks">Keypad/keypad.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
16 | <file compressed="true" preprocess="xml-stripblanks">Media/window.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
17 | <file compressed="true" preprocess="xml-stripblanks">Prefs/away.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
18 | <file compressed="true" preprocess="xml-stripblanks">Prefs/conversation.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
19 | <file compressed="true" preprocess="xml-stripblanks">Prefs/credentials.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
20 | <file compressed="true" preprocess="xml-stripblanks">Prefs/credentialprovider.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
21 | <file compressed="true" preprocess="xml-stripblanks">Prefs/network.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
22 | <file compressed="true" preprocess="xml-stripblanks">Prefs/prefs.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
23 | <file compressed="true" preprocess="xml-stripblanks">Prefs/proxy.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
24 | <file compressed="true" preprocess="xml-stripblanks">Prefs/vv.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
25 | <file compressed="true" preprocess="xml-stripblanks">Protocols/chooser.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
26 | <file compressed="true" preprocess="xml-stripblanks">Protocols/detailed-view.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
27 | <file compressed="true" preprocess="xml-stripblanks">Whiteboard/whiteboard.ui</file> |
|
42561
998b44b2c5f1
Make the application wide shortcuts work again
Gary Kramlich <grim@reaperworld.com>
parents:
42552
diff
changeset
|
28 | <file compressed="true" preprocess="xml-stripblanks">gtk/help-overlay.ui</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
29 | <file compressed="true" preprocess="xml-stripblanks">gtk/menus.ui</file> |
|
42365
45ce6d3f6386
Create PidginAccountRow which subclasses AdwRow
Gary Kramlich <grim@reaperworld.com>
parents:
42363
diff
changeset
|
30 | <file compressed="true" preprocess="xml-stripblanks">account-row.ui</file> |
|
42377
6e3f1f8709b5
Create a new PidginChannelJoinDialog widget
Gary Kramlich <grim@reaperworld.com>
parents:
42365
diff
changeset
|
31 | <file compressed="true" preprocess="xml-stripblanks">channeljoindialog.ui</file> |
|
42577
f8b477a1b0b6
Add an InfoPane to the Contacts widget and move search to it
Gary Kramlich <grim@reaperworld.com>
parents:
42569
diff
changeset
|
32 | <file compressed="true" preprocess="xml-stripblanks">contactlist.ui</file> |
|
42516
9ac4a8394577
Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
42509
diff
changeset
|
33 | <file compressed="true" preprocess="xml-stripblanks">contactlistitem.ui</file> |
|
42527
1954265c38f0
Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42526
diff
changeset
|
34 | <file compressed="true" preprocess="xml-stripblanks">conversationmemberlistitem.ui</file> |
|
42758
f95b932717bb
Implement PidginNotifiable on PidginNotificationList
Gary Kramlich <grim@reaperworld.com>
parents:
42739
diff
changeset
|
35 | <file compressed="true" preprocess="xml-stripblanks">display-item.ui</file> |
|
42762
17f602456139
Move Display/window.ui to display-window.ui
Gary Kramlich <grim@reaperworld.com>
parents:
42758
diff
changeset
|
36 | <file compressed="true" preprocess="xml-stripblanks">display-window.ui</file> |
|
42566
ddaa27826ccc
Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents:
42562
diff
changeset
|
37 | <file compressed="true" preprocess="xml-stripblanks">infopane.ui</file> |
|
42940
240eb66a3795
Create Pidgin.Notification to simplify the custom widgets
Gary Kramlich <grim@reaperworld.com>
parents:
42766
diff
changeset
|
38 | <file compressed="true" preprocess="xml-stripblanks">notification.ui</file> |
|
240eb66a3795
Create Pidgin.Notification to simplify the custom widgets
Gary Kramlich <grim@reaperworld.com>
parents:
42766
diff
changeset
|
39 | <file compressed="true" preprocess="xml-stripblanks">notificationaddcontact.ui</file> |
|
42627
8378ac3ef0f1
Convert PidginNotificationList to GtkListView
Gary Kramlich <grim@reaperworld.com>
parents:
42577
diff
changeset
|
40 | <file compressed="true" preprocess="xml-stripblanks">notificationlist.ui</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
41 | <file compressed="true" preprocess="xml-stripblanks">presenceicon.ui</file> |
|
42766
d823c3372e97
Some cleanups for PidginDisplayItem
Gary Kramlich <grim@reaperworld.com>
parents:
42762
diff
changeset
|
42 | <file compressed="true">style.css</file> |
|
41029
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
43 | <file>icons/16x16/status/pidgin-user-available.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
44 | <file>icons/16x16/status/pidgin-user-away.png</file> |
|
42509
e96a15f7f0d8
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Gary Kramlich <grim@reaperworld.com>
parents:
42448
diff
changeset
|
45 | <file>icons/16x16/status/pidgin-user-do-not-disturb.png</file> |
|
41029
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
46 | <file>icons/16x16/status/pidgin-user-invisible.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
47 | <file>icons/16x16/status/pidgin-user-offline.png</file> |
|
41093
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
48 | <file>icons/16x16/emblems/pidgin-status-founder.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
49 | <file>icons/16x16/emblems/pidgin-status-halfop.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
50 | <file>icons/16x16/emblems/pidgin-status-ignored.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
51 | <file>icons/16x16/emblems/pidgin-status-operator.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
52 | <file>icons/16x16/emblems/pidgin-status-voice.png</file> |
|
42541
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
53 | <file>icons/22x22/status/pidgin-user-available.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
54 | <file>icons/22x22/status/pidgin-user-away.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
55 | <file>icons/22x22/status/pidgin-user-do-not-disturb.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
56 | <file>icons/22x22/status/pidgin-user-invisible.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
57 | <file>icons/22x22/status/pidgin-user-offline.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
58 | <file>icons/32x32/status/pidgin-user-available.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
59 | <file>icons/32x32/status/pidgin-user-away.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
60 | <file>icons/32x32/status/pidgin-user-do-not-disturb.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
61 | <file>icons/32x32/status/pidgin-user-invisible.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
62 | <file>icons/32x32/status/pidgin-user-offline.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
63 | <file>icons/48x48/status/pidgin-user-available.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
64 | <file>icons/48x48/status/pidgin-user-away.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
65 | <file>icons/48x48/status/pidgin-user-do-not-disturb.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
66 | <file>icons/48x48/status/pidgin-user-invisible.png</file> |
|
c5bcc44520c3
Embedded the rest of the status icons and removed the unused ones
Gary Kramlich <grim@reaperworld.com>
parents:
42536
diff
changeset
|
67 | <file>icons/48x48/status/pidgin-user-offline.png</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
68 | <file>logo.png</file> |
|
38659
7772f66662f0
Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents:
38658
diff
changeset
|
69 | </gresource> |
|
38376
d27109ba6626
Move gtkdebug.html into a GResource.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
70 | </gresources> |