Allow shift-delete even if not visible in ui.

2005-11-24  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c:
	Allow shift-delete even if not visible in ui.

	Patch from Nelson Benítez <gnel@cenobioracing.com>
This commit is contained in:
Alexander Larsson 2005-11-24 13:05:47 +00:00 committed by Alexander Larsson
parent ccce95655a
commit c9f00f38e1
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2005-11-24 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-directory-view.c:
Allow shift-delete even if not visible in ui.
Patch from Nelson Benítez <gnel@cenobioracing.com>
2005-11-24 Alexander Larsson <alexl@redhat.com>
* icons/knob.png:

View file

@ -936,9 +936,6 @@ static void
action_delete_callback (GtkAction *action,
gpointer callback_data)
{
if (!show_delete_command_auto_value) {
return;
}
delete_selected_files (FM_DIRECTORY_VIEW (callback_data));
}
@ -6976,8 +6973,8 @@ real_update_menus (FMDirectoryView *view)
g_object_set (action,
"label", _("_Delete"),
NULL);
gtk_action_set_sensitive (action, can_delete_files);
}
gtk_action_set_sensitive (action, can_delete_files);
action = gtk_action_group_get_action (view->details->dir_action_group,
FM_ACTION_DUPLICATE);