summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-12-15 12:15:34 +0000
committerdeva <deva>2009-12-15 12:15:34 +0000
commit708f52b2905701457188732d4b6881d5284674b4 (patch)
tree8e28474be46ab79d946180cdb02026885d753a93
parenta091d649cdba574a1241de333314defca8e81592 (diff)
New error box.
-rw-r--r--server/src/server.cc10
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;
}