From 87d058f4e08bcd664669fd37567f7dbcf247693d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 26 Oct 2017 18:24:55 -0400 Subject: about:preferences: Use mq_html_fieldset() --- (limited to 'src/about') diff --git a/src/about/preferences.c b/src/about/preferences.c index 64633a7..b08f3dc 100644 --- a/src/about/preferences.c +++ b/src/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_fieldset( mq_html_h3(NULL, "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_fieldset( mq_html_h3(NULL, "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_fieldset( mq_html_h3(NULL, "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_fieldset( mq_html_h3(NULL, "History"), GEN_BOOL("privacy.private-browsing.enabled", "Enable Private Prowsing (Disables History, Cache, and " -- cgit v0.9.1