[gedit] Followup to the fix for bug 655359



commit 64b7ff90ce576068e73543648981153285575c0b
Author: Matěj Cepl <mcepl redhat com>
Date:   Wed Oct 9 13:03:44 2013 +0000

    Followup to the fix for bug 655359
    
    In that bug somebody fixed bad call to Gedit.commands.save_document but
    overlooked two lines down Gedit.commands.save_all_documents
    
    Signed-off-by: Matěj Cepl <mcepl redhat com>

 plugins/externaltools/tools/functions.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/externaltools/tools/functions.py b/plugins/externaltools/tools/functions.py
index 4a6c735..5fa6a1f 100644
--- a/plugins/externaltools/tools/functions.py
+++ b/plugins/externaltools/tools/functions.py
@@ -257,7 +257,7 @@ class MultipleDocumentsSaver:
             signals[doc] = doc.connect('saving', self.on_document_saving)
 
         if all_docs:
-            Gedit.commands.save_all_documents(window)
+            Gedit.commands_save_all_documents(window)
         else:
             for doc in docs:
                 Gedit.commands_save_document(window, doc)


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