Mailinglist Archive: yast-devel (105 mails)

< Previous Next >
Re: [yast-devel] Enforcing okButton and cancelButton
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Thu, 4 Sep 2008 13:46:02 +0200
  • Message-id: <200809041346.02381.jsuchome@xxxxxxx>
On čt 4. září 2008, Stefan Hundhammer wrote:

Past experience shows that y2warning() calls are generally ignored, so they
are pretty useless.

Because of this:

// Most YCP developers never use the return value of
UI::OpenDialog(). // Many of them probably don't even know that it has a
return value. //

is relying on the fact that developers will check return value of
UI::OpenDialog() even worse.

Use y2error instead of y2warning, that will certainly be annoying enough for
the people looking into the logs.

Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups