[pybliographer] Fix a Callback issue



commit e1841aec5f652be331caee833a536b991cb6dc0b
Author: Zoltan Kota <zoltank gmail com>
Date:   Fri Mar 7 12:04:57 2014 +0100

    Fix a Callback issue

 Pyblio/GnomeUI/Document.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Document.py b/Pyblio/GnomeUI/Document.py
index 746882d..0e8a6a5 100644
--- a/Pyblio/GnomeUI/Document.py
+++ b/Pyblio/GnomeUI/Document.py
@@ -942,9 +942,10 @@ class Document (Connector.Publisher):
         l = len (entries)
 
         if l == 0: return
-        
+
         if l > 5:
-            if not Utils.Callback (_("Really edit %d entries ?") % l):
+            if not Utils.Callback (_("Really edit %d entries ?") 
+                                   % l, parent = self.w).answer ():
                 return
 
         for entry in entries:


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