Skip to content

Commit

Permalink
feat: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Sep 27, 2024
1 parent adcd79b commit a22ffe5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/API/IFileOperations.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/Backend/FileOperations.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -183,6 +183,6 @@ namespace Taxi {

loop.run();

return response;
return response;
}
}
2 changes: 1 addition & 1 deletion src/Frontend/Widgets/FilePane.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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<GLib.Uri> ("uri");
Expand Down
2 changes: 1 addition & 1 deletion src/Frontend/Widgets/OperationsPopover.vala
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace Taxi {
click_controller.pressed.connect (() => {
operation.cancel ();
});

row.append (cancel_container);

grid.attach (row, 0, 0);
Expand Down

0 comments on commit a22ffe5

Please sign in to comment.