summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-06-08 17:23:26 +0000
committerjstebbins <[email protected]>2012-06-08 17:23:26 +0000
commita9763abcfad56b611a2bc9fff298e7f97945c954 (patch)
treea7859d7e1937c70cc4c9703f5053bdfec448dc3b /gtk
parenta03739f0457ad9211744e540f33ab8a3c05598b9 (diff)
LinGui: fix problem with setting the default destination file name
If ghb is started with a parameter that specifies the source, it was not updating the destination name as it normally would when choosing the source from the file open dialog. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4722 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/callbacks.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 228375f33..dfed0dda7 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -909,14 +909,8 @@ gboolean
ghb_idle_scan(signal_user_data_t *ud)
{
gchar *path;
- gint preview_count;
-
- show_scan_progress(ud);
path = ghb_settings_get_string( ud->settings, "scan_source");
- prune_logs(ud);
-
- preview_count = ghb_settings_get_int(ud->settings, "preview_count");
- start_scan(ud, path, 0, preview_count);
+ ghb_do_scan(ud, path, 0, TRUE);
g_free(path);
return FALSE;
}