ci: autopep8 action fixes

This commit is contained in:
AdwCustomizer 2022-09-04 09:44:19 +00:00
parent d330b0ed2b
commit 960fe4879b
3 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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()

View file

@ -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()