Remove trailing whitespace

This commit is contained in:
Aaron Franke
2024-10-27 20:29:13 -07:00
parent cde215524d
commit da29bafc0f
37 changed files with 626 additions and 632 deletions

View File

@@ -672,4 +672,3 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>. <http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@@ -3,7 +3,6 @@ from gi.repository import Adw, Gtk, Gdk, GLib
class ErrorToast: class ErrorToast:
main_window = None main_window = None
def __init__(self, display_msg, error_msg): def __init__(self, display_msg, error_msg):
def on_response(dialog, response_id): def on_response(dialog, response_id):
if response_id == "copy": if response_id == "copy":
self.clipboard.set(error_msg) self.clipboard.set(error_msg)

View File

@@ -8,7 +8,6 @@ icon_theme.add_search_path(f"{home}/.local/share/flatpak/exports/share/icons")
direction = Gtk.Image().get_direction() direction = Gtk.Image().get_direction()
class Flatpak: class Flatpak:
def open_app(self, callback=None): def open_app(self, callback=None):
self.failed_app_run = None self.failed_app_run = None
def thread(*args): def thread(*args):
@@ -270,7 +269,6 @@ class HostInfo:
this.dependent_runtime_refs.clear() this.dependent_runtime_refs.clear()
def thread(task, *args): def thread(task, *args):
# Remotes # Remotes
def remote_info(installation): def remote_info(installation):
cmd = ['flatpak-spawn', '--host', cmd = ['flatpak-spawn', '--host',

View File

@@ -56,7 +56,6 @@ class PackagesPage(Adw.BreakpointBin):
last_activated_row = None last_activated_row = None
def set_status(self, to_set): def set_status(self, to_set):
if to_set is self.scrolled_window: if to_set is self.scrolled_window:
self.properties_page.stack.set_visible_child(self.properties_page.nav_view) self.properties_page.stack.set_visible_child(self.properties_page.nav_view)
self.select_button.set_sensitive(True) self.select_button.set_sensitive(True)

View File

@@ -22,7 +22,6 @@ class NewRemoteRow(Adw.ActionRow):
@Gtk.Template(resource_path="/io/github/flattool/Warehouse/remotes_page/remotes_page.ui") @Gtk.Template(resource_path="/io/github/flattool/Warehouse/remotes_page/remotes_page.ui")
class RemotesPage(Adw.NavigationPage): class RemotesPage(Adw.NavigationPage):
# Preselected Remotes # Preselected Remotes
new_remotes = [ new_remotes = [
{ {