From 46558a476dd21294b6c7f926edec52cd19aa102f Mon Sep 17 00:00:00 2001 From: Ali Riza KESKIN Date: Thu, 31 Oct 2024 08:54:17 +0000 Subject: [PATCH] fix eye icon --- src/module/gtkwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/gtkwindow.py b/src/module/gtkwindow.py index f999b41..b7fdf1b 100644 --- a/src/module/gtkwindow.py +++ b/src/module/gtkwindow.py @@ -129,11 +129,11 @@ def password_entry_icon_release(self, entry, icon_pos, event): def password_entry_button_press(self, widget=None, event=None): self.o("ui_entry_password").set_visibility(True) - self.o("ui_icon_eye").set_icon_from_icon_name(1, "view-conceal-symbolic") + self.o("ui_icon_eye").set_from_icon_name("view-conceal-symbolic", 0) def password_entry_button_release(self, widget=None, event=None): self.o("ui_entry_password").set_visibility(False) - self.o("ui_icon_eye").set_icon_from_icon_name(1, "view-reveal-symbolic") + self.o("ui_icon_eye").set_from_icon_name("view-reveal-symbolic", 0) ############### username button event ###############