pidgin/pidgin

add ivanhoe to Demo plugin

19 months ago, Markus Fischer
c4e4896c5437
Parents 5181a1b3cf8d
Children 5d7611d8e18b
add ivanhoe to Demo plugin

Testing Done:
Compiled and ran Pidgin and added a Demo account

Reviewed at https://reviews.imfreedom.org/r/1979/
--- a/libpurple/protocols/demo/purpledemoprotocol.c Thu Oct 27 03:23:06 2022 -0500
+++ b/libpurple/protocols/demo/purpledemoprotocol.c Thu Oct 27 16:51:25 2022 -0500
@@ -68,6 +68,13 @@
NULL);
status_types = g_list_append(status_types, type);
+ type = purple_status_type_new_with_attrs(
+ PURPLE_STATUS_EXTENDED_AWAY, "extended_away", NULL,
+ TRUE, TRUE, FALSE,
+ "message", _("Message"), purple_value_new(G_TYPE_STRING),
+ NULL);
+ status_types = g_list_append(status_types, type);
+
type = purple_status_type_new_full(
PURPLE_STATUS_OFFLINE, NULL, NULL,
TRUE, TRUE, FALSE);
Binary file libpurple/protocols/demo/resources/buddy_icons/Markus.png has changed
--- a/libpurple/protocols/demo/resources/contacts.json Thu Oct 27 03:23:06 2022 -0500
+++ b/libpurple/protocols/demo/resources/contacts.json Thu Oct 27 16:51:25 2022 -0500
@@ -43,6 +43,14 @@
"message": "Writing crazy patches!"
}
}]
+ }, {
+ "buddies": [{
+ "name": "Markus",
+ "status": {
+ "id": "extended_away",
+ "message": "Running all the things in valgrind..."
+ }
+ }]
}],
"Nymphs": [{
"buddies": [{
--- a/libpurple/protocols/demo/resources/purpledemo.gresource.xml Thu Oct 27 03:23:06 2022 -0500
+++ b/libpurple/protocols/demo/resources/purpledemo.gresource.xml Thu Oct 27 16:51:25 2022 -0500
@@ -11,6 +11,7 @@
<file>buddy_icons/Elliott.png</file>
<file>buddy_icons/Gary.png</file>
<file>buddy_icons/John.png</file>
+ <file>buddy_icons/Markus.png</file>
<file>buddy_icons/Richard.png</file>
</gresource>
</gresources>