Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Patch to Enable ALLEGRO_FILECHOOSER_FOLDER On Linux

This thread is locked; no one can reply to it. rss feed Print
Patch to Enable ALLEGRO_FILECHOOSER_FOLDER On Linux
Todd Cope
Member #998
November 2000
avatar

I noticed while working on my current project that ALLEGRO_FILECHOOSER_FOLDER opens the normal file selector instead of the folder selector on Linux. I've attached a small patch which checks for the ALLEGRO_FILECHOOSER_FOLDER flag and sets the appropriate GTK FILE_CHOOSER_ACTION for folders so this works as expected.

SiegeLord
Member #7,827
October 2006
avatar

Bumping as I completely forgot about this. Will take a look tonight.

EDIT: submitted.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Go to: