summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/profiles.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config/profiles.c b/src/config/profiles.c
index 413fc93..8957e15 100644
--- a/src/config/profiles.c
+++ b/src/config/profiles.c
@@ -39,6 +39,7 @@ create(MqProfiles *profiles)
{
GFile *file;
GFileOutputStream *stream;
+ gchar *profile;
file = g_file_new_for_path(profiles->file_name);
@@ -47,7 +48,16 @@ create(MqProfiles *profiles)
return FALSE;
}
+ profile = mq_profiles_insert(profiles, "Default", "#0000ff");
+ mq_profiles_set_default(profiles, profile);
+ g_free(profile);
+
+ profile = mq_profiles_insert(profiles, "Private", "#6060a0");
+ g_free(profile);
+ mq_profiles_save(profiles);
+
/* TODO: Create configs. */
+
return FALSE;
}