From a22ffe5b67744eaef103bf6c3f58625a1ec64898 Mon Sep 17 00:00:00 2001 From: Alain Date: Fri, 27 Sep 2024 16:24:46 -0500 Subject: [PATCH] feat: fix lint --- src/API/IFileOperations.vala | 1 - src/Backend/FileOperations.vala | 4 ++-- src/Frontend/Widgets/FilePane.vala | 2 +- src/Frontend/Widgets/OperationsPopover.vala | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/API/IFileOperations.vala b/src/API/IFileOperations.vala index e78c9aa..3b89708 100644 --- a/src/API/IFileOperations.vala +++ b/src/API/IFileOperations.vala @@ -20,7 +20,6 @@ namespace Taxi { public signal void operation_added (IOperationInfo operation); public signal void operation_removed (IOperationInfo operation); - public async abstract bool delete_recursive ( File file, Cancellable? cancellable diff --git a/src/Backend/FileOperations.vala b/src/Backend/FileOperations.vala index df16574..6073db0 100644 --- a/src/Backend/FileOperations.vala +++ b/src/Backend/FileOperations.vala @@ -170,7 +170,7 @@ namespace Taxi { var replace_button = new Gtk.Button.with_label (_("Replace")); replace_button.add_css_class (Granite.STYLE_CLASS_SUGGESTED_ACTION); message_dialog.add_action_widget (replace_button, ConflictFlag.REPLACE); - + message_dialog.show (); int response = 0; @@ -183,6 +183,6 @@ namespace Taxi { loop.run(); - return response; + return response; } } diff --git a/src/Frontend/Widgets/FilePane.vala b/src/Frontend/Widgets/FilePane.vala index f53bb66..b258c7d 100644 --- a/src/Frontend/Widgets/FilePane.vala +++ b/src/Frontend/Widgets/FilePane.vala @@ -94,7 +94,7 @@ namespace Taxi { path_bar.transfer.connect (on_pathbar_transfer); var drop_target = new Gtk.DropTarget (typeof (Gtk.ListBoxRow), Gdk.DragAction.COPY); - list_box.add_controller (drop_target); + list_box.add_controller (drop_target); drop_target.drop.connect ((value, x, y) => { var row = (Gtk.ListBoxRow) value; var uri = row.get_data ("uri"); diff --git a/src/Frontend/Widgets/OperationsPopover.vala b/src/Frontend/Widgets/OperationsPopover.vala index a5bb049..555e293 100644 --- a/src/Frontend/Widgets/OperationsPopover.vala +++ b/src/Frontend/Widgets/OperationsPopover.vala @@ -71,7 +71,7 @@ namespace Taxi { click_controller.pressed.connect (() => { operation.cancel (); }); - + row.append (cancel_container); grid.attach (row, 0, 0);