merge and update patch from

http://bugzilla.gnome.org/show_bug.cgi?id=134895
This commit is contained in:
Jody Goldberg 2004-03-31 21:30:23 +00:00
parent 46ba8cb67d
commit 9a9008178d
29 changed files with 121 additions and 110 deletions

View file

@ -342,7 +342,7 @@ read_entries (CappletDir *dir)
if (child->type == GNOME_VFS_FILE_TYPE_DIRECTORY) {
entry = capplet_dir_new (dir, fullpath);
} else {
test = rindex(child->name, '.');
test = strrchr(child->name, '.');
/* if it's a .desktop file, it's interesting for sure! */
if (test && !strcmp (".desktop", test))