Mercurial > pidgin
diff src/gtkconv.c @ 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 | 0a2a32b1917c |
children | 80e5258226f3 |
line wrap: on
line diff
--- a/src/gtkconv.c Fri Jun 27 22:44:03 2003 +0000 +++ b/src/gtkconv.c Fri Jun 27 23:11:21 2003 +0000 @@ -149,7 +149,7 @@ filename = gtk_file_selection_get_filename(GTK_FILE_SELECTION(wid)); - if (file_is_dir(filename, GTK_FILE_SELECTION(wid))) + if (gaim_gtk_check_if_dir(filename, GTK_FILE_SELECTION(wid))) return; if (!((gaim_conversation_get_type(c) != GAIM_CONV_CHAT && @@ -189,7 +189,7 @@ name = gtk_file_selection_get_filename(GTK_FILE_SELECTION(wid)); id = g_slist_length(im->images) + 1; - if (file_is_dir(name, GTK_FILE_SELECTION(wid))) + if (gaim_gtk_check_if_dir(name, GTK_FILE_SELECTION(wid))) return; gtk_widget_destroy(wid);