mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-04 18:27:52 +00:00
Fixes by autopep8 action (#190)
This commit is contained in:
commit
fa615b5b23
|
@ -61,4 +61,3 @@ class GradiencePluginCore():
|
|||
|
||||
def save(self):
|
||||
raise NotImplementedError()
|
||||
|
||||
|
|
|
@ -52,7 +52,8 @@ class GradiencePluginsList:
|
|||
def to_group(self):
|
||||
group = Adw.PreferencesGroup()
|
||||
group.set_title(_("Plugins"))
|
||||
group.set_description(_("Plugins add additional features to Gradience, plugins are made by Gradience community and can make issues."))
|
||||
group.set_description(
|
||||
_("Plugins add additional features to Gradience, plugins are made by Gradience community and can make issues."))
|
||||
for plugin_id, plugin in self.plugins:
|
||||
row = GradiencePluginRow(plugin.name, plugin_id)
|
||||
group.add(row)
|
||||
|
@ -61,4 +62,3 @@ class GradiencePluginsList:
|
|||
row.set_title(_("No plugins found"))
|
||||
group.add(row)
|
||||
return group
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ from .constants import rootdir, app_id, build_type
|
|||
from .presets_manager_window import AdwcustomizerPresetWindow
|
||||
from .plugins_list import GradiencePluginsList
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/window.ui")
|
||||
class AdwcustomizerMainWindow(Adw.ApplicationWindow):
|
||||
__gtype_name__ = "AdwcustomizerMainWindow"
|
||||
|
@ -194,7 +195,7 @@ class AdwcustomizerMainWindow(Adw.ApplicationWindow):
|
|||
self.plugins_group = self.plugins_list.to_group()
|
||||
|
||||
self.content_plugins.add(self.plugins_group)
|
||||
|
||||
|
||||
custom_css_group = AdwcustomizerCustomCSSGroup()
|
||||
for app_type in settings_schema["custom_css_app_types"]:
|
||||
self.get_application().custom_css[app_type] = ""
|
||||
|
|
Loading…
Reference in a new issue