summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-26 00:33:00 +0000
committerjstebbins <[email protected]>2009-06-26 00:33:00 +0000
commit2c2b1157d6910159a40546f22602c80bd8d9f1b6 (patch)
tree766fa12d6592e3eeff190c073f2a7049aad70760 /gtk
parentb463c8dfe181db0399077ea972fb4be30cba597d (diff)
LinGui: Change the format of individual activity log file names.
Put the dest files base name first. Date first made file completion useless. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2623 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/callbacks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 2d458e1b4..4d2ad0926 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -1885,10 +1885,11 @@ queue_scan(signal_user_data_t *ud, GValue *js)
{
*pos = 0;
}
- log_path = g_strdup_printf("%s/%d-%02d-%02d %02d-%02d-%02d %s.log",
+ log_path = g_strdup_printf("%s/%s %d-%02d-%02d %02d-%02d-%02d.log",
dest_dir,
+ basename,
now->tm_year + 1900, now->tm_mon + 1, now->tm_mday,
- now->tm_hour, now->tm_min, now->tm_sec, basename);
+ now->tm_hour, now->tm_min, now->tm_sec);
g_free(basename);
g_free(dest_dir);
if (ud->job_activity_log)