Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        etk_list_viewer.c 


Log Message:
Add a Shift+Del combo for those that know what they're doing

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/etk_list_viewer.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -3 -r1.86 -r1.87
--- etk_list_viewer.c   2 Aug 2007 03:30:32 -0000       1.86
+++ etk_list_viewer.c   2 Aug 2007 04:36:02 -0000       1.87
@@ -218,7 +218,12 @@
 
                if (file) {
                        printf("Deleting '%s'...\n", file->file->filename);
-                       entropy_etk_delete_dialog_new(file->file, 
(entropy_gui_component_instance*)data);
+                       
+                       if (key_event->modifiers & ETK_MODIFIER_SHIFT) {
+                               
entropy_plugin_filesystem_file_remove(file->file, 
(entropy_gui_component_instance*)data);
+                       } else {
+                               entropy_etk_delete_dialog_new(file->file, 
(entropy_gui_component_instance*)data);
+                       }
                }
 
          }



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to