Module: deluge
Branch: master
Commit: e16ee523a54e9d81eb86e94626daf7e3dbb0603a

Author: Nick <[email protected]>
Date:   Mon Feb 21 17:41:10 2011 +0100

fix messagepopup height_req

---

 deluge/ui/console/modes/popup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/console/modes/popup.py b/deluge/ui/console/modes/popup.py
index 0702801..0bb2a04 100644
--- a/deluge/ui/console/modes/popup.py
+++ b/deluge/ui/console/modes/popup.py
@@ -260,7 +260,7 @@ class MessagePopup(Popup):
         self.message = message
         self.width= int(parent_mode.cols/2)
         lns = self._split_message()
-        Popup.__init__(self,parent_mode,title,height_req=len(lns))
+        Popup.__init__(self,parent_mode,title,height_req=(len(lns)+2))
         self._lines = lns
 
     def _split_message(self):

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to