[Pkg-telepathy-commits] ./packages/unstable/empathy r96: * debian/patches/00_set_null_presence_message.patch:
Sjoerd Simons
sjoerd at luon.net
Sun Feb 10 12:09:56 UTC 2008
------------------------------------------------------------
revno: 96
committer: Sjoerd Simons <sjoerd at luon.net>
branch nick: empathy
timestamp: Sun 2008-02-10 13:09:56 +0100
message:
* debian/patches/00_set_null_presence_message.patch:
- Added. If there is no presence-message, (re)set it to NULL. So the UI
can choose the right default message
added:
patches/00_set_null_presence_message.patch
modified:
changelog
-------------- next part --------------
=== modified file 'changelog'
--- a/changelog 2008-02-10 11:52:04 +0000
+++ b/changelog 2008-02-10 12:09:56 +0000
@@ -1,6 +1,9 @@
empathy (0.21.90-2) UNRELEASED; urgency=low
* debian/*.symbols: Remove the debian versioning
+ * debian/patches/00_set_null_presence_message.patch:
+ - Added. If there is no presence-message, (re)set it to NULL. So the UI
+ can choose the right default message
-- Sjoerd Simons <sjoerd at debian.org> Sun, 10 Feb 2008 12:46:53 +0100
=== added file 'patches/00_set_null_presence_message.patch'
--- a/patches/00_set_null_presence_message.patch 1970-01-01 00:00:00 +0000
+++ b/patches/00_set_null_presence_message.patch 2008-02-10 12:09:56 +0000
@@ -0,0 +1,19 @@
+commit 94cde42c3f7800a0b3f63feff88e659ebc99afc7
+Author: Sjoerd Simons <sjoerd at luon.net>
+Date: Sun Feb 10 12:26:46 2008 +0100
+
+ EmpathyTpContactFactory: If the presence dict doesn't contain a presence-message set the presence message to NULL
+
+diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c
+index 14d2640..7748252 100644
+--- a/libempathy/empathy-tp-contact-factory.c
++++ b/libempathy/empathy-tp-contact-factory.c
+@@ -122,6 +122,8 @@ tp_contact_factory_presences_table_foreach (const gchar *state_str,
+ if (message != NULL) {
+ empathy_contact_set_presence_message (contact,
+ g_value_get_string (message));
++ } else {
++ empathy_contact_set_presence_message (contact, NULL);
+ }
+ }
+
More information about the Pkg-telepathy-commits
mailing list