From 69309d283dac97e9a67debb171fa4ed40569b072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 28 Oct 2018 20:58:32 +0100 Subject: [PATCH] AccountWizard: Use icon name instead of filename --- gajim/gtk/account_wizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gajim/gtk/account_wizard.py b/gajim/gtk/account_wizard.py index dcb0c530f..f3c013bd4 100644 --- a/gajim/gtk/account_wizard.py +++ b/gajim/gtk/account_wizard.py @@ -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