summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/about/preferences.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/about/preferences.c b/src/about/preferences.c
index 54aa16c..2bf2080 100644
--- a/src/about/preferences.c
+++ b/src/about/preferences.c
@@ -36,22 +36,24 @@ mq_about_preferences_response(MqApplication *application, GHashTable *query,
if (query) {
mq_about_redirect(request, "mq-about:preferences");
} else {
- document = mq_html_form("Save", "Cancel",
- mq_html_notebook(FALSE, "notebook1", 0,
- mq_html_container("div",
- mq_html_input_text("text1", "Text 1",
- ""),
- mq_html_input_text("text2", "Text 2",
- ""),
+ document = mq_html_document("Preferences",
+ mq_html_form("Save", "Cancel",
+ mq_html_notebook(FALSE, "notebook1", 0,
+ mq_html_container("div",
+ mq_html_input_text("text1",
+ "Text 1", ""),
+ mq_html_input_text("text2",
+ "Text 2", ""),
+ NULL),
+ "Tab 1",
+ mq_html_container("div",
+ mq_html_input_text("text3",
+ "Text 3", ""),
+ mq_html_input_text("text4",
+ "Text 4", ""),
+ NULL),
+ "Tab 2",
NULL),
- "Tab 1",
- mq_html_container("div",
- mq_html_input_text("text3", "Text 3",
- ""),
- mq_html_input_text("text4", "Text 4",
- ""),
- NULL),
- "Tab 2",
NULL),
NULL);
g_print(document);