r6905 - dumbhippo/trunk/client/linux/src
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r6905 - dumbhippo/trunk/client/linux/src
- Date: Tue, 13 Nov 2007 16:15:33 -0600 (CST)
Author: otaylor
Date: 2007-11-13 16:15:33 -0600 (Tue, 13 Nov 2007)
New Revision: 6905
Modified:
dumbhippo/trunk/client/linux/src/hippo-im.c
Log:
Add rule properties:
user.aimBuddy
user.xmppBuddy
user.mugshotLocalBuddy
global.mugshotLocalBuddies
Modified: dumbhippo/trunk/client/linux/src/hippo-im.c
===================================================================
--- dumbhippo/trunk/client/linux/src/hippo-im.c 2007-11-13 22:11:12 UTC (rev 6904)
+++ dumbhippo/trunk/client/linux/src/hippo-im.c 2007-11-13 22:15:33 UTC (rev 6905)
@@ -74,9 +74,31 @@
"http://mugshot.org/p/o/user",
DDM_DATA_CARDINALITY_01, FALSE, NULL,
"(source.aim = target.name and target.protocol = 'aim') or "
- "(source.xmpp = target.name and target.protocol = 'xmpp')");
+ "(source.xmpp = target.name and target.protocol = 'xmpp') or "
+ "(source = target.name and target.protocol = 'mugshot-local')");
ddm_data_model_add_rule(model,
+ "http://mugshot.org/p/o/user",
+ "online-desktop:/p/o/buddy/reverse#aimBuddy",
+ "online-desktop:/p/o/buddy",
+ DDM_DATA_CARDINALITY_01, FALSE, NULL,
+ "target.aim = source.name and source.protocol = 'aim' and not source.deleted");
+
+ ddm_data_model_add_rule(model,
+ "http://mugshot.org/p/o/user",
+ "online-desktop:/p/o/buddy/reverse#xmppBuddy",
+ "online-desktop:/p/o/buddy",
+ DDM_DATA_CARDINALITY_01, FALSE, NULL,
+ "target.xmpp = source.name and source.protocol = 'xmpp' and not source.deleted");
+
+ ddm_data_model_add_rule(model,
+ "http://mugshot.org/p/o/user",
+ "online-desktop:/p/o/buddy/reverse#mugshotLocalBuddy",
+ "online-desktop:/p/o/buddy",
+ DDM_DATA_CARDINALITY_01, FALSE, NULL,
+ "target = source.name and source.protocol = 'mugshot-local' and not source.deleted");
+
+ ddm_data_model_add_rule(model,
"online-desktop:/p/o/global",
"online-desktop:/p/o/global#aimBuddies",
"online-desktop:/p/o/buddy",
@@ -89,6 +111,13 @@
"online-desktop:/p/o/buddy",
DDM_DATA_CARDINALITY_N, FALSE, NULL,
"source.protocol = 'xmpp' and not source.deleted");
+
+ ddm_data_model_add_rule(model,
+ "online-desktop:/p/o/global",
+ "online-desktop:/p/o/global#mugshotLocalBuddies",
+ "online-desktop:/p/o/buddy",
+ DDM_DATA_CARDINALITY_N, FALSE, NULL,
+ "source.protocol = 'mugshot-local' and not source.deleted");
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]