summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-10-31 18:03:24 +0000
committerjstebbins <[email protected]>2008-10-31 18:03:24 +0000
commit2ff0ad590ea9f4c559ecbcf24282d8d9559aa61d (patch)
tree7c819886d472bcf6a09b2b2cc0bf639ba3bdcf32 /gtk/src/main.c
parent71d5ee949240506a1aab5cfe2c71dada1c17cb39 (diff)
LinGui: Activity Logs for individual encodes
- Individual activity logs are saved in the file format "YYYY-MM-DD HH-MM-SS mymoviename.log". - Default directory is <user config idr>/ghb/EncodeLogs (usually ~/.config/ghb/EncodeLogs) - Preference available to alternatively put them in the users output movie directory with the output movie (by default set to "off"). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1887 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index d1a002a11..d73538473 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -420,9 +420,10 @@ IoRedirect(signal_user_data_t *ud)
}
// Open activity log.
// TODO: Put this in the same directory as the encode destination
- config = ghb_get_user_config_dir();
+ config = ghb_get_user_config_dir(NULL);
path = g_strdup_printf("%s/%s", config, "Activity.log");
ud->activity_log = g_io_channel_new_file (path, "w", NULL);
+ ud->job_activity_log = NULL;
ghb_ui_update(ud, "activity_location", ghb_string_value(path));
g_free(path);
g_free(config);