Save image as png

SVN revision: 24048
This commit is contained in:
sebastid 2006-07-19 14:15:21 +00:00 committed by sebastid
parent 21543b0891
commit 630899ecb9
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ _e_border_menu_cb_icon_edit(void *data, E_Menu *m, E_Menu_Item *mi)
tmp = getenv("TMPDIR");
if (!tmp) tmp = getenv("TMP");
if (!tmp) tmp = "/tmp";
snprintf(path, sizeof(path), "%s/%s-%.6f.jpg", tmp, bname, ecore_time_get());
snprintf(path, sizeof(path), "%s/%s-%.6f.png", tmp, bname, ecore_time_get());
if (e_util_icon_save(&(bd->client.netwm.icons[0]), path))
{
a->image = evas_stringshare_add(path);