~ubuntu-branches/ubuntu/maverick/software-center/maverick

« back to all changes in this revision

Viewing changes to softwarecenter/view/appdetailsview_gtk.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt, Michael Vogt, Gary Lasker
  • Date: 2010-09-24 22:35:42 UTC
  • Revision ID: james.westby@ubuntu.com-20100924223542-m9dde7v0dpurjb6d
Tags: 3.0.1
[ Michael Vogt ]
* softwarecenter/db/update.py:
  - index the file even if "catalogedtime" is not yet written
    to /var/lib/apt-xapian-index/values (LP: #646018)
* softwarecenter/view/purchasedialog.py:
  - set default window size to 640x400 (LP: #635215)

[ Gary Lasker ]
* softwarecenter/view/appdetailsview_gtk.py:
  - fix crash if iconname has no value (LP: #639934) 
* softwarecenter/view/viewswitcher.py:
  - fix intermittent crash when using arrow keys to
    expand/collapse nodes in the left nav pane (LP: #644176) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1438
1438
                    image.set_from_icon_name(iconname, gtk.ICON_SIZE_SMALL_TOOLBAR)
1439
1439
                    self.desc_installed_where.pack_start(image, False, False)
1440
1440
                # then see if its a path to a file on disk
1441
 
                elif os.path.exists(iconname):
 
1441
                elif iconname and os.path.exists(iconname):
1442
1442
                    image = gtk.Image()
1443
1443
                    image.set_from_file(iconname)
1444
1444
                    self.desc_installed_where.pack_start(image, False, False)