diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-15 08:25:45 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-15 08:25:45 +0000 |
commit | cbdaf7d06d021a1072363f1a80ff73c7423c7bd8 (patch) | |
tree | 067c27c2823ed2825e7fb432b35318659e63e806 /src/fe-text/irssi.c | |
parent | 969cfe8abcdff1047696c22e13c79c1f4c239137 (diff) | |
download | irssi-cbdaf7d06d021a1072363f1a80ff73c7423c7bd8.zip |
Lots of changes again. Biggest ones:
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r-- | src/fe-text/irssi.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index 2c95b87d..ee8e3bf5 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -19,6 +19,7 @@ */ #include "module.h" +#include "module-formats.h" #include "args.h" #include "signals.h" #include "core.h" @@ -26,6 +27,7 @@ #include "irc-core.h" #include "fe-common-core.h" #include "fe-common-irc.h" +#include "themes.h" #include "screen.h" #include "gui-entry.h" @@ -82,6 +84,8 @@ static void textui_init(void) irc_init(); fe_common_core_init(); fe_common_irc_init(); + + theme_register(gui_text_formats); signal_add("gui exit", (SIGNAL_FUNC) sig_exit); } @@ -91,11 +95,11 @@ static void textui_finish_init(void) screen_refresh_freeze(); gui_entry_init(); - mainwindows_init(); gui_printtext_init(); gui_readline_init(); gui_special_vars_init(); gui_textwidget_init(); + mainwindows_init(); gui_windows_init(); statusbar_init(); @@ -123,11 +127,13 @@ static void textui_deinit(void) statusbar_deinit(); gui_printtext_deinit(); gui_readline_deinit(); - mainwindows_deinit(); gui_windows_deinit(); + mainwindows_deinit(); gui_entry_deinit(); deinit_screen(); + theme_unregister(); + fe_common_irc_deinit(); fe_common_core_deinit(); irc_deinit(); |