1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-17 05:40:37 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
bartbes
e9941dc4fd Now only allows file browsing up to /, CARD_ROOT is /card/ 2010-08-03 17:49:34 +02:00
bartbes
ba9af53c21 Changed the file browser to use / as root and added ability to see extensionless files (i.e. executables) 2010-08-03 17:32:54 +02:00
Maarten ter Huurne
4738f4b232 Make sure confirm() actually confirms.
The "result" field was never set to true.
The only way it could be true was because the uninitialized value happened to be non-zero.
Thanks to Ayla for this fix.
2010-07-26 04:31:16 +02:00
Maarten ter Huurne
727d9e95d5 Fixed missing field initialization.
The "close" field was read before it was written.
Thanks to Ayla for this fix.
2010-07-26 04:29:38 +02:00
Maarten ter Huurne
07fa091859 Fixed uninitialized field.
Thanks to Ayla for finding this bug.
2010-07-26 04:08:56 +02:00
Maarten ter Huurne
28a041ea80 Add constant for SD card root.
In the future, this should be part of a device abstraction, but having a single constant is an improvement over having duplicated string literals.
2010-07-04 03:19:52 +02:00
Maarten ter Huurne
9c5799c842 Add explicit destructor to BrowseDialog.
There is no point adding virtual destructors to the subclasses if the superclass has a non-virtual default destructor...
2010-06-19 04:51:53 +02:00
Maarten ter Huurne
ad22a909a3 Cleaned up BrowseDialog class: removed unused methods and fields, restricted access where possible. 2010-06-19 04:08:55 +02:00
Maarten ter Huurne
9f05aaf6b9 Fixed most warnings. 2010-06-19 03:15:20 +02:00
Lars-Peter Clausen
6da573f303 Move methods only used by dialogs from the GMenu2x class to a common base class
for all dialog classes.
2010-05-05 14:35:52 +02:00
Lars-Peter Clausen
3b2538cfaf Add ButtonBox widget to simplify managing buttons in the bottombar. Also fixes some memleaks where buttons were left unfreed. 2010-05-03 22:21:36 +02:00
Lars-Peter Clausen
a37ed02f8f browserdialog: Better path handling. 2010-05-03 20:28:34 +02:00
Lars-Peter Clausen
7b66eb36d6 handle mouse events for browser dialog buttons 2010-05-03 20:25:08 +02:00
Lars-Peter Clausen
8b862b8398 Unify filedialog and browsedialog code 2010-05-03 19:58:28 +02:00