diff options
author | James Booth <boothj5@gmail.com> | 2015-12-02 00:34:27 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-12-02 00:34:27 +0000 |
commit | 1093737c6265f6902341bf0c696b7f6b61218bdc (patch) | |
tree | c27a5776fe63fa9e470b46f6332b6224c9002a70 | |
parent | e8ae73c71ee03c2e95113c0ae60dfdd9309345d3 (diff) | |
download | profani-tty-1093737c6265f6902341bf0c696b7f6b61218bdc.tar.gz |
Updated version in CHANGELOG and comments
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | src/config/preferences.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/CHANGELOG b/CHANGELOG index cf0f3030..dee18a68 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -0.4.8 +0.5.0 ===== - Build against libmesode if available diff --git a/src/config/preferences.c b/src/config/preferences.c index a343f611..30b07598 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -95,14 +95,14 @@ prefs_load(void) g_error_free(err); } - // move pre 0.4.8 autoaway.time to autoaway.awaytime + // move pre 0.5.0 autoaway.time to autoaway.awaytime if (g_key_file_has_key(prefs, PREF_GROUP_PRESENCE, "autoaway.time", NULL)) { gint time = g_key_file_get_integer(prefs, PREF_GROUP_PRESENCE, "autoaway.time", NULL); g_key_file_set_integer(prefs, PREF_GROUP_PRESENCE, "autoaway.awaytime", time); g_key_file_remove_key(prefs, PREF_GROUP_PRESENCE, "autoaway.time", NULL); } - // move pre 0.4.8 autoaway.message to autoaway.awaymessage + // move pre 0.5.0 autoaway.message to autoaway.awaymessage if (g_key_file_has_key(prefs, PREF_GROUP_PRESENCE, "autoaway.message", NULL)) { char *message = g_key_file_get_string(prefs, PREF_GROUP_PRESENCE, "autoaway.message", NULL); g_key_file_set_string(prefs, PREF_GROUP_PRESENCE, "autoaway.awaymessage", message); @@ -110,7 +110,7 @@ prefs_load(void) prefs_free_string(message); } - // migrate pre 0.4.8 time settings + // migrate pre 0.5.0 time settings if (g_key_file_has_key(prefs, PREF_GROUP_UI, "time", NULL)) { char *time = g_key_file_get_string(prefs, PREF_GROUP_UI, "time", NULL); char *val = NULL; @@ -129,7 +129,7 @@ prefs_load(void) prefs_free_string(time); } - // move pre 0.4.8 notify settings + // move pre 0.5.0 notify settings if (g_key_file_has_key(prefs, PREF_GROUP_NOTIFICATIONS, "room", NULL)) { char *value = g_key_file_get_string(prefs, PREF_GROUP_NOTIFICATIONS, "room", NULL); if (g_strcmp0(value, "on") == 0) { |