diff src/gtkutils.h @ 5966:5fb6bd688a5b

[gaim-migrate @ 6413] I renamed file_is_dir to gaim_gtk_check_if_dir and moved it to gtkutils.c/h Chipster (or whoever) - Lemme know if that's notsogood, remember: I pretend not to know anything about gtk. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 27 Jun 2003 23:11:21 +0000
parents a4f2aba0848d
children 9dd4bb3cf1df
line wrap: on
line diff
--- a/src/gtkutils.h	Fri Jun 27 22:44:03 2003 +0000
+++ b/src/gtkutils.h	Fri Jun 27 23:11:21 2003 +0000
@@ -206,6 +206,18 @@
 											gpointer user_data);
 
 /**
+ * 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.
+ *
+ * @param path    The path entered in the file selection window by the user.
+ * @param filesel The file selection window.
+ *
+ * @return TRUE if given path is a directory, FALSE otherwise.
+ */
+gboolean gaim_gtk_check_if_dir(const char *path, GtkFileSelection *filesel);
+
+/**
  * Stylizes the specified text using HTML, according to the current
  * font options.
  *