pidgin/gtkutils.h

branch
cpw.qulogic.gtk3
changeset 32391
5f9f23a48f82
parent 30682
9b61802df6a2
parent 32387
b77e95d048c7
child 32424
be4a642b2d45
equal deleted inserted replaced
31129:aacaa228480c 32391:5f9f23a48f82
398 * NULL, it'll be updated when a username is chosen from the 398 * NULL, it'll be updated when a username is chosen from the
399 * autocomplete list. 399 * autocomplete list.
400 * @param all Whether to include usernames from disconnected accounts. 400 * @param all Whether to include usernames from disconnected accounts.
401 */ 401 */
402 void pidgin_setup_screenname_autocomplete(GtkWidget *entry, GtkWidget *optmenu, gboolean all); 402 void pidgin_setup_screenname_autocomplete(GtkWidget *entry, GtkWidget *optmenu, gboolean all);
403
404 /**
405 * Check if the given path is a directory or not. If it is, then modify
406 * the given GtkFileSelection dialog so that it displays the given path.
407 * If the given path is not a directory, then do nothing.
408 *
409 * @param path The path entered in the file selection window by the user.
410 * @param filesel The file selection window.
411 *
412 * @return TRUE if given path is a directory, FALSE otherwise.
413 * @deprecated Pidgin no longer uses GtkFileSelection internally. It has also
414 * been deprecated by GTK+. Use GtkFileChooser instead and ignore
415 * this function.
416 */
417 gboolean pidgin_check_if_dir(const char *path, GtkFileSelection *filesel);
418 403
419 /** 404 /**
420 * Sets up GtkSpell for the given GtkTextView, reporting errors 405 * Sets up GtkSpell for the given GtkTextView, reporting errors
421 * if encountered. 406 * if encountered.
422 * 407 *

mercurial