summaryrefslogtreecommitdiffstats
path: root/src/schemes
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-06 14:22:12 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-06 14:22:12 (EST)
commit93c468b187b0815acbfb2542123b5931c03f909b (patch)
tree05e8f258a73a1df6689a5061629c5426237e735c /src/schemes
parent162c171512ee11a7fd1e5acdef45a9070e2c71f8 (diff)
downloadmarquee-93c468b187b0815acbfb2542123b5931c03f909b.zip
marquee-93c468b187b0815acbfb2542123b5931c03f909b.tar.gz
marquee-93c468b187b0815acbfb2542123b5931c03f909b.tar.bz2
about:profiles: Add hidden color input
Diffstat (limited to 'src/schemes')
-rw-r--r--src/schemes/about/profiles.c3
1 files changed, 3 insertions, 0 deletions
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),