Re: refreshing contents of a directory from a python extension?
- From: Mike Rooney <mrooney gmail com>
- To: nautilus-list <nautilus-list gnome org>
- Subject: Re: refreshing contents of a directory from a python extension?
- Date: Tue, 26 May 2009 19:04:02 +0200
On Thu, May 14, 2009 at 7:48 PM, Mike Rooney <mrooney gmail com> wrote:
> Hello!
>
> I am working on an extension for users of ecryptfs encrypted
> directories, which will display a banner and allow them to lock/unlock
> (unmount/mount) their encrypted directories (screenshot attached). I
> have it working, except that nautilus doesn't notice the contents of
> the directory have changed when I click the button. For example, when
> the directory is unmounted, the encryption/decryption mount layer
> disappears and a symlink is switched which causes there to be no files
> in this directory. Hitting F5 manually does the right thing, but is
> there a way to trigger a refresh of this directory from the extension,
> which I'm putting in /usr/lib/nautilus/extensions-2.0/python?
>
> Thanks for any help!
>
Does anyone have any tips on this (refreshing the folder from a python
extension)? It is really blocking my work on this extension and thus
shipping it. If not, is there a better place for this question?
Thanks so much for any help!
--
Michael Rooney
mrooney gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]