summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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),