예제 #1
0
파일: gui.py 프로젝트: svn2github/Xpra
 def __init__(self, client, opts):
     ClientExtrasBase.__init__(self, client, opts)
     self.setup_menu()
     self.setup_tray(opts.tray_icon)
     self.setup_clipboard_helper(ClipboardProtocolHelper)
     self._last_key_events = maxdeque(maxlen=5)
     self._dropped_num_lock_press = False
예제 #2
0
 def __init__(self, client, opts):
     ClientExtrasBase.__init__(self, client, opts)
     self.setup_menu()
     self.setup_tray(opts.tray_icon)
     self.setup_clipboard_helper(ClipboardProtocolHelper)
     self._last_key_events = deque(maxlen=5)
     self._dropped_num_lock_press = False
예제 #3
0
파일: gui.py 프로젝트: svn2github/Xpra
 def __init__(self, client, opts, conn):
     ClientExtrasBase.__init__(self, client, opts, conn)
     try:
         from xpra.platform.gdk_clipboard import TranslatedClipboardProtocolHelper
         self.setup_clipboard_helper(TranslatedClipboardProtocolHelper)
     except ImportError, e:
         log.error("GDK Translated Clipboard failed to load: %s - using default fallback", e)
         self.setup_clipboard_helper(DefaultClipboardProtocolHelper)
예제 #4
0
파일: gui.py 프로젝트: rudresh2319/Xpra
 def __init__(self, client, opts, conn):
     ClientExtrasBase.__init__(self, client, opts, conn)
     try:
         from xpra.platform.gdk_clipboard import TranslatedClipboardProtocolHelper
         self.setup_clipboard_helper(TranslatedClipboardProtocolHelper)
     except ImportError, e:
         log.error(
             "GDK Translated Clipboard failed to load: %s - using default fallback",
             e)
         self.setup_clipboard_helper(DefaultClipboardProtocolHelper)
예제 #5
0
파일: gui.py 프로젝트: svn2github/Xpra
 def __init__(self, client, opts, conn):
     self.menu_bar = None
     self.macapp = None
     self.last_attention_request_id = -1
     ClientExtrasBase.__init__(self, client, opts, conn)
     self.locate_icon_filename(opts.tray_icon)
     self.setup_macdock()
     try:
         from xpra.darwin.osx_clipboard import OSXClipboardProtocolHelper
         self.setup_clipboard_helper(OSXClipboardProtocolHelper)
     except ImportError, e:
         log.error("OSX clipboard failed to load: %s - using default fallback", e)
         self.setup_clipboard_helper(DefaultClipboardProtocolHelper)
예제 #6
0
 def __init__(self, client, opts, conn):
     self.menu_bar = None
     self.macapp = None
     self.last_attention_request_id = -1
     ClientExtrasBase.__init__(self, client, opts, conn)
     self.locate_icon_filename(opts.tray_icon)
     self.setup_macdock()
     try:
         from xpra.darwin.osx_clipboard import OSXClipboardProtocolHelper
         self.setup_clipboard_helper(OSXClipboardProtocolHelper)
     except ImportError, e:
         log.error(
             "OSX clipboard failed to load: %s - using default fallback", e)
         self.setup_clipboard_helper(DefaultClipboardProtocolHelper)
예제 #7
0
파일: gui.py 프로젝트: rudresh2319/Xpra
 def __init__(self, client, opts, conn):
     ClientExtrasBase.__init__(self, client, opts, conn)
     self.locate_icon_filename(opts.tray_icon)
     self.setup_growl(opts.notifications)
     self.setup_macdock()
예제 #8
0
 def __init__(self, client, opts):
     ClientExtrasBase.__init__(self, client, opts)
     self.locate_icon_filename(opts.tray_icon)
     self.setup_growl()
     self.setup_macdock()
     self.clipboard_helper = None
예제 #9
0
 def __init__(self, client, opts, conn):
     self.menu_bar = None
     self.macapp = None
     ClientExtrasBase.__init__(self, client, opts, conn)
     self.locate_icon_filename(opts.tray_icon)
     self.setup_macdock()
예제 #10
0
파일: gui.py 프로젝트: svn2github/Xpra
 def __init__(self, client, opts):
     ClientExtrasBase.__init__(self, client, opts)
     self.locate_icon_filename(opts.tray_icon)
     self.setup_growl(opts.notifications)
     self.setup_macdock()