Mercurial > pidgin.yaz
diff src/gtkblist.h @ 8940:b875f5d57b81
[gaim-migrate @ 9710]
Gray out the Join a Chat menu item when no online accounts support chats.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 16 May 2004 00:06:25 +0000 |
parents | ada0cf2f49fe |
children | 8cf32769ba1b |
line wrap: on
line diff
--- a/src/gtkblist.h Sat May 15 23:04:08 2004 +0000 +++ b/src/gtkblist.h Sun May 16 00:06:25 2004 +0000 @@ -209,8 +209,16 @@ void gaim_gtk_blist_update_protocol_actions(); /** - * Shows the join chat dialog + * Determines if showing the join chat dialog is a valid action. + * + * @return Returns TRUE if there are accounts online capable of + * joining chat rooms. Otherwise returns FALSE. */ -void gaim_gtk_blist_show_join_chat(void); +gboolean gaim_gtk_blist_joinchat_is_showable(void); + +/** + * Shows the join chat dialog. + */ +void gaim_gtk_blist_joinchat_show(void); #endif /* _GAIM_GTK_LIST_H_ */