[chrome-gnome-shell] Added more debug messages



commit b0ea5e0ff5aa93dba30145478fe077c0ddc708b1
Author: Yuri Konotopov <ykonotopov gmail com>
Date:   Sun Jul 31 00:13:28 2016 +0300

    Added more debug messages

 connector/gs-chrome-connector.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/connector/gs-chrome-connector.py b/connector/gs-chrome-connector.py
index 82cc089..a6efd14 100755
--- a/connector/gs-chrome-connector.py
+++ b/connector/gs-chrome-connector.py
@@ -216,6 +216,7 @@ def on_shell_appeared(connection, name, name_owner):
 
 
 if __name__ == '__main__':
+    debug('[%d] Startup' % (os.getpid()))
     proxy = Gio.DBusProxy.new_for_bus_sync(Gio.BusType.SESSION,
                                            Gio.DBusProxyFlags.NONE,
                                            None,
@@ -245,4 +246,5 @@ if __name__ == '__main__':
     Gio.bus_unwatch_name(shellAppearedId)
 
     appLoop.join()
+    debug('[%d] Quit' % (os.getpid()))
     sys.exit(0)


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