]> granicus.if.org Git - handbrake/commitdiff
LinGui: Change the format of individual activity log file names.
authorjstebbins <jstebbins.hb@gmail.com>
Fri, 26 Jun 2009 00:33:00 +0000 (00:33 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
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://svn.handbrake.fr/HandBrake/trunk@2623 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/callbacks.c

index 2d458e1b4417dcc8ed921ca73b2fb0c9d87892f8..4d2ad09263fee39162f969e6806b7011d73f0c1c 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)