notification-hub

distraction-free notification daemon for simple linux desktops.
git clone https://git.ce9e.org/notification-hub.git

commit
35cb38fad2c1632a4652320f8dd85568c2ae9c5f
parent
b3026cf6a017e1c2772105abdefd6ab3b674a94b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-08-09 16:35
log name aquired

Diffstat

M notification_hub.py 6 +++++-

1 files changed, 5 insertions, 1 deletions


diff --git a/notification_hub.py b/notification_hub.py

@@ -77,6 +77,10 @@ def on_bus_acquired(conn, name, user_data=None):
   77    77     conn.register_object(FDN_PATH, node_info.interfaces[0], on_call)
   78    78 
   79    79 
   -1    80 def on_name_acquired(conn, name, user_data=None):
   -1    81     print(f'Aquired name {name}')
   -1    82 
   -1    83 
   80    84 def on_name_lost(conn, name, user_data=None):
   81    85     sys.exit('name lost')
   82    86 
@@ -87,7 +91,7 @@ if __name__ == '__main__':
   87    91         FDN_IFAC,
   88    92         Gio.BusNameOwnerFlags.NONE,
   89    93         on_bus_acquired,
   90    -1         None,
   -1    94         on_name_acquired,
   91    95         on_name_lost,
   92    96     )
   93    97