示例#1
0
 def init(self, opts):
     GTKXpraClient.init(self, opts)
     self.ClientWindowClass = BorderClientWindow
     self.remote_clipboard = opts.remote_clipboard
     self.local_clipboard = opts.local_clipboard
     log("init(..) ClientWindowClass=%s", self.ClientWindowClass)
     from xpra.platform.ui_thread_watcher import get_UI_watcher
     self.UI_watcher = get_UI_watcher(self.timeout_add)
示例#2
0
文件: client.py 项目: svn2github/Xpra
 def init(self, opts):
     GTKXpraClient.init(self, opts)
     self.ClientWindowClass = BorderClientWindow
     self.remote_clipboard = opts.remote_clipboard
     self.local_clipboard = opts.local_clipboard
     log("init(..) ClientWindowClass=%s", self.ClientWindowClass)
     from xpra.platform.ui_thread_watcher import get_UI_watcher
     self.UI_watcher = get_UI_watcher(self.timeout_add)
示例#3
0
 def init(self, opts):
     GTKXpraClient.init(self, opts)
     if opts.window_layout:
         assert opts.window_layout in WINDOW_LAYOUTS
         self.ClientWindowClass = WINDOW_LAYOUTS.get(opts.window_layout)
     else:
         self.ClientWindowClass = ClientWindow
     log("init(..) ClientWindowClass=%s", self.ClientWindowClass)
示例#4
0
文件: client.py 项目: svn2github/Xpra
 def init(self, opts):
     GTKXpraClient.init(self, opts)
     if opts.window_layout:
         assert opts.window_layout in WINDOW_LAYOUTS
         self.ClientWindowClass = WINDOW_LAYOUTS.get(opts.window_layout)
     else:
         self.ClientWindowClass = ClientWindow
     log("init(..) ClientWindowClass=%s", self.ClientWindowClass)
示例#5
0
文件: client.py 项目: svn2github/Xpra
 def init(self, opts):
     GTKXpraClient.init(self, opts)
     if opts.window_layout:
         assert opts.window_layout in WINDOW_LAYOUTS
         self.ClientWindowClass = WINDOW_LAYOUTS.get(opts.window_layout)
     if self.ClientWindowClass:
         log.info("window layout '%s' specified, disabling OpenGL", opts.window_layout)
         opts.opengl = False
     else:
         self.ClientWindowClass = BorderClientWindow
         log("init(..) ClientWindowClass=%s", self.ClientWindowClass)
示例#6
0
 def init(self, opts):
     GTKXpraClient.init(self, opts)
     if opts.window_layout:
         assert opts.window_layout in WINDOW_LAYOUTS
         self.ClientWindowClass = WINDOW_LAYOUTS.get(opts.window_layout)
     if self.ClientWindowClass:
         log.info("window layout '%s' specified, disabling OpenGL",
                  opts.window_layout)
         opts.opengl = False
     else:
         self.ClientWindowClass = BorderClientWindow
         log("init(..) ClientWindowClass=%s", self.ClientWindowClass)
示例#7
0
 def init(self, opts):
     GTKXpraClient.init(self, opts)
     self.ClientWindowClass = ClientWindow
     log("init(..) ClientWindowClass=%s", self.ClientWindowClass)
     from xpra.platform.ui_thread_watcher import get_UI_watcher
     self.UI_watcher = get_UI_watcher(self.timeout_add)