Directory memory in Linux versions of Gargoyle

14 views
Skip to first unread message

Maab

unread,
Nov 15, 2011, 10:29:31 AM11/15/11
to garglk-dev
This is a sort-of idle curiosity question. Probably already been asked
and answered. The Windows build of Gargoyle very kindly remembers,
probably using the registry, the last-accessed directory for loading a
game and a saved-game-state. So the next time you go to use it, it
starts in those directories by default. This is convenient.

The Linux builds do not seem to do this. Why is this? Presumably
they'd have to stash the info somewhere in, say, the .config or .gconf
subtrees or some such, but that doesn't seem insurmountable. Is it
just that there's too much variety in directory structures among the
sundry distros that there isn't a reliable path to pick?

maab

Philip Chimento

unread,
Nov 15, 2011, 1:37:38 PM11/15/11
to gargl...@googlegroups.com
What versions of GTK are you using on your Windows and Linux systems? To my knowledge, this is a feature that was added in GTK 2.24-point-something, and happens automatically outside of Gargoyle's knowledge.
--
Philip

Ben Cressey

unread,
Nov 15, 2011, 6:57:01 PM11/15/11
to philip....@gmail.com, gargl...@googlegroups.com
I believe they added that feature to the file chooser in Gtk 3.1.4. Did it get backported to Gtk 2?

The Windows build doesn't use Gtk at all.

With the new release, you can set the $GAMES environment variable to tell Gargoyle where to open its file browser windows under Gtk (only).

Not quite as handy as automatically remembering the last folder, but it was easy to implement. I plan to back it out once the fixed Gtk is more widely deployed.



--
You received this message because you are subscribed to the Google Groups "garglk-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/garglk-dev/-/VWFzMJY3NvoJ.

To post to this group, send email to gargl...@googlegroups.com.
To unsubscribe from this group, send email to garglk-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/garglk-dev?hl=en.

Maab

unread,
Nov 15, 2011, 10:19:38 PM11/15/11
to garglk-dev
I have to admit, between the plus signs and the twos and the threes, I
can't figure out the gtk versioning scheme at all, but it looks to me
like opensuse is up to about version 2.22 of gtk2. Whatever that is.

Oh, well. Something for my retirement activity list.

maab

On Nov 15, 6:57 pm, Ben Cressey <bcres...@gmail.com> wrote:
> I believe they added that feature to the file chooser in Gtk 3.1.4. Did it
> get backported to Gtk 2?
>
> The Windows build doesn't use Gtk at all.
>
> With the new release, you can set the $GAMES environment variable to tell
> Gargoyle where to open its file browser windows under Gtk (only).
>
> Not quite as handy as automatically remembering the last folder, but it was
> easy to implement. I plan to back it out once the fixed Gtk is more widely
> deployed.
>
> On Tue, Nov 15, 2011 at 10:37 AM, Philip Chimento <philip.chime...@gmail.com

Philip Chimento

unread,
Nov 16, 2011, 2:16:50 AM11/16/11
to Ben Cressey, gargl...@googlegroups.com
On Wed, Nov 16, 2011 at 00:57, Ben Cressey <bcre...@gmail.com> wrote:
> I believe they added that feature to the file chooser in Gtk 3.1.4. Did it
> get backported to Gtk 2?

Yes, it did, in 2.24.6.

> The Windows build doesn't use Gtk at all.

There goes my theory then ;-)

Regards,
--
Philip

Reply all
Reply to author
Forward
0 new messages