[gedit-plugins/sessionsaver] Should save on exit



commit ccc683d88b686a93508748125b8ee6dea878e8b5
Author: Jordi Mas <jmas softcatala org>
Date:   Mon Jul 1 10:57:59 2019 +0200

    Should save on exit

 plugins/sessionsaver/sessionsaver/dialogs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/sessionsaver/sessionsaver/dialogs.py b/plugins/sessionsaver/sessionsaver/dialogs.py
index 2eb2bcd..8cc3311 100644
--- a/plugins/sessionsaver/sessionsaver/dialogs.py
+++ b/plugins/sessionsaver/sessionsaver/dialogs.py
@@ -85,12 +85,12 @@ class Dialog(object):
         self.__del__()
 
 class SaveSessionDialog(Dialog):
-    def __init__(self, window, on_ok, sessions, data_dir):
+    def __init__(self, window, on_updated_sessions, sessions, data_dir):
         super(SaveSessionDialog, self).__init__('save-session-dialog',
                                                 data_dir,
                                                 window)
 
-        self.on_ok = on_ok
+        self.on_updated_sessions = on_updated_sessions
         self.sessions = sessions
 
         model = SessionModel(sessions)


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