diff options
author | deva <deva> | 2009-12-15 12:15:34 +0000 |
---|---|---|
committer | deva <deva> | 2009-12-15 12:15:34 +0000 |
commit | 708f52b2905701457188732d4b6881d5284674b4 (patch) | |
tree | 8e28474be46ab79d946180cdb02026885d753a93 | |
parent | a091d649cdba574a1241de333314defca8e81592 (diff) |
New error box.
-rw-r--r-- | server/src/server.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/src/server.cc b/server/src/server.cc index 0b2f6d6..c59abbf 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -79,17 +79,7 @@ static std::string error_box(std::string message) std::string errorbox = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<pracro version=\"1.0\">\n" -#if 0 " <error>" + message + "</error>\n" -#else - " <template name=\"error\">\n" - " <macro name=\"error\" static=\"true\">\n" - " <widgets caption=\"ERROR!\" layout=\"vbox\" name=\"error\">\n" - " <textedit name=\"errorlabel\" value=\"" + message + "\"/>\n" - " </widgets>\n" - " </macro>\n" - " </template>\n" -#endif "</pracro>\n"; return errorbox; } |