summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2022-12-23 19:25:42 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-12-23 19:25:42 +0000
commit6dad8f3d1516a5ba5111338880a09be0c69fe269 (patch)
treef271dae849cce1873e33753e3cb6fd03047e0f4b
parent2d57106a88742d3a84486e55e4107f3df1bcf60b (diff)
downloadnautilus-6dad8f3d1516a5ba5111338880a09be0c69fe269.tar.gz
list-base: Don't ring error bell from sushi
There is no bell ringing in the same situation with using arrow keys directly, so there is not reason to have them when bridging the keys from sushi.
-rw-r--r--src/nautilus-list-base.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nautilus-list-base.c b/src/nautilus-list-base.c
index 22ee5a18c..216f3a657 100644
--- a/src/nautilus-list-base.c
+++ b/src/nautilus-list-base.c
@@ -1565,8 +1565,6 @@ real_preview_selection_event (NautilusFilesView *files_view,
{
if (i == 0)
{
- /* We are at the start of the list, can't move up. */
- gtk_widget_error_bell (GTK_WIDGET (self));
return;
}
@@ -1578,8 +1576,6 @@ real_preview_selection_event (NautilusFilesView *files_view,
if (i >= g_list_model_get_n_items (G_LIST_MODEL (priv->model)))
{
- /* We are at the end of the list, can't move down. */
- gtk_widget_error_bell (GTK_WIDGET (self));
return;
}
}