mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-08-23 07:52:32 +00:00
Format code with black and autopep8 (#490)
This commit is contained in:
commit
af20b63069
1 changed files with 5 additions and 7 deletions
|
@ -293,9 +293,7 @@ class GradiencePresetWindow(Adw.Window):
|
||||||
Adw.Toast(title=_("Preset imported")))
|
Adw.Toast(title=_("Preset imported")))
|
||||||
else:
|
else:
|
||||||
self.toast_overlay.add_toast(
|
self.toast_overlay.add_toast(
|
||||||
Adw.Toast(
|
Adw.Toast(title=_("Unsupported file format, must be .json"))
|
||||||
title=_("Unsupported file format, must be .json")
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
self.reload_pref_group()
|
self.reload_pref_group()
|
||||||
|
@ -384,9 +382,9 @@ class GradiencePresetWindow(Adw.Window):
|
||||||
self.preset_list.set_title(_("User Presets"))
|
self.preset_list.set_title(_("User Presets"))
|
||||||
self.preset_list.set_description(
|
self.preset_list.set_description(
|
||||||
_(
|
_(
|
||||||
'See '\
|
"See "
|
||||||
'<a href="https://github.com/GradienceTeam/Community">'\
|
'<a href="https://github.com/GradienceTeam/Community">'
|
||||||
'GradienceTeam/Community</a> on Github for more presets'
|
"GradienceTeam/Community</a> on Github for more presets"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -411,7 +409,7 @@ class GradiencePresetWindow(Adw.Window):
|
||||||
self.preset_empty = Adw.ActionRow()
|
self.preset_empty = Adw.ActionRow()
|
||||||
self.preset_empty.set_title(
|
self.preset_empty.set_title(
|
||||||
_(
|
_(
|
||||||
"No preset found! Use the import button to import one or "\
|
"No preset found! Use the import button to import one or "
|
||||||
"search one on the Explore tab"
|
"search one on the Explore tab"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue