show gajim.png image instead of STOCK_APPLY image cause in many theme (gnome one) it's too small and it looks ugly

This commit is contained in:
Yann Leboulanger 2006-03-27 10:36:45 +00:00
parent afaf7ecd75
commit d37d881bca
1 changed files with 2 additions and 1 deletions

View File

@ -2602,7 +2602,8 @@ _('You can set advanced account options by pressing Advanced button, or later by
self.go_online_checkbutton.show()
self.show_vcard_checkbutton.show()
img = self.xml.get_widget('finish_image')
img.set_from_stock(gtk.STOCK_APPLY, gtk.ICON_SIZE_DIALOG)
path_to_file = os.path.join(gajim.DATA_DIR, 'pixmaps', 'gajim.png')
img.set_from_file(path_to_file)
finish_text = '<big><b>%s</b></big>\n\n%s' % (
_('Your new account has been created successfully'),