summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py2
-rw-r--r--portato/session.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 970dcba..f18ca24 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -993,7 +993,7 @@ class MainWindow (Window):
Loads the session data.
"""
try:
- self.session = Session("gtk_session.cfg")
+ self.session = Session("gui.cfg", name="GUI", oldfiles=["gtk_session.cfg"])
except (OSError, IOError), e:
io_ex_dialog(e)
return
diff --git a/portato/session.py b/portato/session.py
index ddad438..440d4bf 100644
--- a/portato/session.py
+++ b/portato/session.py
@@ -52,7 +52,7 @@ class Session (object):
if not os.path.exists(file):
for o in oldfiles:
if os.path.exists(o):
- debug("Moving old session file '%s' to '%s'.")
+ debug("Moving old session file '%s' to '%s'." % (o, file))
os.rename(o,file)
break