Don't use gtk.Image.clear until we switch to GTK 2.8

This commit is contained in:
shteef 2005-10-30 15:08:47 +00:00
parent 184782baa5
commit 241bc34faa
1 changed files with 2 additions and 1 deletions

View File

@ -464,7 +464,8 @@ _('Without a connection, you can not browse available services')).get_response()
self.window.set_title(_('Service Discovery'))
self.banner.set_markup('<span weight="heavy" size="large">'\
'%s</span>\n' % _('Service Discovery'))
self.banner_icon.clear()
# FIXME: use self.banner_icon.clear() when we switch to GTK 2.8
self.banner_icon.set_from_file(None)
self.banner_icon.hide() # Just clearing it doesn't work
def paint_banner(self):