Skip to content

Commit

Permalink
remove remnants of the remote logging support (got moved to mixin)
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@18528 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 22, 2018
1 parent b2e5d08 commit a151df3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/xpra/client/mixins/remote_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
class RemoteLogging(object):

def __init__(self):
self.client_supports_remote_logging = False
self.in_remote_logging = False
self.local_logging = None
self.log_both = False

def init(self, opts):
self.log_both = (opts.remote_logging or "").lower()=="both"
Expand Down
8 changes: 1 addition & 7 deletions src/xpra/client/ui_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from xpra.codecs.loader import load_codecs, codec_versions, has_codec, get_codec, PREFERED_ENCODING_ORDER, PROBLEMATIC_ENCODINGS
from xpra.codecs.video_helper import getVideoHelper, NO_GFX_CSC_OPTIONS
from xpra.version_util import full_version_str
from xpra.scripts.config import parse_bool_or_int, parse_bool
from xpra.scripts.config import parse_bool_or_int
from xpra.net import compression, packet_encoding
from xpra.child_reaper import reaper_cleanup
from xpra.os_util import platform_name, bytestostr, monotonic_time, strtobytes, POSIX, BITS
Expand Down Expand Up @@ -158,9 +158,7 @@ def __init__(self):

self.client_supports_opengl = False
self.client_supports_sharing = False
self.client_supports_remote_logging = False
self.client_lock = False
self.log_both = False

#helpers and associated flags:
self.client_extras = None
Expand All @@ -171,8 +169,6 @@ def __init__(self):
self.kh_warning = False
self.menu_helper = None
self.tray = None
self.in_remote_logging = False
self.local_logging = None

#state:
self._on_handshake = []
Expand Down Expand Up @@ -206,8 +202,6 @@ def init(self, opts):

self.client_supports_sharing = opts.sharing is True
self.client_lock = opts.lock is True
self.log_both = (opts.remote_logging or "").lower()=="both"
self.client_supports_remote_logging = self.log_both or parse_bool("remote-logging", opts.remote_logging)

#until we add the ability to choose decoders, use all of them:
#(and default to non grahics card csc modules if not specified)
Expand Down

0 comments on commit a151df3

Please sign in to comment.