application/main.c

changeset 30
34513f76d5a8
parent 29
c96169444d88
child 33
458831c574f4
equal deleted inserted replaced
29:c96169444d88 30:34513f76d5a8
153 } 153 }
154 154
155 155
156 int main(int argc, char** argv) { 156 int main(int argc, char** argv) {
157 ui_init("app1", argc, argv); 157 ui_init("app1", argc, argv);
158 ui_load_locale(NULL); 158 ui_locales_dir("/opt/app1/locales");
159 ui_load_lang_def(NULL, "en_EN");
159 ui_openfilefunc(action_new, NULL); 160 ui_openfilefunc(action_new, NULL);
160 161
161 162
162 list = ui_list_new(); 163 list = ui_list_new();
163 ui_list_append(list, "file1.txt"); 164 ui_list_append(list, "file1.txt");

mercurial