# HG changeset patch # User ib # Date 1298591373 0 # Node ID 9ee46c5e8667d0e417ca8920f0ac26cea56869a4 # Parent afa6f80b08678175af13600676f3f04a40366b5d Comply with the requested verbosity on GUI message boxes. diff -r afa6f80b0867 -r 9ee46c5e8667 gui/skin/skin.c --- a/gui/skin/skin.c Thu Feb 24 17:55:36 2011 +0000 +++ b/gui/skin/skin.c Thu Feb 24 23:49:33 2011 +0000 @@ -56,8 +56,11 @@ va_end(ap); mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_SKIN_ERRORMESSAGE, linenumber, p); + + if (mp_msg_test(MSGT_GPLAYER, MSGL_ERR)) { snprintf(tmp, sizeof(tmp), MSGTR_SKIN_ERRORMESSAGE, linenumber, p); gtkMessageBox(GTK_MB_FATAL, tmp); + } } #define CHECKDEFLIST(str) \