summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2008-09-29 09:41:02 +0000
committerdeva <deva>2008-09-29 09:41:02 +0000
commita01f655935558e0f71253907fd8e4c57b0d2f64c (patch)
treefdc94ec22e10d03a59703cec871ed9dcea022d14 /server/src/server.cc
parent4edb3b4deb2a0bc43379d905c9a662aeafcecf62 (diff)
Modified error reply to fit new layout system.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index 688a310..e4a470e 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -55,10 +55,9 @@ static std::string error_box(std::string message)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<pracro version=\"1.0\">\n"
" <course name=\"error\">\n"
- " <macro name=\"error\">\n"
- " <window caption=\"ERROR!\" height=\"300\" layout=\"vbox\" name=\"error\" width=\"480\">\n"
+ " <macro name=\"error\" static=\"true\">\n"
+ " <window caption=\"ERROR!\" layout=\"vbox\" name=\"error\">\n"
" <textedit name=\"errorlabel\" value=\"" + message + "\"/>\n"
- " <button action=\"cancel\" caption=\"Luk\" name=\"cancel\"/>\n"
" </window>\n"
" </macro>\n"
" </course>\n"