[ekiga] configure.ac: Disabled AVAHI by default.



commit f4d00ad25c61095dd6cf65b0d546723ea7ea2992
Author: Damien Sandras <dsandras beip be>
Date:   Sun Sep 30 17:09:57 2012 +0200

    configure.ac: Disabled AVAHI by default.

 configure.ac                                    |    2 +-
 lib/engine/components/opal/opal-account.cpp     |    1 +
 lib/engine/gui/gtk-frontend/roster-view-gtk.cpp |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 15029ca..18e6429 100644
--- a/configure.ac
+++ b/configure.ac
@@ -519,7 +519,7 @@ if test "x${gm_platform}" != "xmingw" ; then
   AC_ARG_ENABLE(avahi, AS_HELP_STRING([--enable-avahi],[enable mDNS support (default is enabled)]),
 [if test "x$enableval" = "xyes"; then
   enable_avahi=yes
-fi],enable_avahi=yes)
+fi],)
 
   if test "x$enable_avahi" = "xyes"; then
     PKG_CHECK_MODULES([AVAHI], [avahi-client >= 0.6 avahi-glib >= 0.6], [found_avahi=yes])
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 632b4e1..e199dec 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -766,6 +766,7 @@ Opal::Account::OnPresenceChange (OpalPresentity& /*presentity*/,
   PCaselessString note = info.m_note;
 
   PTRACE (4, "Ekiga\tReceived a presence change (notify) for " << info.m_entity << ": state " << info.m_state << ", note " << info.m_note);
+  std::cout << info.m_entity << " is " << info.m_state << std::endl << std::flush;
 
   if (info.m_state == OpalPresenceInfo::Unchanged)
     return;
diff --git a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
index 1a201f9..84af73b 100644
--- a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
+++ b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
@@ -967,6 +967,7 @@ on_presentity_added (RosterViewGtk* self,
     std::string icon = "avatar-default";
     if (presentity->get_presence () != "unknown")
       icon = "user-" + presentity->get_presence ();
+    std::cout << presentity->get_name () << "  " << icon << std::endl << std::flush;
     gtk_tree_store_set (self->priv->store, &iter,
 			COLUMN_TYPE, TYPE_PRESENTITY,
 			COLUMN_OFFLINE, active,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]