RE: Can't unmount flash drive after GtkFileChooserDialog in Windows
- From: "Ian Puleston" <ian underpressuredivers com>
- To: <gtk-list gnome org>
- Subject: RE: Can't unmount flash drive after GtkFileChooserDialog in Windows
- Date: Tue, 23 Mar 2010 17:18:53 -0700
> -----Original Message-----
> From: gtk-list-bounces gnome org [mailto:gtk-list-bounces gnome org] On
> Sent: Tuesday, March 23, 2010 4:48 PM
>
> On Tue, 23 Mar 2010 16:42:34 -0700, Ian Puleston wrote:
>
> > Is there anything I might be missing to tidy up after the
> > GtkFileChooserDialog that might be causing this? I'm using GTK
> 2.16.6.
>
> This is just a guess, but it might have changed the working directory
> to your removable drive, and Windows will see this as the drive is in
> use. Try using chdir to change to some other drive after you're done.
Thanks but that doesn't seem to be the problem. The program is accessing files in its working directory, and after the export it can go on accessing them still which means the working directory did not change. But to be doubly-sure I just added a call to getcwd() after the export and g_printed the result and it shows the expected directory, not the flash drive.
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]