Silly fix to copy clipboard to Qubes clipboard.(#543)

This commit is contained in:
Agnieszka Kostrzewa 2012-05-06 21:26:50 +02:00
parent b0d32f550d
commit 77e3d2feb0

View File

@ -1510,11 +1510,10 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
qubes_clipboard.write(clipboard)
qubes_clipboard.close()
qubes_clip_source = open("/var/run/qubes/qubes_clipboard.source", 'w')
qubes_clip_source = open("/var/run/qubes/qubes_clipboard.bin.source", 'w')
qubes_clip_source.write("dom0")
qubes_clip_source.close()
trayIcon.showMessage ("Qubes VM Manager", "Qubes clipboard fetched from <b>dom0</b>.", msecs=3000)
try:
fcntl.flock(fd, fcntl.LOCK_UN)
os.close(fd)