Mercurial > pidgin.yaz
diff src/gtkutils.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 | c430e99bb147 |
children | 4ff4c34b7500 |
line wrap: on
line diff
--- a/src/gtkutils.h Sat May 15 23:04:08 2004 +0000 +++ b/src/gtkutils.h Sun May 16 00:06:25 2004 +0000 @@ -248,6 +248,15 @@ GaimFilterAccountFunc filter_func, gpointer user_data); /** + * Gets the currently selected account from an account drop down box. + * + * @param optmenu The GtkOptionMenu created by + * gaim_gtk_account_option_menu_new. + * @return Returns the GaimAccount that is currently selected. + */ +GaimAccount *gaim_gtk_account_option_menu_get_selected(GtkWidget *optmenu); + +/** * Check if the given path is a directory or not. If it is, then modify * the given GtkFileSelection dialog so that it displays the given path. * If the given path is not a directory, then do nothing.