Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 393663 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/nautilus-view.c (-2 / +5 lines)
Lines 7014-7020 static const GtkActionEntry directory_view_entries[] = { Link Here
7014
  /* tooltip */                  NULL,
7014
  /* tooltip */                  NULL,
7015
				 G_CALLBACK (action_rename_select_all_callback) },
7015
				 G_CALLBACK (action_rename_select_all_callback) },
7016
  /* name, stock id */         { "Trash", NULL,
7016
  /* name, stock id */         { "Trash", NULL,
7017
  /* label, accelerator */       N_("Mo_ve to Trash"), "<control>Delete",
7017
  /* label, accelerator */       N_("Mo_ve to Trash"), "Delete",
7018
  /* tooltip */                  N_("Move each selected item to the Trash"),
7018
  /* tooltip */                  N_("Move each selected item to the Trash"),
7019
				 G_CALLBACK (action_trash_callback) },
7019
				 G_CALLBACK (action_trash_callback) },
7020
  /* name, stock id */         { "Delete", NULL,
7020
  /* name, stock id */         { "Delete", NULL,
Lines 9687-9694 nautilus_view_class_init (NautilusViewClass *klass) Link Here
9687
	binding_set = gtk_binding_set_by_class (klass);
9687
	binding_set = gtk_binding_set_by_class (klass);
9688
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_Delete, GDK_CONTROL_MASK,
9688
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_Delete, GDK_CONTROL_MASK,
9689
				      "trash", 0);
9689
				      "trash", 0);
9690
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_Delete, 0,
9691
				      "trash", 0);
9690
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Delete, GDK_CONTROL_MASK,
9692
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Delete, GDK_CONTROL_MASK,
9691
				      "trash", 0);
9693
				      "trash", 0);
9694
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Delete, 0,
9695
				      "trash", 0);
9692
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Delete, GDK_SHIFT_MASK,
9696
	gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Delete, GDK_SHIFT_MASK,
9693
				      "delete", 0);
9697
				      "delete", 0);
9694
}
9698
}
9695
- 

Return to bug 393663