mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-17 23:01:59 +00:00
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:
parent
ccce95655a
commit
c9f00f38e1
|
@ -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>
|
2005-11-24 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* icons/knob.png:
|
* icons/knob.png:
|
||||||
|
|
|
@ -936,9 +936,6 @@ static void
|
||||||
action_delete_callback (GtkAction *action,
|
action_delete_callback (GtkAction *action,
|
||||||
gpointer callback_data)
|
gpointer callback_data)
|
||||||
{
|
{
|
||||||
if (!show_delete_command_auto_value) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
delete_selected_files (FM_DIRECTORY_VIEW (callback_data));
|
delete_selected_files (FM_DIRECTORY_VIEW (callback_data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6976,8 +6973,8 @@ real_update_menus (FMDirectoryView *view)
|
||||||
g_object_set (action,
|
g_object_set (action,
|
||||||
"label", _("_Delete"),
|
"label", _("_Delete"),
|
||||||
NULL);
|
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,
|
action = gtk_action_group_get_action (view->details->dir_action_group,
|
||||||
FM_ACTION_DUPLICATE);
|
FM_ACTION_DUPLICATE);
|
||||||
|
|
Loading…
Reference in a new issue