Change preview image size.
This commit is contained in:
parent
130f59efdc
commit
d4323957a1
@ -280,7 +280,7 @@ class Activity(Window, gtk.Container):
|
|||||||
"""Request that the activity is saved to the Journal."""
|
"""Request that the activity is saved to the Journal."""
|
||||||
preview_pixbuf = self.get_canvas_screenshot()
|
preview_pixbuf = self.get_canvas_screenshot()
|
||||||
preview_pixbuf = preview_pixbuf.scale_simple(units.grid_to_pixels(4),
|
preview_pixbuf = preview_pixbuf.scale_simple(units.grid_to_pixels(4),
|
||||||
units.grid_to_pixels(4),
|
units.grid_to_pixels(3),
|
||||||
gtk.gdk.INTERP_BILINEAR)
|
gtk.gdk.INTERP_BILINEAR)
|
||||||
|
|
||||||
# TODO: Find a way of taking a png out of the pixbuf without saving to a temp file.
|
# TODO: Find a way of taking a png out of the pixbuf without saving to a temp file.
|
||||||
|
Loading…
Reference in New Issue
Block a user