Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot
Dir : e_modules/screenshot Modified Files: e_mod_main.c Log Message: Fix from Janne Julkunen for filename/location corrections. =================================================================== RCS file: /cvs/e/e_modules/screenshot/e_mod_main.c,v retrieving revision 1.65 retrieving revision 1.66 diff -u -3 -r1.65 -r1.66 --- e_mod_main.c 23 Sep 2006 22:00:15 -0000 1.65 +++ e_mod_main.c 3 Oct 2006 04:10:43 -0000 1.66 @@ -679,8 +679,11 @@ if (!p) snprintf (buf, sizeof (buf), "%s.png", inst->filename); - snprintf (buf, sizeof (buf), "%s %s %s/%s", cmd, opt, ci->location, + snprintf (buf, sizeof (buf), "%s %s %s/%s", cmd, opt, ci->location, inst->filename); + + printf("\n\nBuf: %s\n\n", buf); + ss_config->exe_exit_handler = ecore_event_handler_add (ECORE_EXE_EVENT_DEL, _ss_exe_cb_exit, NULL); if (ci->delay_time > 0) @@ -739,6 +742,6 @@ e_config_save_queue (); } - inst->filename = evas_stringshare_add (text); + inst->filename = evas_stringshare_add (ecore_file_get_file(text)); _ss_take_shot (inst); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs