Skip to content

Commit

Permalink
Corrections, thx James
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org>
  • Loading branch information
i5o committed Dec 3, 2013
1 parent e86ecce commit 30a1f7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/deviceicon/display.py
Expand Up @@ -82,11 +82,12 @@ def __screenshot_activate_cb(self, menuitem_):
GObject.idle_add(self._take_screenshot, frame_)

def _take_screenshot(self, frame_):
while frame_.is_visible():
if frame_.is_visible():
return True

take_screenshot()
frame_.show()
return False


def setup(tray):
Expand Down

0 comments on commit 30a1f7a

Please sign in to comment.