summaryrefslogtreecommitdiffstats
path: root/src/schemes
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-04 12:38:52 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-04 12:38:52 (EDT)
commit9c9f466c17e227796c556b651c5ab71068b90db6 (patch)
tree9ace9063013ba0cfdc233fe02f60f41531a10e75 /src/schemes
parentb042bb332812b358d00ba89baaac13b7c2100f16 (diff)
downloadmarquee-9c9f466c17e227796c556b651c5ab71068b90db6.zip
marquee-9c9f466c17e227796c556b651c5ab71068b90db6.tar.gz
marquee-9c9f466c17e227796c556b651c5ab71068b90db6.tar.bz2
mq_html_container(): Add classes parameter
And update calls in <about:(version)> and <about:preferences>.
Diffstat (limited to 'src/schemes')
-rw-r--r--src/schemes/about/preferences.c8
-rw-r--r--src/schemes/about/version.c4
2 files changed, 6 insertions, 6 deletions
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 "
"&lt;pj@pehjota.net&gt;"),