Пример #1
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     capabilities.update(ShadowServerBase.make_hello(self, source))
     capabilities["server_type"] = "Python/gtk2/x11-shadow"
     return capabilities
Пример #2
0
 def make_hello(self, source):
     caps = ShadowServerBase.make_hello(self, source)
     caps.update(GTKServerBase.make_hello(self, source))
     if source.wants_features:
         caps["screen_sizes"] = get_screen_sizes()
     return caps
Пример #3
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     capabilities.update(ShadowServerBase.make_hello(self, source))
     capabilities["server_type"] = "Python/gtk2/x11-shadow"
     return capabilities