AccountWizard: Use icon name instead of filename

This commit is contained in:
Philipp Hörist 2018-10-28 20:58:32 +01:00
parent 95e67ab7c1
commit 69309d283d
1 changed files with 3 additions and 3 deletions

View File

@ -179,10 +179,10 @@ class AccountCreationWizard:
self.go_online_checkbutton.show()
img = self.xml.get_object('finish_image')
if self.modify:
img.set_from_icon_name(Gtk.STOCK_APPLY, Gtk.IconSize.DIALOG)
img.set_from_icon_name('emblem-ok-symbolic', Gtk.IconSize.DIALOG)
img.get_style_context().add_class('success-color')
else:
path_to_file = gtkgui_helpers.get_icon_path('org.gajim.Gajim', 48)
img.set_from_file(path_to_file)
img.set_from_icon_name('org.gajim.Gajim', Gtk.IconSize.DIALOG)
self.show_vcard_checkbutton.set_active(not self.modify)
self.notebook.set_current_page(6) # show finish page