Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--palettes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/palettes.py b/palettes.py
index e97fd4c..a01234d 100644
--- a/palettes.py
+++ b/palettes.py
@@ -291,7 +291,7 @@ class ImagePalette(Palette):
# Copy it inside the clipboard
image = Gtk.Image.new_from_file(temp_file.name)
os.unlink(temp_file.name)
- clipboard = Gtk.Clipboard()
+ clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)
clipboard.set_image(image.get_pixbuf())
def __download_activate_cb(self, menu_item):