diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-21 04:06:41 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-21 04:06:41 +0800 |
commit | f8497c912d9418a6bef5082f6a77416859abf473 (patch) | |
tree | 0832eeedee5c99b7ba64ee406630e2f40f6941c2 /calendar/pcs | |
parent | 0e24e148f151e255254e36ef0fd857a448747380 (diff) | |
download | gsoc2013-evolution-f8497c912d9418a6bef5082f6a77416859abf473.tar gsoc2013-evolution-f8497c912d9418a6bef5082f6a77416859abf473.tar.gz gsoc2013-evolution-f8497c912d9418a6bef5082f6a77416859abf473.tar.bz2 gsoc2013-evolution-f8497c912d9418a6bef5082f6a77416859abf473.tar.lz gsoc2013-evolution-f8497c912d9418a6bef5082f6a77416859abf473.tar.xz gsoc2013-evolution-f8497c912d9418a6bef5082f6a77416859abf473.tar.zst gsoc2013-evolution-f8497c912d9418a6bef5082f6a77416859abf473.zip |
Make the log file name relevant to the actual calendar file, rather than
2000-09-20 JP Rosevear <jpr@helixcode.com>
* pcs/cal-backend.c (cal_backend_log_name): Make the log file
name relevant to the actual calendar file, rather than just the
directory.
svn path=/trunk/; revision=5526
Diffstat (limited to 'calendar/pcs')
-rw-r--r-- | calendar/pcs/cal-backend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c index ee1b397e25..be92b2b031 100644 --- a/calendar/pcs/cal-backend.c +++ b/calendar/pcs/cal-backend.c @@ -447,11 +447,11 @@ typedef struct { static gchar * cal_backend_log_name (GnomeVFSURI *uri) { - gchar *path, *filename; + const gchar *path; + gchar *filename; - path = gnome_vfs_uri_extract_dirname (uri); - filename = g_strdup_printf ("%slog.xml", path); - g_free (path); + path = gnome_vfs_uri_get_path (uri); + filename = g_strdup_printf ("%s.log.xml", path); return filename; } |