[meld] Update MeldDoc delete-event docstring



commit 070373da52abed8f4c58ba355f656bc5a94b6e30
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Nov 10 08:03:45 2012 +1000

    Update MeldDoc delete-event docstring

 meld/melddoc.py |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/meld/melddoc.py b/meld/melddoc.py
index 7cff6ab..e93fc00 100644
--- a/meld/melddoc.py
+++ b/meld/melddoc.py
@@ -158,11 +158,8 @@ class MeldDoc(gobject.GObject):
 
     def on_delete_event(self, appquit=0):
         """Called when the docs container is about to close.
-           A doc normally returns gtk.RESPONSE_OK but may return
-           gtk.RESPONSE_CANCEL which requests the container
-           to not delete it. In the special case when the
-           app is about to quit, gtk.RESPONSE_CLOSE may be returned
-           which instructs the container to quit without any
-           more callbacks.
+
+        A doc normally returns gtk.RESPONSE_OK, but may instead return
+        gtk.RESPONSE_CANCEL to request that the container not delete it.
         """
         return gtk.RESPONSE_OK



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