Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/main.c @ 1678:e489ead6574a
New help system
* Configurable multiple help location directories
* Multiple languages support
* Utilizing option guards to be configurable dynamically
* Language autodetection from locale with fallback to 'en'
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Mon, 18 Jan 2010 18:49:25 +0200 |
parents | f02e7076ccec |
children | 1342df44c814 |
comparison
equal
deleted
inserted
replaced
1677:9a0ed33fb91b | 1678:e489ead6574a |
---|---|
42 #include "utils.h" | 42 #include "utils.h" |
43 #include "pgp.h" | 43 #include "pgp.h" |
44 #include "otr.h" | 44 #include "otr.h" |
45 #include "fifo.h" | 45 #include "fifo.h" |
46 #include "xmpp.h" | 46 #include "xmpp.h" |
47 #include "help.h" | |
47 | 48 |
48 #ifdef ENABLE_HGCSET | 49 #ifdef ENABLE_HGCSET |
49 # include "hgcset.h" | 50 # include "hgcset.h" |
50 #endif | 51 #endif |
51 | 52 |
357 scr_init_bindings(); | 358 scr_init_bindings(); |
358 caps_init(); | 359 caps_init(); |
359 /* Initialize charset */ | 360 /* Initialize charset */ |
360 scr_InitLocaleCharSet(); | 361 scr_InitLocaleCharSet(); |
361 ut_InitDebug(); | 362 ut_InitDebug(); |
363 help_init(); | |
362 | 364 |
363 /* Parsing config file... */ | 365 /* Parsing config file... */ |
364 ret = cfg_read_file(configFile, TRUE); | 366 ret = cfg_read_file(configFile, TRUE); |
365 /* free() configFile if it has been allocated during options parsing */ | 367 /* free() configFile if it has been allocated during options parsing */ |
366 g_free(configFile); | 368 g_free(configFile); |