1 diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
2 index 0997a15..193cb39 100644
3 --- a/src/file-manager/fm-directory-view.c
4 +++ b/src/file-manager/fm-directory-view.c
5 @@ -1894,6 +1894,17 @@ fm_directory_view_init_view_iface (NautilusViewIface *iface)
6 iface->drop_proxy_received_uris = (gpointer)fm_directory_view_drop_proxy_received_uris;
7 iface->drop_proxy_received_netscape_url = (gpointer)fm_directory_view_drop_proxy_received_netscape_url;
10 +real_update_menus (FMDirectoryView *view);
12 +key_press_event_cb (GtkWidget *widget,
14 + FMDirectoryView *view)
16 + remove_update_menus_timeout_callback (view);
17 + real_update_menus (view);
22 fm_directory_view_init (FMDirectoryView *view)
23 @@ -1903,6 +1913,9 @@ fm_directory_view_init (FMDirectoryView *view)
24 NautilusDirectory *templates_directory;
27 + g_signal_connect (view, "key-press-event",
28 + G_CALLBACK (key_press_event_cb), view);
32 eel_preferences_add_auto_boolean (NAUTILUS_PREFERENCES_CONFIRM_TRASH,