comparison mcabber/src/screen.c @ 865:cee8d6be04e1

Improve changeset a3db3ee8b99e, do not enable chatmode when refreshing
author Mikael Berthe <mikael@lilotux.net>
date Wed, 24 May 2006 21:52:46 +0200
parents 2683ad5d1003
children b30df2ab457f
comparison
equal deleted inserted replaced
864:a7b3409df6bc 865:cee8d6be04e1
629 } 629 }
630 630
631 scr_ShowWindow(jid, FALSE); 631 scr_ShowWindow(jid, FALSE);
632 } 632 }
633 633
634 // scr_UpdateBuddyWindow()
635 // (Re)Display the current window.
636 // If chatmode is enabled, call scr_ShowBuddyWindow(),
637 // else display the chat window.
638 inline void scr_UpdateBuddyWindow(void)
639 {
640 if (chatmode) {
641 scr_ShowBuddyWindow();
642 return;
643 }
644
645 top_panel(chatPanel);
646 top_panel(inputPanel);
647 }
648
634 // scr_WriteInWindow() 649 // scr_WriteInWindow()
635 // Write some text in the winId window (this usually is a jid). 650 // Write some text in the winId window (this usually is a jid).
636 // Use winId == NULL for the special status buffer. 651 // Use winId == NULL for the special status buffer.
637 // Lines are splitted when they are too long to fit in the chat window. 652 // Lines are splitted when they are too long to fit in the chat window.
638 // If this window doesn't exist, it is created. 653 // If this window doesn't exist, it is created.