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