Le 20/12/2011 19:18, Colomban Wendling a écrit :
Le 20/12/2011 05:07, Matthew Brush a écrit :
Hi,
Is anyone opposed to me committing the trivial patch attached here. The comment I think describes it well enough, and if you're using recent GTK+ 2.24.x you probably already know about it.
I didn't want to commit without asking since maybe some people will find this new "feature"[1][2] useful, I personally find it extremely annoying, but I wouldn't want to fix it at the expense of annoying others.
While I agree the recent list is not useful most of the time (probably even annoying since I don't know that dir) for me either, I doubt $HOME is really best.
I see 2 alternative, and I think better, choices:
- use the basedir of the currently opened file;
Hum, forget this point, we of course already do so :-'
Maybe we could use the last used dir if we can't get the path from the current file? (e;g. when unsaved)
- use the "current dir" (e.g. dir from where Geany was started) [1]. AFAIK this will be $HOME for panel/shell-launched apps.
And maybe add an hidden option in case ppl actually like the GTK feature?
Cheers, Colomban
[1] maybe not on Windows where I think the "current dir" is always the binary location?
Cheers, Matthew Brush
[1] https://live.gnome.org/DocumentCentricGnome/Help%20the%20user%20choose%20a%2...
[2] I think we can safely assume Geany users (ie. programmers) already know how to manage files :)
Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel