summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-01-27 16:01:36 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-01-27 16:01:36 +0100
commit6224da7a5810ef8a9309bc0fd919759e832edcf6 (patch)
tree0e5c56f17254930a1e0803571edf71084614d1f8
parent0e82f9ea0df374f32eda8b63401f1f2296c79ec9 (diff)
downloadportato-6224da7a5810ef8a9309bc0fd919759e832edcf6.tar.gz
portato-6224da7a5810ef8a9309bc0fd919759e832edcf6.tar.bz2
portato-6224da7a5810ef8a9309bc0fd919759e832edcf6.zip
Fix and use the features of previous revision
-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
td>1-0/+10 2010-03-05Clean up one 'deprecated' message from portageRené 'Necoro' Neumann1-1/+1 2010-03-05Save current search type in sessionRené 'Necoro' Neumann2-6/+17 2010-03-05Added combo box for selecting the search type to main windowRené 'Necoro' Neumann3-5/+43 2010-03-05Previous commits done more correct :PRené 'Necoro' Neumann2-6/+6 2010-03-05Fix commit 7449bc5fb8fRené 'Necoro' Neumann1-3/+3 2010-03-05Ignore swap files in gitRené 'Necoro' Neumann1-0/+1 2010-03-05Added some textual descriptionsRené 'Necoro' Neumann2-1/+8 2010-03-05Add description support to the databasesRené 'Necoro' Neumann4-8/+55 2010-03-04Also parse descriptions from eixRené 'Necoro' Neumann1-2/+2 2009-11-08Added Italian translation. Thanks to Ponsi.René 'Necoro' Neumann3-0/+1166 2009-10-28Changelogv0.13.10.13René 'Necoro' Neumann1-0/+4 2009-10-28Corrected config path handling.René 'Necoro' Neumann2-9/+6 2009-10-28Corrected config path handling.René 'Necoro' Neumann2-9/+6 2009-10-24Fix the segfault in GLib due to wrong encodingRené 'Necoro' Neumann1-0/+1 2009-10-24Wrong debug message in new_version pluginRené 'Necoro' Neumann1-1/+1 2009-10-24Update TRANSLATING to use gitRené 'Necoro' Neumann1-2/+15 2009-10-24Also show revision during startup and with -vRené 'Necoro' Neumann1-1/+5 2009-10-24Adding revison info to version output.René 'Necoro' Neumann3-2/+44 2009-10-23Turn new_version plugin from a mess into sth useful.René 'Necoro' Neumann2-10/+10 2009-10-23Honor branches different from masterRené 'Necoro' Neumann1-2/+4 2009-10-23Change the new_version plugin to use git.René 'Necoro' Neumann2-32/+33 2009-10-15Objectified all the functional stuff in backend.__init__.René 'Necoro' Neumann2-32/+34 2009-10-08Enhance the splash window handling.René 'Necoro' Neumann2-2/+9 2009-10-08Enhance the splash window handling.René 'Necoro' Neumann2-2/+9 2009-10-05Some more stuff to ignoreRené 'Necoro' Neumann1-0/+3 2009-10-05Renamed the ignore fileRené 'Necoro' Neumann1-0/+0 2009-10-05Update NEWSRené 'Necoro' Neumann1-0/+1 2009-10-05Also allow 'unselect all' in the PkgListRené 'Necoro' Neumann1-1/+10 2009-10-05Now have it the sorted way in PkgListsRené 'Necoro' Neumann2-3/+9 2009-10-05Enhanced system.sort_package_list to also sort CPVsRené 'Necoro' Neumann5-27/+38 2009-10-05Added an PkgList window and rewrote UpdateWindow and WorldListWindow to use itRené 'Necoro' Neumann3-39/+63 2009-10-05Add uninstall button and rename to PkgListWindowRené 'Necoro' Neumann1-2/+17 2009-10-05First quick hack to have a world listRené 'Necoro' Neumann3-2/+24