mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
Fix typo.
* libnautilus-private/nautilus-find-icon-image.c: (get_themed_icon_file_path): Fix typo.
This commit is contained in:
parent
f60759e695
commit
9d48f0e9f4
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-10-09 Darin Adler <darin@bentspoon.com>
|
||||
|
||||
* libnautilus-private/nautilus-find-icon-image.c:
|
||||
(get_themed_icon_file_path): Fix typo.
|
||||
|
||||
2001-10-09 Darin Adler <darin@bentspoon.com>
|
||||
|
||||
* libnautilus-private/nautilus-find-icon-image.c:
|
||||
|
|
|
@ -190,7 +190,7 @@ get_themed_icon_file_path (const NautilusIconTheme *icon_theme,
|
|||
in_user_directory = FALSE;
|
||||
} else {
|
||||
themed_icon_name = g_strconcat (icon_theme->name, "/", icon_name, NULL);
|
||||
in_user_directory = icon_theme->in_user_directory;
|
||||
in_user_directory = icon_theme->is_in_user_directory;
|
||||
}
|
||||
|
||||
include_size = icon_size != NAUTILUS_ICON_SIZE_STANDARD;
|
||||
|
@ -278,6 +278,10 @@ static const NautilusIconTheme *
|
|||
choose_theme (const NautilusIconThemeSpecifications *theme_specs,
|
||||
const char *name)
|
||||
{
|
||||
if (name[0] == '/') {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (theme_has_icon (&theme_specs->current, name)) {
|
||||
return &theme_specs->current;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue