♻️ refactor(launcher): improve code structure and plugin functionality
This commit is contained in:
1 parent
4822693298
commit
5495233667
31 files changed
+536
-618
No files matched your search
@@ -1197,8 +1197,6 @@ class Launcher(Window):
|
||||
self.focus_mode = "search"
|
||||
self._focus_search_entry_without_selection()
|
||||
|
||||
|
||||
|
||||
def _focus_search_entry_without_selection(self):
|
||||
"""Focus search entry and position cursor at end without selecting text."""
|
||||
# First grab focus
|
||||
@@ -1245,8 +1243,6 @@ class Launcher(Window):
|
||||
# Also try with a small delay as backup
|
||||
GLib.timeout_add(CURSOR_POSITION_DELAY_MS, clear_selection)
|
||||
|
||||
|
||||
|
||||
def _navigate_results_forward(self):
|
||||
"""Navigate to next result or wrap around to first result."""
|
||||
if self.results and self.selected_index < len(self.results) - 1:
|
||||
|
||||
Reference in new issue
Block a user