Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gtk4Prep] Remove Gdk.beep () #2422

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/View/AbstractDirectoryView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -3141,8 +3141,6 @@ namespace Files {
update_selected_files_and_menu ();
if (!in_recent && is_writable) {
if (selected_files.first () != null && selected_files.first ().next != null) {
//Ignore if multiple files selected
Gdk.beep ();
warning ("Cannot paste into a multiple selection");
} else {
//None or one file selected. Paste into selected file else base directory
Expand Down
5 changes: 0 additions & 5 deletions src/View/Widgets/SearchResults.vala
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,6 @@ namespace Files.View.Chrome {
filter.convert_iter_to_child_iter (out iter, iter);
/* This will call cancel () */
accept (iter, search_tree_view_button_controller.get_current_button () > 1);
} else {
Gdk.beep ();
}
});

Expand Down Expand Up @@ -507,7 +505,6 @@ namespace Files.View.Chrome {
case Gdk.Key.Tab:
case Gdk.Key.ISO_Left_Tab:
if (list_empty ()) {
Gdk.beep ();
return true;
}

Expand Down Expand Up @@ -841,7 +838,6 @@ namespace Files.View.Chrome {

void accept (Gtk.TreeIter? accepted, bool activate) {
if (accepted == null && !get_iter_at_cursor (out accepted)) {
Gdk.beep ();
return;
}

Expand All @@ -857,7 +853,6 @@ namespace Files.View.Chrome {
search (search_term, current_root);
} else {
critical ("Search match with no associated file and not an ellipsis");
Gdk.beep ();
}

return;
Expand Down
Loading