[gedit] Revert "Control+Delete to send files to the trash. Same as in nautilus."



commit 8cc35848effc99ec419e5beb4ba029daa47fb69a
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sat Aug 6 18:24:06 2016 -0400

    Revert "Control+Delete to send files to the trash. Same as in nautilus."
    
    This reverts commit 9f30645e269cce029ceffaf13798ac72cc9a88c3.
    
    Nautilus went back to accepting "Delete" without needing to use "Ctrl":
    https://git.gnome.org/browse/nautilus/commit/?id=036152f
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769588

 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 add69fd..b02d83d 100644
--- a/plugins/filebrowser/gedit-file-browser-widget.c
+++ b/plugins/filebrowser/gedit-file-browser-widget.c
@@ -2919,7 +2919,7 @@ on_treeview_key_press_event (GeditFileBrowserView   *treeview,
                        delete_selected_files (obj, FALSE);
                        return TRUE;
                }
-               else if ((event->state & modifiers) == GDK_CONTROL_MASK)
+               else if ((event->state & modifiers) == 0)
                {
                        delete_selected_files (obj, TRUE);
                        return TRUE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]