diff options
author | David Walter Seikel | 2014-05-04 04:03:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-04 04:03:42 +1000 |
commit | 5f1d624c5cf8b44133a7f7ce9cfe2bc24bed3b4d (patch) | |
tree | b927d731ef10b488d6a2b847fc97336c9796cb2a /src/extantz/extantz.c | |
parent | Notes about callbacks. (diff) | |
download | SledjHamr-5f1d624c5cf8b44133a7f7ce9cfe2bc24bed3b4d.zip SledjHamr-5f1d624c5cf8b44133a7f7ce9cfe2bc24bed3b4d.tar.gz SledjHamr-5f1d624c5cf8b44133a7f7ce9cfe2bc24bed3b4d.tar.bz2 SledjHamr-5f1d624c5cf8b44133a7f7ce9cfe2bc24bed3b4d.tar.xz |
Add a file selector.
Diffstat (limited to '')
-rw-r--r-- | src/extantz/extantz.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 4ad752e..1d37ade 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -330,6 +330,15 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
330 | char buf[PATH_MAX]; | 330 | char buf[PATH_MAX]; |
331 | // Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. | 331 | // Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. |
332 | 332 | ||
333 | /* Set the locale according to the system pref. | ||
334 | * If you don't do so the file selector will order the files list in | ||
335 | * a case sensitive manner | ||
336 | */ | ||
337 | setlocale(LC_ALL, ""); | ||
338 | |||
339 | elm_need_ethumb(); | ||
340 | elm_need_efreet(); | ||
341 | |||
333 | HamrTime(elm_main, "extantz"); | 342 | HamrTime(elm_main, "extantz"); |
334 | fprintf(stdout, "prefix was set to: %s\n", elm_app_prefix_dir_get()); | 343 | fprintf(stdout, "prefix was set to: %s\n", elm_app_prefix_dir_get()); |
335 | fprintf(stdout, "data directory is: %s\n", elm_app_data_dir_get()); | 344 | fprintf(stdout, "data directory is: %s\n", elm_app_data_dir_get()); |
@@ -403,6 +412,7 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
403 | // overlay_add(&ourGlobals); | 412 | // overlay_add(&ourGlobals); |
404 | woMan_add(&ourGlobals); | 413 | woMan_add(&ourGlobals); |
405 | chat_add(&ourGlobals); | 414 | chat_add(&ourGlobals); |
415 | files_add(&ourGlobals); | ||
406 | 416 | ||
407 | // Gotta do this after adding the windows, otherwise the menu renders under the window. | 417 | // Gotta do this after adding the windows, otherwise the menu renders under the window. |
408 | // This sucks, gotta redefine this menu each time we create a new window? | 418 | // This sucks, gotta redefine this menu each time we create a new window? |