[gedit] Control+Delete to send files to the trash. Same as in nautilus.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Control+Delete to send files to the trash. Same as in nautilus.
- Date: Mon, 4 Apr 2011 17:05:17 +0000 (UTC)
commit 9f30645e269cce029ceffaf13798ac72cc9a88c3
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Apr 4 18:56:16 2011 +0200
Control+Delete to send files to the trash. Same as in nautilus.
plugins/filebrowser/gedit-file-browser-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-widget.c b/plugins/filebrowser/gedit-file-browser-widget.c
index 4c713ec..fbc0268 100644
--- a/plugins/filebrowser/gedit-file-browser-widget.c
+++ b/plugins/filebrowser/gedit-file-browser-widget.c
@@ -2889,7 +2889,7 @@ on_treeview_key_press_event (GeditFileBrowserView *treeview,
delete_selected_files (obj, FALSE);
return TRUE;
}
- else if ((event->state & modifiers) == 0)
+ else if ((event->state & modifiers) == GDK_CONTROL_MASK)
{
delete_selected_files (obj, TRUE);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]