Enlightenment CVS committal Author : chaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/dialogs Modified Files: etk_mime_dialog_main.c Log Message: Be smarter about add/edit behaviour =================================================================== RCS file: /cvs/e/e17/proto/entropy/src/dialogs/etk_mime_dialog_main.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- etk_mime_dialog_main.c 28 Jul 2007 09:31:09 -0000 1.19 +++ etk_mime_dialog_main.c 29 Jul 2007 12:25:58 -0000 1.20 @@ -210,7 +210,8 @@ etk_tree_row_fields_get(row, col2, &mime_type, NULL); if (mime_type) { - etk_mime_dialog_application_create(mime_type,action); + if ( (edit_action == NULL && isedit == 0) || (edit_action && isedit == 1)) + etk_mime_dialog_application_create(mime_type,action); } } } ------------------------------------------------------------------------- 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