[gnome-flashback/wip/segeiger/inputmethods: 4/7] input-sources: add some debug messages



commit 2c328e717805cac1d3fb282724f12739f84bbbf0
Author: Sebastian Geiger <sbastig gmx net>
Date:   Fri Sep 18 23:44:00 2015 +0200

    input-sources: add some debug messages
    
    This commit will be deleted later, do not review

 gnome-flashback/libinput-sources/gf-ibus-manager.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libinput-sources/gf-ibus-manager.c 
b/gnome-flashback/libinput-sources/gf-ibus-manager.c
index b4ae16d..35bb79a 100644
--- a/gnome-flashback/libinput-sources/gf-ibus-manager.c
+++ b/gnome-flashback/libinput-sources/gf-ibus-manager.c
@@ -72,6 +72,7 @@ static guint gf_ibus_manager_signals[LAST_SIGNAL] = {0};
 static void
 spawn (GfIBusManager *manager)
 {
+  g_warning ("Going to spwan ibus-daemon now...");
   // start a new subprocess for ibus-daemon
   GError *error = NULL;
   manager->ibusDaemonSubprocess = g_subprocess_new (G_SUBPROCESS_FLAGS_NONE, &error,
@@ -87,6 +88,7 @@ static void
 onConnected_cb (IBusBus *ibus,
                 GfIBusManager *manager)
 {
+  g_message ("onConnected_cb");
   ibus_bus_list_engines_async (ibus, -1, NULL, (GAsyncReadyCallback) initEngines_cb, manager);
 
   ibus_bus_request_name_async (ibus,
@@ -139,6 +141,7 @@ static void
 onEngineChanged_cb (GfIBusManager *manager,
                     const gchar *engineName)
 {
+  g_message ("onEngineChanged_cb: %s", engineName);
   if (!manager->ready) {
     return;
   }
@@ -174,6 +177,7 @@ initEngines_cb (IBusBus *ibus,
                 GAsyncResult *result,
                 GfIBusManager *manager)
 {
+  g_message("initEngines_cb");
   GError *error = NULL;
   GList *engineList = ibus_bus_list_engines_async_finish (ibus, result, &error);
   if (engineList) {
@@ -197,6 +201,7 @@ get_global_engine_cb (IBusBus *ibus,
                       GAsyncResult *result,
                       GfIBusManager *manager)
 {
+  g_message ("get_global_engine_cb");
   GError *error = NULL;
   IBusEngineDesc *engineDescription = ibus_bus_get_global_engine_async_finish (ibus, result, &error);
   if (error) {
@@ -229,6 +234,7 @@ initPanelService_cb (IBusBus *ibus,
                      GAsyncResult *result,
                      GfIBusManager *manager)
 {
+  g_message("initPanelService_cb");
   GError *error = NULL;
   gboolean success = ibus_bus_request_name_async_finish (ibus, result, &error);
   if (error) {
@@ -246,6 +252,7 @@ initPanelService_cb (IBusBus *ibus,
     g_signal_connect (manager->panelService, "update-property", G_CALLBACK (updateProperty_cb), manager);
     g_signal_connect (manager->panelService, "set-content-type", G_CALLBACK (setContentType_cb), manager);
 
+    g_message ("ibus_bus_get_global_engine_async");
     ibus_bus_get_global_engine_async (manager->ibus, -1, NULL, (GAsyncReadyCallback) get_global_engine_cb,
                                       manager);
 


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