summaryrefslogtreecommitdiffstats
path: root/src/about
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-01 02:09:11 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-01 02:09:11 (EDT)
commit524e712b8e2cf42caecf6b819db2f37cb6262c2b (patch)
tree7b771d39e037a036ce3ce6cad29728fab3ace21c /src/about
parent2276a1f342ce58d4d7f6111b169df0b0d562a7a4 (diff)
downloadmarquee-524e712b8e2cf42caecf6b819db2f37cb6262c2b.zip
marquee-524e712b8e2cf42caecf6b819db2f37cb6262c2b.tar.gz
marquee-524e712b8e2cf42caecf6b819db2f37cb6262c2b.tar.bz2
about:preferences: Use mq_html_document()
Diffstat (limited to 'src/about')
-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);