Remove commented out code

This commit is contained in:
deepsource-autofix[bot] 2022-09-23 16:50:50 +00:00 committed by GitHub
parent f6322df8c4
commit 88152c2cf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View file

@ -75,7 +75,6 @@ class GradiencePluginRow(Adw.ActionRow):
os.remove(plugin_yapsy_file)
except FileNotFoundError:
error_dialog = Adw.MessageDialog(
# transient_for=self.props.active_window,
heading=_("Unable to remove"),
body=_("This is a system plugin, and cannot be removed. "),
)

View file

@ -427,12 +427,7 @@ class GradiencePresetWindow(Adw.Window):
self.repos_list = Adw.PreferencesGroup()
self.repos_list.set_title(_("Repositories"))
# self.add_repo_button = Gtk.Button.new_from_icon_name(
# "list-add-symbolic")
# self.add_repo_button.connect(
# "clicked", self.on_add_repo_button_clicked)
# self.repos_list.set_header_suffix(self.add_repo_button)
for repo_name, repo in self.official_repositories.items():
row = GradienceRepoRow(repo, repo_name, self, deletable=False)