Updated .gitignore, renamed plugins file

This commit is contained in:
itdominator 2022-09-24 15:40:21 -05:00
parent 51a565a79d
commit a7fbc6eadb
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,3 +1,4 @@
docs/
.idea/ .idea/
*.zip *.zip
@ -140,4 +141,3 @@ dmypy.json
# Cython debug symbols # Cython debug symbols
cython_debug/ cython_debug/

View File

@ -9,7 +9,7 @@ from gi.repository import GLib
# Application imports # Application imports
from trasher.xdgtrash import XDGTrash from trasher.xdgtrash import XDGTrash
from shellfm.windows.controller import WindowController from shellfm.windows.controller import WindowController
from plugins.plugins import Plugins from plugins.plugins_controller import PluginsController
@dataclass(slots=True) @dataclass(slots=True)
@ -36,7 +36,7 @@ class Controller_Data:
self.trashman = XDGTrash() self.trashman = XDGTrash()
self.fm_controller = WindowController() self.fm_controller = WindowController()
self.plugins = Plugins(_settings) self.plugins = PluginsController(_settings)
self.fm_controller_data = self.fm_controller.get_state_from_file() self.fm_controller_data = self.fm_controller.get_state_from_file()
self.trashman.regenerate() self.trashman.regenerate()

View File

@ -17,8 +17,8 @@ class InvalidPluginException(Exception):
... ...
class Plugins: class PluginsController:
"""Plugins controller""" """PluginsController controller"""
def __init__(self, settings: type): def __init__(self, settings: type):
path = os.path.dirname(os.path.realpath(__file__)) path = os.path.dirname(os.path.realpath(__file__))