[kupfer] Remove unnecessary explicit clipboard store



commit 305a11fec441d38663dccc985b0c40810a9747a8
Author: David Schneider <dnschneid gmail com>
Date:   Thu May 12 21:55:31 2011 -0700

    Remove unnecessary explicit clipboard store

 kupfer/interface.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/kupfer/interface.py b/kupfer/interface.py
index 382e073..abcb183 100644
--- a/kupfer/interface.py
+++ b/kupfer/interface.py
@@ -74,8 +74,7 @@ def copy_to_clipboard(obj, clipboard):
 	if data:
 		clipboard.set_with_data(targets, store, clear, data)
 		# store all targets
-		clipboard.set_can_store(None)
-		clipboard.store()
+		clipboard.set_can_store(targets)
 		return True
 	return False
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]