Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/dialogs Modified Files: ewl_properties_dialog.c Log Message: * Multi-mime-actions part 2: Actions are now hooked up (try right click a file->open with..->()). Note that this temporarily breaks the mime dialogs =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/dialogs/ewl_properties_dialog.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_properties_dialog.c 9 Feb 2006 11:55:43 -0000 1.2 +++ ewl_properties_dialog.c 18 Mar 2006 08:04:11 -0000 1.3 @@ -20,12 +20,12 @@ void open_with_cb(Ewl_Widget *w , void *ev_data , void *user_data ) { - entropy_mime_action* action; + entropy_mime_action* action = NULL; Ewl_Dialog_Event* e = ev_data; char* file = ewl_filedialog_file_get (EWL_FILEDIALOG (w)); if (e->response == EWL_STOCK_OPEN) { - action = entropy_core_mime_hint_get(local_file->mime_type); + //action = entropy_core_mime_hint_get(local_file->mime_type); if (action) { action->executable = strdup(file); } else { ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs