Mercurial > pidgin
comparison console/libgnt/gntmain.c @ 14010:7573bd40a190
[gaim-migrate @ 16602]
Allow plugins to be loaded and unloaded.
Remember the window positions and sizes.
All turning on/off shadow from ~/.gntrc (off by default).
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 31 Jul 2006 23:19:12 +0000 |
parents | 06f75fb84a78 |
children | d63f59ee6c98 |
comparison
equal
deleted
inserted
replaced
14009:1e283c3566ab | 14010:7573bd40a190 |
---|---|
549 else | 549 else |
550 ascii_only = TRUE; | 550 ascii_only = TRUE; |
551 | 551 |
552 initscr(); | 552 initscr(); |
553 gnt_init_colors(); | 553 gnt_init_colors(); |
554 gnt_init_styles(); | |
554 | 555 |
555 filename = g_build_filename(g_get_home_dir(), ".gntrc", NULL); | 556 filename = g_build_filename(g_get_home_dir(), ".gntrc", NULL); |
556 gnt_style_read_configure_file(filename); | 557 gnt_style_read_configure_file(filename); |
557 g_free(filename); | 558 g_free(filename); |
558 | 559 |
706 } | 707 } |
707 | 708 |
708 void gnt_quit() | 709 void gnt_quit() |
709 { | 710 { |
710 gnt_uninit_colors(); | 711 gnt_uninit_colors(); |
712 gnt_uninit_styles(); | |
711 endwin(); | 713 endwin(); |
712 } | 714 } |
713 | 715 |
714 gboolean gnt_ascii_only() | 716 gboolean gnt_ascii_only() |
715 { | 717 { |