[postr: 7/8] Make postr window present itself when an image has been added.



commit d957e4cfc3bc55dda4bc7206b03fde6cd5459d23
Author: Karl Mikaelsson <derfian lysator liu se>
Date:   Mon Aug 23 21:15:19 2010 +0200

    Make postr window present itself when an image has been added.
    
    When adding an image to Postr, there was no feedback that there was a
    new image queued for uploading in the Postr window. This patch makes
    the Postr window present itself when an image has been added.

 src/postr.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/postr.py b/src/postr.py
index 93e1ab4..dc88a23 100644
--- a/src/postr.py
+++ b/src/postr.py
@@ -279,6 +279,7 @@ class Postr(UniqueApp):
         """ PyUnique callback for receiving a message """
         if command == self.commands['OPEN']:
             self.add_image_filename(data)
+            self.window.present()
             return PyUnique.RESPONSE_OK
         else:
             return PyUnique.RESPONSE_INVALID



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]