chore: drop duplicate definition

This commit is contained in:
aclist 2026-08-16 12:58:30 +09:00 committed by GitHub
parent 1a1145c79c
commit 6c810b28a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -485,19 +485,5 @@ class Options(ScrollableMixin, Gtk.ScrolledWindow): # type: ignore
self, toggle.get_children()[0], "_on_radio_toggled", state
)
def _on_icon_release(
self,
widget: Gtk.Entry,
icon_pos: Gtk.EntryIconPosition,
event: Gdk.Event,
) -> None:
visible = widget.get_visibility()
if visible:
icon, state = VIEW_REVEAL, False
else:
icon, state = VIEW_CONCEAL, True
widget.set_icon_from_icon_name(Gtk.EntryIconPosition.SECONDARY, icon)
widget.set_visibility(state)
def grab_content_area(self) -> None:
self.grab_focus()