/[straw]/straw/src/lib/MainWindow.py
ViewVC logotype

Diff of /straw/src/lib/MainWindow.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.76 by jmalonzo, Sun Sep 28 12:27:11 2003 UTC revision 1.77 by juri, Thu Oct 16 20:20:55 2003 UTC
# Line 13  import string Line 13  import string
13  from gtk import glade  from gtk import glade
14    
15  import straw  import straw
16  from error import log  from error import log, logparam
17  import htmlentitydefs  import htmlentitydefs
18  import time  import time
19    
# Line 90  class ItemView: Line 90  class ItemView:
90    
91      def request_url(self, document, url, stream):      def request_url(self, document, url, stream):
92          try:          try:
93              image = straw.ImageCache.retrieve(              image = straw.ImageCache.cache[
94                  straw.main.get_visible_feed().complete_url(url))                  straw.main.get_visible_feed().complete_url(url)]
95              stream.write(image.get_data())              stream.write(image.get_data())
96          except Exception, ex:          except Exception, ex:
97                log(ex)
98              raise              raise
99    
100          stream.close()          stream.close()

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26