Ejemplo n.º 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)
Ejemplo n.º 2
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)
Ejemplo n.º 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)
Ejemplo n.º 4
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)
Ejemplo n.º 5
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)
Ejemplo n.º 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)
Ejemplo n.º 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)