OSDN Git Service

LinGui: Change the format of individual activity log file names.
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 26 Jun 2009 00:33:00 +0000 (00:33 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 26 Jun 2009 00:33:00 +0000 (00:33 +0000)
Put the dest files base name first.  Date first made file completion useless.

git-svn-id: svn://localhost/HandBrake/trunk@2623 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/callbacks.c

index 2d458e1..4d2ad09 100644 (file)
@@ -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)