Don't use gtk.Image.clear until we switch to GTK 2.8
This commit is contained in:
parent
184782baa5
commit
241bc34faa
1 changed files with 2 additions and 1 deletions
|
@ -464,7 +464,8 @@ _('Without a connection, you can not browse available services')).get_response()
|
||||||
self.window.set_title(_('Service Discovery'))
|
self.window.set_title(_('Service Discovery'))
|
||||||
self.banner.set_markup('<span weight="heavy" size="large">'\
|
self.banner.set_markup('<span weight="heavy" size="large">'\
|
||||||
'%s</span>\n' % _('Service Discovery'))
|
'%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
|
self.banner_icon.hide() # Just clearing it doesn't work
|
||||||
|
|
||||||
def paint_banner(self):
|
def paint_banner(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue