Skip to content

Commit

Permalink
fix eye icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Oct 31, 2024
1 parent fa07cd0 commit 46558a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module/gtkwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###############

Expand Down

0 comments on commit 46558a4

Please sign in to comment.