♻️ refactor(launcher): remove gi.repository imports in result_item, use EventBox, Label, Image from fabric.widgets
This commit is contained in:
5 files changed
+4
-26
No files matched your search
@@ -1,7 +1,3 @@
|
||||
"""
|
||||
Base class for launcher plugins.
|
||||
"""
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import List
|
||||
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
"""
|
||||
Plugin manager for the launcher.
|
||||
Handles loading, managing, and executing plugins.
|
||||
"""
|
||||
|
||||
import importlib
|
||||
import importlib.util
|
||||
import os
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
"""
|
||||
Result class representing a search result from plugins.
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import Any, Callable, Optional
|
||||
|
||||
|
||||
@@ -1,14 +1,9 @@
|
||||
"""
|
||||
UI component for displaying search results.
|
||||
"""
|
||||
|
||||
from gi.repository import Gtk
|
||||
import gi
|
||||
from fabric.widgets.box import Box
|
||||
from fabric.widgets.label import Label
|
||||
from fabric.widgets.image import Image
|
||||
from fabric.widgets.eventbox import EventBox
|
||||
from fabric.core.service import Signal
|
||||
from fabric.widgets.box import Box
|
||||
from fabric.widgets.eventbox import EventBox
|
||||
from fabric.widgets.image import Image
|
||||
from fabric.widgets.label import Label
|
||||
from modules.launcher.result import Result
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
"""
|
||||
Simple trigger configuration manager for the launcher.
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
from typing import Any, Dict, List
|
||||
|
||||
Reference in new issue
Block a user