[pybliographer/gtk3] Fix a Callback issue



commit 6243803571e48969b0c99cc792d3cb58f9368856
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 89e66dd..15728f8 100644
--- a/Pyblio/GnomeUI/Document.py
+++ b/Pyblio/GnomeUI/Document.py
@@ -945,9 +945,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]