refactor: remove InfoBarWidget in favor of plugin-based one

- Replace direct InfoBarWidget with set_info_labels command that emits
  events to plugins
- Replace mini view widget in favor of plugin-based one
- Add widget registry exposure for code-container and editors-container
- Fix DND mixin exec_with_args call (tuple args issue)
- Add break statements in tabs_widget loops for efficiency
- Add _update_transparency call to BaseContainer
This commit is contained in:
2026-02-25 23:26:12 -06:00
parent 0b3579d485
commit a2b8232d5e
19 changed files with 182 additions and 16 deletions

View File

@@ -6,8 +6,9 @@
from .code_event import CodeEvent
from .register_provider_event import RegisterProviderEvent
from .register_command_event import RegisterCommandEvent
from .file_externally_modified_event import FileExternallyModifiedEvent
from .file_externally_deleted_event import FileExternallyDeletedEvent
from .file_externally_modified_event import FileExternallyModifiedEvent
from .file_externally_deleted_event import FileExternallyDeletedEvent
from .set_info_labels_event import SetInfoLabelsEvent
from .get_new_command_system_event import GetNewCommandSystemEvent
from .request_completion_event import RequestCompletionEvent

View File

@@ -0,0 +1,15 @@
# Python imports
from dataclasses import dataclass, field
# Lib imports
import gi
from gi.repository import Gio
# Application imports
from .code_event import CodeEvent
@dataclass
class SetInfoLabelsEvent(CodeEvent):
info: tuple[str or Gio.File] = None