mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-16 23:22:32 +00:00
ci: autopep8 action fixes
This commit is contained in:
parent
d330b0ed2b
commit
960fe4879b
|
@ -836,9 +836,9 @@ This app is written in Python and uses GTK 4 and libadwaita.
|
|||
custom_css_group.load_custom_css(self.custom_css)
|
||||
self.win.content_plugins.add(custom_css_group)
|
||||
self.custom_css_group = custom_css_group
|
||||
|
||||
|
||||
plugins_errors = self.plugins_list.validate()
|
||||
|
||||
|
||||
self.props.active_window.update_errors(
|
||||
self.global_errors + plugins_errors)
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ from .modules.utils import buglog
|
|||
from .constants import rootdir
|
||||
import os
|
||||
|
||||
|
||||
@Gtk.Template(resource_path=f"{rootdir}/ui/plugin_row.ui")
|
||||
class GradiencePluginRow(Adw.ActionRow):
|
||||
__gtype_name__ = "GradiencePluginRow"
|
||||
|
@ -37,7 +38,7 @@ class GradiencePluginRow(Adw.ActionRow):
|
|||
switch = Gtk.Template.Child("switch")
|
||||
settings_button = Gtk.Template.Child("settings-button")
|
||||
remove_button = Gtk.Template.Child("remove-button")
|
||||
|
||||
|
||||
@Gtk.Template.Callback()
|
||||
def on_settings_plugin_clicked(self, *_args):
|
||||
self.plugin_object.open_settings()
|
||||
|
|
|
@ -251,7 +251,6 @@ class GradienceMainWindow(Adw.ApplicationWindow):
|
|||
Adw.Toast(title=_("Select a background first"))
|
||||
)
|
||||
|
||||
|
||||
def setup_colors_page(self):
|
||||
for group in settings_schema["groups"]:
|
||||
pref_group = Adw.PreferencesGroup()
|
||||
|
|
Loading…
Reference in a new issue