summaryrefslogtreecommitdiffstats
path: root/subsurface-core/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-29 16:57:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-02 12:51:31 -0800
commitf85883c707e9d6c021025dfe406c9acfb6441e57 (patch)
tree06312dea8132dd0595b360c923ddde9d5de3e736 /subsurface-core/subsurfacestartup.c
parent222ce62bceac4c7f95e7a0564f11b5789dc18d29 (diff)
downloadsubsurface-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.c3
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);