comparison 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
comparison
equal deleted inserted replaced
8939:19885cb8a24c 8940:b875f5d57b81
246 GtkWidget *gaim_gtk_account_option_menu_new(GaimAccount *default_account, 246 GtkWidget *gaim_gtk_account_option_menu_new(GaimAccount *default_account,
247 gboolean show_all, GCallback cb, 247 gboolean show_all, GCallback cb,
248 GaimFilterAccountFunc filter_func, gpointer user_data); 248 GaimFilterAccountFunc filter_func, gpointer user_data);
249 249
250 /** 250 /**
251 * Gets the currently selected account from an account drop down box.
252 *
253 * @param optmenu The GtkOptionMenu created by
254 * gaim_gtk_account_option_menu_new.
255 * @return Returns the GaimAccount that is currently selected.
256 */
257 GaimAccount *gaim_gtk_account_option_menu_get_selected(GtkWidget *optmenu);
258
259 /**
251 * Check if the given path is a directory or not. If it is, then modify 260 * Check if the given path is a directory or not. If it is, then modify
252 * the given GtkFileSelection dialog so that it displays the given path. 261 * the given GtkFileSelection dialog so that it displays the given path.
253 * If the given path is not a directory, then do nothing. 262 * If the given path is not a directory, then do nothing.
254 * 263 *
255 * @param path The path entered in the file selection window by the user. 264 * @param path The path entered in the file selection window by the user.