Skip to content

Commit

Permalink
Screenshot popup alert
Browse files Browse the repository at this point in the history
This feature adds a screenshot alert to Sugar.
On pressing <Alt>+1 key or selecting 'Take a screenshot' option from bottom toolbar
generates a popup alert where user can change the default name of that screenshot.
The popup can be dismissed by clicking 'X' button or by pressing 'Escape' key.
  • Loading branch information
iamutkarshtiwari committed Apr 6, 2016
1 parent bd25063 commit eab7d61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jarabe/screenshotpanel/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def _get_preview_data(screenshot_surface):

preview_str = StringIO.StringIO()
preview_surface.write_to_png(preview_str)

return dbus.ByteArray(preview_str.getvalue())


Expand Down

0 comments on commit eab7d61

Please sign in to comment.