diff options
author | Simon Schampijer <simon@schampijer.de> | 2009-07-08 13:52:09 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2009-07-08 13:52:09 (GMT) |
commit | 0948af15c4895831949bb2f6f52c63c4b6f8a2d3 (patch) | |
tree | ff66c961270ce66b2d758de4f4b57e919658d286 /browser.py | |
parent | fab5b0f0f321fbea2782a7af2734a03962225c38 (diff) |
Correct ordering when saving tabs
Diffstat (limited to 'browser.py')
-rw-r--r-- | browser.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ # Copyright (C) 2006, Red Hat, Inc. # Copyright (C) 2007, One Laptop Per Child -# Copyright (C) 2009, Tomeu Vizoso +# Copyright (C) 2009, Tomeu Vizoso, Simon Schampijer # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -180,7 +180,7 @@ class TabbedView(gtk.Notebook): def get_session(self): tab_sessions = [] - for index in xrange(-1, self.get_n_pages() - 1): + for index in xrange(0, self.get_n_pages()): browser = self.get_nth_page(index) tab_sessions.append(sessionstore.get_session(browser)) return tab_sessions |