Skip to content

Commit

Permalink
don't hardcode clipboard options again, use platform.features which h…
Browse files Browse the repository at this point in the history
…as it defined

git-svn-id: https://xpra.org/svn/Xpra/trunk@4646 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 31, 2013
1 parent a2b3435 commit 537250f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/xpra/gtk_common/gtk_view_clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from xpra.gtk_common.gtk_util import TableBuilder, label
from xpra.platform.paths import get_icon
from xpra.platform import init
from xpra.platform.features import CLIPBOARDS


class ClipboardInstance(object):
Expand Down Expand Up @@ -180,9 +181,7 @@ def __init__(self):
self.events.modify_font(fixed)

#how many clipboards to show:
self.clipboards = ["CLIPBOARD", "PRIMARY", "SECONDARY"]
if sys.platform.startswith("win"):
self.clipboards = ["CLIPBOARD"]
self.clipboards = CLIPBOARDS

tb = TableBuilder()
table = tb.get_table()
Expand Down

0 comments on commit 537250f

Please sign in to comment.