empathy r2124 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2124 - trunk/libempathy
- Date: Fri, 9 Jan 2009 10:31:38 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 9 10:31:38 2009
New Revision: 2124
URL: http://svn.gnome.org/viewvc/empathy?rev=2124&view=rev
Log:
dispatcher_tubes_new_tube_cb: add some tube handling debug messages
Modified:
trunk/libempathy/empathy-dispatcher.c
Modified: trunk/libempathy/empathy-dispatcher.c
==============================================================================
--- trunk/libempathy/empathy-dispatcher.c (original)
+++ trunk/libempathy/empathy-dispatcher.c Fri Jan 9 10:31:38 2009
@@ -246,6 +246,7 @@
initiator);
g_object_unref (account);
+ DEBUG ("Looking for tube handler: %s", tube->bus_name);
/* Check if that bus-name has an owner, if it has one that means the
* app is already running and we can directly give the channel. */
tp_cli_dbus_daemon_run_name_has_owner (daemon, -1, tube->bus_name,
@@ -259,6 +260,7 @@
return;
}
+ DEBUG ("Tube handler is not running. Try to activate it");
/* Check if that bus-name is activatable, if not that means the
* application needed to handle this tube isn't installed. */
if (!tp_cli_dbus_daemon_run_list_activatable_names (daemon, -1,
@@ -271,6 +273,7 @@
for (name = names; *name; name++) {
if (!tp_strdiff (*name, tube->bus_name)) {
+ DEBUG ("Found tube handler");
tube->public.activatable = TRUE;
break;
}
@@ -278,6 +281,9 @@
g_strfreev (names);
}
+ if (!tube->public.activatable)
+ DEBUG ("Didn't find tube handler");
+
g_signal_emit (dispatcher, signals[FILTER_TUBE], 0, tube);
empathy_dispatcher_tube_unref ((EmpathyDispatcherTube*) tube);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]