From 021ee3721d5d848cac628b5c04aa304e5e2ceb4c Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 19 Aug 2009 13:31:34 +0000 Subject: LinGui: fix a scanning problem incorrect source name could get set after ejecting and re-inserting a disc git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2769 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/callbacks.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk/src/callbacks.c') diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 7a73b7f4c..bd06126b1 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -3457,6 +3457,7 @@ handle_media_change(const gchar *device, gboolean insert, signal_user_data_t *ud update_source_label(ud, device, TRUE); gint preview_count; preview_count = ghb_settings_get_int(ud->settings, "preview_count"); + ghb_settings_set_string(ud->settings, "source", device); start_scan(ud, device, 0, preview_count); } } @@ -3560,6 +3561,7 @@ drive_changed_cb(GVolumeMonitor *gvm, GDrive *gd, signal_user_data_t *ud) update_source_label(ud, device, TRUE); gint preview_count; preview_count = ghb_settings_get_int(ud->settings, "preview_count"); + ghb_settings_set_string(ud->settings, "source", device); start_scan(ud, device, 0, preview_count); } } -- cgit v1.2.3