On Thu, 16 Sep 2010, Bento Loewenstein wrote:
hi,
> > as soon as i get home i'll take another look. maybe pop a warning
> > before dropping the entry.
> >
>
> here it is. now with warning popping goodness. plus, it makes the
> default for a new "Run..." item
> from example commands to be %A, to take advantage of completion.
i am liking this way more.
> + WMRunAlertPanel(scr, panel->parent,
> + _("Warning"),
> + _("An invalid menu item was
> found.\n"
> + "The item was cleared to avoid
> undesired effects."),
> + _("OK"), NULL, NULL);
can you check whether substituting this for a possibly tweaked of the
following still works as desired, while giving suitable visual
feedback as to what exactly has been cleared?
char *buf = wmalloc(1024);
snprintf(buf, 1024, _("Invalid item \"%s\" cleared"),
WMGetFromPLString(WMGetFromPLArray(pi, 1)));
WMRunAlertPanel(scr, panel->parent, _("Warning"), buf, _("OK"), NULL, NULL);
wfree(buf);
--
[-]
mkdir /nonexistent
--
To unsubscribe, send mail to [email protected].