[DEV] correction of the home folder of the Meta widget open

This commit is contained in:
Edouard DUPIN 2013-04-02 21:00:40 +02:00
parent d5f406db8f
commit f892d5981e
2 changed files with 9 additions and 11 deletions

View File

@ -82,14 +82,12 @@ widget::FileChooser::FileChooser(void)
widget::Spacer * mySpacer = NULL;
//widget::Label * myLabel = NULL;
widget::Image * myImage = NULL;
m_folder = etk::GetUserHomeFolder();
#if defined(__TARGET_OS__Android)
m_folder = "/mnt/sdcard/";
SetDisplayRatio(0.90);
#elif defined(__TARGET_OS__Windows)
m_folder = "c:/";
SetDisplayRatio(0.80);
#else
m_folder = "/home/";
SetDisplayRatio(0.80);
#endif
m_file = "";