--- a/mcabber/src/screen.c Thu Apr 21 19:38:23 2005 +0000
+++ b/mcabber/src/screen.c Thu Apr 21 20:22:35 2005 +0000
@@ -535,6 +535,22 @@
return inputWnd;
}
+void scr_RosterTop()
+{
+ current_buddy = buddylist;
+ // XXX We should rebuild the buddylist but perhaps not everytime?
+ if (chatmode)
+ scr_ShowBuddyWindow();
+}
+
+void scr_RosterBottom()
+{
+ current_buddy = g_list_last(buddylist);
+ // XXX We should rebuild the buddylist but perhaps not everytime?
+ if (chatmode)
+ scr_ShowBuddyWindow();
+}
+
void scr_RosterUp()
{
if (current_buddy) {
@@ -544,6 +560,9 @@
}
}
// XXX We should rebuild the buddylist but perhaps not everytime?
+
+ if (chatmode)
+ scr_ShowBuddyWindow();
}
void scr_RosterDown()
@@ -555,6 +574,9 @@
}
}
// XXX We should rebuild the buddylist but perhaps not everytime?
+
+ if (chatmode)
+ scr_ShowBuddyWindow();
}
// scr_LogPrint(...)
@@ -787,13 +809,9 @@
break;
case KEY_UP:
scr_RosterUp();
- if (chatmode)
- scr_ShowBuddyWindow();
break;
case KEY_DOWN:
scr_RosterDown();
- if (chatmode)
- scr_ShowBuddyWindow();
break;
case KEY_PPAGE:
scr_LogPrint("PageUp??");