Commit graph

5 commits

Author SHA1 Message Date
Matthew W. S. Bell
52482ec70d Use with_unix_fd_list variant of DBus method call.
Any returned 'h' type argument is intended to be an index into a
unix fd list structure obtained separately. Such a unix fd list, in
python, will manage and close any contained fds as a whole, or fds may
be retrieved, managed, and closed individually, as is done in this
patch.

Also, use None instead of -1 because python.

This patch means gajim keeps its supsend inhibitor open and stops it
closing stdin on suspend.

Fixes #8852
2018-01-18 18:23:00 +01:00
André Apitzsch
5364c1980c Port logind_listener to GTK dbus 2017-12-09 15:04:15 +01:00
André Apitzsch
89c7eb6e6a Rename gajim.common.gajim to avoid name conflicts 2017-08-18 20:03:20 +02:00
André Apitzsch
efec098aef Use absolute imports 2017-08-18 19:48:48 +02:00
André Apitzsch
125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
Renamed from src/logind_listener.py (Browse further)