diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-29 16:57:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-02 12:51:31 -0800 |
commit | f85883c707e9d6c021025dfe406c9acfb6441e57 (patch) | |
tree | 06312dea8132dd0595b360c923ddde9d5de3e736 /subsurface-core/subsurfacestartup.c | |
parent | 222ce62bceac4c7f95e7a0564f11b5789dc18d29 (diff) | |
download | subsurface-f85883c707e9d6c021025dfe406c9acfb6441e57.tar.gz |
Create date and time formats preferences
Now we can actually change them in preferences instead of just deriving
them from the language set.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/subsurfacestartup.c')
-rw-r--r-- | subsurface-core/subsurfacestartup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/subsurfacestartup.c b/subsurface-core/subsurfacestartup.c index 1286885ee..0bde2a070 100644 --- a/subsurface-core/subsurfacestartup.c +++ b/subsurface-core/subsurfacestartup.c @@ -291,6 +291,9 @@ void copy_prefs(struct preferences *src, struct preferences *dest) dest->proxy_host = copy_string(src->proxy_host); dest->proxy_user = copy_string(src->proxy_user); dest->proxy_pass = copy_string(src->proxy_pass); + dest->time_format = copy_string(src->time_format); + dest->date_format = copy_string(src->date_format); + dest->date_format_short = copy_string(src->date_format_short); dest->cloud_storage_password = copy_string(src->cloud_storage_password); dest->cloud_storage_newpassword = copy_string(src->cloud_storage_newpassword); dest->cloud_storage_email = copy_string(src->cloud_storage_email); |