[Geany-devel] [ geany-Bugs-2519094 ] GFileMonitor and g_object_ref
ban-ubuntu at xxxxx
Mon Jan 19 22:59:15 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Comment By: Enrico Tröger (eht16)
> Completely unrelated to Geany.
> HTTP usually doesn't support write operations, right? So how do you want
> to write files to it or even mount it?
Opening a file through HTTP works with g_file_new_for_uri(), but yes,
write operations will fail.
> Instead, use dav:// assuming your server supports it. Then you can mount
> it as usual and after having mounted it, you can open and edit files on
I dunno how to do it "as usual" since I use Nautilus 2.22 for now that
AFAIK doesn't really support GIO, and I dunno how to mount a location
with GVFS without Nautilus… But yes, I understand the meaning :)
> Yes, that's the way. And when we save the file in Geany, we set an ignore
> flag to ignore the next 'file has changed' signal. And there probably begin
> the problems.
> Also, this works only if the file was actually only changed which happens
> when saving with Geany. When you save the file with Gedit, it (probably)
> won't work because Gedit first saves the file into a temp file, then move
> it to the real file. So, the real file is never 'changed' but 'created'.
> And the 'created' notification is currently ignored at all.
Hum… I've just tried with Gedit modifying an opened file in Geany, and
the tab becomes orange, but when I start to modify it again, Geany
tells me that the file was not found on the disk, asking me whether I
want to save it… and if I say yes, then ask me if I want to overwrite
the existing file. Well, not perfect (but I personally don't mind
about that since this feature helps me mostly for files modified by a
> This doesn't really explain your problems, I think. But is one of the
> things I meant when saying 'not yet 100% functional'. Let me give it
> another try tomorrow and in the meantime just revert to before r3484 :).
OK, I see. And yes, just take the time you need and let us (me?) know
when we can test your new efforts :)
> Too bad, I hoped there was something real exotic which would explain the
> behaviour :).
Hey no, sorry :D
> P.S.: quoting in the tracker is awful. Moving to the mailing list?
Yeah, great idea!
Just ask me if you need any other test or information.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Devel