From b5dbc6592a103e44a7ef2d93e6f86a86faa083d5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 05 Nov 2017 15:40:11 -0500 Subject: about:profiles: Add color picker resources to document --- (limited to 'src/schemes') diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index a130800..69043ec 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -180,6 +180,8 @@ generate_document(MqProfiles *profiles, gboolean adding) gsize length; gchar **divs; gsize i; + gchar *cp_res; + gchar *document; ids = mq_profiles_get_profiles(profiles, &length); divs = g_new(gchar *, length + (adding ? 1 : 0) + 1); @@ -192,9 +194,21 @@ generate_document(MqProfiles *profiles, gboolean adding) divs[i] = NULL; g_strfreev(ids); - return mq_html_document("Profiles", styles, + cp_res = g_strdup( + "\n" + "\n" + ); + + document = mq_html_document("Profiles", styles, cp_res, mq_html_form_v("add", "Add Profile", NULL, NULL, divs), NULL); + + g_free(cp_res); + + return document; } static void -- cgit v0.9.1