Skip to content

Commit

Permalink
#3070 add 'clipboard'
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 10, 2021
1 parent 606cddc commit fc71da7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions xpra/gtk_common/start_gui.py
Expand Up @@ -819,7 +819,7 @@ def set_value_from_widget(self, option_name):
return
#pick the first one:
value = values[0]
log.info("changed: %s=%s (%s) - was %s (%s)", fn, value, type(value), current_value, type(current_value))
log.info("changed: %s=%r (%s) - was %r (%s)", fn, value, type(value), current_value, type(current_value))
setattr(self.options, fn, value)


Expand Down Expand Up @@ -894,13 +894,12 @@ def populate_form(self):
"invert-z" : "invert Z axis",
"invert-all" : "invert all axes",
})
#tb.attach(Gtk.Label("Window Border"), 0)
#tb = self.table_tab("clipboard.png", "Clipboard")[0]
#tb.attach(Gtk.Label("Enabled"), 0)
#self.clipboard_enabled = Gtk.CheckButton()
#tb.attach(self.clipboard_enabled, 1)
#tb.inc()
#tb.attach(Gtk.Label("Direction"), 0)
self.combo(tb, "Clipboard", "clipboard-direction", {
"both" : "enabled",
"to-server" : "to server only",
"to-client" : "to client only",
"disabled" : "disabled",
})
self.vbox.show_all()


Expand Down

0 comments on commit fc71da7

Please sign in to comment.