summaryrefslogtreecommitdiffstats
path: root/htmlbuffer.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-06-18 20:44:58 +0000
committerMatt Wilson <msw@redhat.com>2002-06-18 20:44:58 +0000
commitf40034e69f4cfabeaa03cfe844821f115835386f (patch)
treeecaf2fd07f17ee3ec999f6a64240fcebf00d5550 /htmlbuffer.py
parenteb9ea85f61b1bd73657ea6ce098f4c1188b6fa52 (diff)
downloadanaconda-f40034e69f4cfabeaa03cfe844821f115835386f.tar.gz
anaconda-f40034e69f4cfabeaa03cfe844821f115835386f.tar.xz
anaconda-f40034e69f4cfabeaa03cfe844821f115835386f.zip
always move the cursor to the top -- even if we can't see it
Diffstat (limited to 'htmlbuffer.py')
-rw-r--r--htmlbuffer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/htmlbuffer.py b/htmlbuffer.py
index 5685b7716..31a8aaa80 100644
--- a/htmlbuffer.py
+++ b/htmlbuffer.py
@@ -81,6 +81,8 @@ class HTMLBuffer(HTMLParser.HTMLParser):
self.offsets = {}
def get_buffer(self):
+ iter = self.buffer.get_iter_at_offset(0)
+ self.buffer.place_cursor(iter)
return self.buffer
def pushTag(self, tag, offset):