1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

various bug fixes

This commit is contained in:
kojima
1999-04-18 21:08:00 +00:00
parent 674eb20ec4
commit 2effbfafde
13 changed files with 108 additions and 59 deletions

View File

@@ -206,12 +206,15 @@ panelBtnCallback(WMWidget *self, void *data)
char *buf;
buf = wmalloc(strlen(text) + 64);
sprintf(buf, _("Could not open specified icon file:%s"), text);
wMessageDialog(panel->wwin->screen_ptr, _("Error"), buf, _("OK"),
NULL, NULL);
sprintf(buf, _("Could not open specified icon file: %s"), text);
if (wMessageDialog(panel->wwin->screen_ptr, _("Error"), buf,
_("OK"), _("Ignore"), NULL) == WAPRDefault) {
if (text)
free(text);
free(buf);
return;
}
free(buf);
done = 0;
return;
} else {
WAppIcon *aicon = panel->editedIcon;