From daf178144b76e768cb84ee1775f4d05d4c23065d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 22 Jan 2008 23:37:19 +0000 Subject: [PATCH] set FARSIGHT_LIBS var --- configure.ac | 2 ++ src/common/contacts.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e1cb369ed..66ad0e34b 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,8 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"], [Gettext package]) AM_GLIB_GNU_GETTEXT AM_NLS +FARSIGHT_LIBS=`$PKG_CONFIG --libs farsight-0.1` +AC_SUBST(FARSIGHT_LIBS) FARSIGHT_CFLAGS=`$PKG_CONFIG --cflags farsight-0.1` AC_SUBST(FARSIGHT_CFLAGS) diff --git a/src/common/contacts.py b/src/common/contacts.py index 52cb81959..48f4dd762 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -405,7 +405,7 @@ class Contacts: max_order = 0 order = 0 if data.has_key('order'): - order = data['order'] + order = int(data['order']) if order: family = self.get_metacontacts_family(account, jid) for data_ in family: