Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.c @ 1424:bb1cc8902d0e
Allow "/buffer list" when debugging mode is disabled
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 17 Feb 2008 21:19:48 +0100 |
parents | 757ebe4df0b9 |
children | 6b98dc22946d |
comparison
equal
deleted
inserted
replaced
1423:757ebe4df0b9 | 1424:bb1cc8902d0e |
---|---|
2659 | 2659 |
2660 // Finished :) | 2660 // Finished :) |
2661 update_panels(); | 2661 update_panels(); |
2662 } | 2662 } |
2663 | 2663 |
2664 #ifdef ENABLE_DEBUG | |
2665 // buffer_list() | 2664 // buffer_list() |
2666 // key: winId/jid | 2665 // key: winId/jid |
2667 // value: winbuf structure | 2666 // value: winbuf structure |
2668 // data: none. | 2667 // data: none. |
2669 static void buffer_list(gpointer key, gpointer value, gpointer data) | 2668 static void buffer_list(gpointer key, gpointer value, gpointer data) |
2684 g_hash_table_foreach(winbufhash, buffer_list, NULL); | 2683 g_hash_table_foreach(winbufhash, buffer_list, NULL); |
2685 scr_LogPrint(LPRINT_NORMAL, "End of buffer list."); | 2684 scr_LogPrint(LPRINT_NORMAL, "End of buffer list."); |
2686 scr_setmsgflag_if_needed(SPECIAL_BUFFER_STATUS_ID, TRUE); | 2685 scr_setmsgflag_if_needed(SPECIAL_BUFFER_STATUS_ID, TRUE); |
2687 update_roster = TRUE; | 2686 update_roster = TRUE; |
2688 } | 2687 } |
2689 #endif | |
2690 | 2688 |
2691 // scr_set_chatmode() | 2689 // scr_set_chatmode() |
2692 // Public function to (un)set chatmode... | 2690 // Public function to (un)set chatmode... |
2693 inline void scr_set_chatmode(int enable) | 2691 inline void scr_set_chatmode(int enable) |
2694 { | 2692 { |