From 93c468b187b0815acbfb2542123b5931c03f909b Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 06 Nov 2017 14:22:12 -0500 Subject: about:profiles: Add hidden color input --- (limited to 'src/schemes') diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index 2f1dddb..524d6cb 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -189,6 +189,7 @@ generate_div(MqProfiles *profiles, gchar *id) gchar *color; gchar *editing_str; gchar *name_str; + gchar *color_str; gchar *default_str; gchar *delete_str; gchar *save_str; @@ -208,6 +209,7 @@ generate_div(MqProfiles *profiles, gchar *id) editing_str = g_strconcat("editing_", id, NULL); name_str = g_strconcat("name_", id, NULL); + color_str = g_strconcat("color_", id, NULL); default_str = g_strconcat("default_", id, NULL); delete_str = g_strconcat("delete_", id, NULL); save_str = g_strconcat("save_", id, NULL); @@ -220,6 +222,7 @@ generate_div(MqProfiles *profiles, gchar *id) mq_html_input_radio("editing", editing_str, id, NULL, id == NULL), mq_profile_icon_new(color), + mq_html_input_hidden(color_str, color), mq_html_container("span", is_current ? "current" : NULL, name, NULL), mq_html_input_text(name_str, NULL, name), -- cgit v0.9.1