diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-06 15:53:20 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-06 15:53:20 (EST) |
commit | 95bd27031362cd691637546ac7975655a470555c (patch) | |
tree | debc687b420d976899a588a51d146227363b1e3a | |
parent | bb80b6bc999f256a06c43119eea065927e0b36fc (diff) | |
download | marquee-95bd27031362cd691637546ac7975655a470555c.zip marquee-95bd27031362cd691637546ac7975655a470555c.tar.gz marquee-95bd27031362cd691637546ac7975655a470555c.tar.bz2 |
src/config/profiles.c: Insert default profiles
-rw-r--r-- | src/config/profiles.c | 10 |
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; } |