def show_start_new_command(self, *args): log("show_start_new_command%s current start_new_command=%s, flag=%s", args, self.start_new_command, self.start_new_commands) if self.start_new_command is None: from xpra.client.gtk_base.start_new_command import getStartNewCommand def run_command_cb(command, sharing=True): self.send_start_command(command, command, False, sharing) self.start_new_command = getStartNewCommand(run_command_cb, self.server_supports_sharing and self.server_supports_window_filters) self.start_new_command.show() return self.start_new_command
def show_start_new_command(self, *args): log("show_start_new_command%s current start_new_command=%s, flag=%s", args, self.start_new_command, self.start_new_commands) if self.start_new_command is None: from xpra.client.gtk_base.start_new_command import getStartNewCommand def run_command_cb(command): self.send_start_command(command, command, False) self.start_new_command = getStartNewCommand(run_command_cb) self.start_new_command.show() return self.start_new_command
def show_start_new_command(self, *args): if not self.start_new_commands: log.warn("Warning: cannot start new commands") log.warn(" the feature is currently disabled on the server") return log("show_start_new_command%s current start_new_command=%s, flag=%s", args, self.start_new_command, self.start_new_commands) if self.start_new_command is None: from xpra.client.gtk_base.start_new_command import getStartNewCommand def run_command_cb(command, sharing=True): self.send_start_command(command, command, False, sharing) self.start_new_command = getStartNewCommand(run_command_cb, self.server_supports_sharing and self.server_supports_window_filters) self.start_new_command.show() return self.start_new_command
def show_start_new_command(self, *args): log("show_start_new_command%s current start_new_command=%s, flag=%s", args, self.start_new_command, self.start_new_commands) if self.start_new_command is None: from xpra.client.gtk_base.start_new_command import getStartNewCommand def run_command_cb(command, sharing=True): self.send_start_command(command, command, False, sharing) self.start_new_command = getStartNewCommand( run_command_cb, self.server_supports_sharing and self.server_supports_window_filters) self.start_new_command.show() return self.start_new_command
def show_start_new_command(*_args): from xpra.client.gtk_base.start_new_command import getStartNewCommand getStartNewCommand(None).show()