From 524e712b8e2cf42caecf6b819db2f37cb6262c2b Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 01 Oct 2017 02:09:11 -0400 Subject: about:preferences: Use mq_html_document() --- (limited to 'src/about') 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); -- cgit v0.9.1