From 9c9f466c17e227796c556b651c5ab71068b90db6 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 04 Nov 2017 12:38:52 -0400 Subject: mq_html_container(): Add classes parameter And update calls in and . --- (limited to 'src/schemes/about') diff --git a/src/schemes/about/preferences.c b/src/schemes/about/preferences.c index 6563f48..bcf404f 100644 --- a/src/schemes/about/preferences.c +++ b/src/schemes/about/preferences.c @@ -52,7 +52,7 @@ save_pref(gchar *key, gchar *value, MqConfig *config) static gchar * gen_page_general(MqConfig *config) { - return mq_html_container("div", + return mq_html_container("div", NULL, mq_html_h3("Web Browsing"), GEN_SLCT("tabs.new", "New Tab Page", @@ -99,7 +99,7 @@ gen_page_general(MqConfig *config) static gchar * gen_page_display(MqConfig *config) { - return mq_html_container("div", + return mq_html_container("div", NULL, mq_html_h3("Fonts"), GEN_STR ("font.family.default", "Default Font Family"), @@ -139,7 +139,7 @@ gen_page_display(MqConfig *config) static gchar * gen_page_permissions(MqConfig *config) { - return mq_html_container("div", + return mq_html_container("div", NULL, mq_html_h3("General"), GEN_BOOL("permissions.images.auto-load", "Automatically Load Images"), @@ -192,7 +192,7 @@ gen_page_permissions(MqConfig *config) static gchar * gen_page_sec_and_priv(MqConfig *config) { - return mq_html_container("div", + return mq_html_container("div", NULL, mq_html_h3("History"), GEN_BOOL("privacy.private-browsing.enabled", "Enable Private Prowsing (Disables History, Cache, and " diff --git a/src/schemes/about/version.c b/src/schemes/about/version.c index 8045ade..fee367f 100644 --- a/src/schemes/about/version.c +++ b/src/schemes/about/version.c @@ -44,7 +44,7 @@ mq_about_version_response(MqApplication G_GNUC_UNUSED *application, title = g_strdup_printf("About %s", PACKAGE_NAME); document = mq_html_document(title, mq_html_notebook(FALSE, "notebook1", 0, - mq_html_container("div", + mq_html_container("div", NULL, mq_html_h3(PACKAGE_NAME), mq_html_p_free(g_strconcat(PACKAGE_VERSION, PACKAGE_VERSION_GIT, NULL)), @@ -57,7 +57,7 @@ mq_about_version_response(MqApplication G_GNUC_UNUSED *application, "See the license text for details."), NULL), "About", - mq_html_container("div", + mq_html_container("div", NULL, mq_html_h3("Authors"), mq_html_p("Patrick McDermott " "<pj@pehjota.net>"), -- cgit v0.9.1