[chrome-gnome-shell/feature/extensions_sync] connector: watch events for every browser instance.
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell/feature/extensions_sync] connector: watch events for every browser instance.
- Date: Thu, 11 Aug 2016 10:30:00 +0000 (UTC)
commit 825eb30ffb6077cb77aa0766ea82f05d950f68cc
Author: Yuri Konotopov <ykonotopov gmail com>
Date: Thu Aug 11 13:29:50 2016 +0300
connector: watch events for every browser instance.
Allow to use connector with different browsers same time.
connector/chrome-gnome-shell.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/connector/chrome-gnome-shell.py b/connector/chrome-gnome-shell.py
index 81a8df8..655c083 100755
--- a/connector/chrome-gnome-shell.py
+++ b/connector/chrome-gnome-shell.py
@@ -238,7 +238,7 @@ def main():
lock_socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
try:
- lock_socket.bind('\0chrome-gnome-shell')
+ lock_socket.bind('\0chrome-gnome-shell-%d' % os.getppid())
debug('[%d] Local socket obtained' % (os.getpid()))
shellAppearedId = Gio.bus_watch_name(Gio.BusType.SESSION,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]