Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/OficinaActivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'OficinaActivity.py')
-rw-r--r--OficinaActivity.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/OficinaActivity.py b/OficinaActivity.py
index 4169554..cf8b56e 100644
--- a/OficinaActivity.py
+++ b/OficinaActivity.py
@@ -149,5 +149,6 @@ class OficinaActivity(activity.Activity):
width, height = self._area.window.get_size()
pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8, width, height)
pixbuf.get_from_drawable(self._area.pixmap, gtk.gdk.colormap_get_system(), 0, 0, 0, 0, -1, -1)
+ self.metadata['mime_type'] = 'image/png'
pixbuf.save(file_path, 'png', {})