Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'browser.py')
-rw-r--r--browser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser.py b/browser.py
index 08ee1a5..237dc3b 100644
--- a/browser.py
+++ b/browser.py
@@ -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