Commit 062cde61 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Use NautilusFile icon for normal buttons, rather than forcing folder icon.

2008-07-20  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-pathbar.c (get_type_icon_info):
	Use NautilusFile icon for normal buttons, rather than forcing folder
	icon. Fixes special location icons like network:///, computer:/// etc.

svn path=/trunk/; revision=14378
parent 1d44acf3
2008-07-20 Christian Neumair <cneumair@gnome.org>
* src/nautilus-pathbar.c (get_type_icon_info):
Use NautilusFile icon for normal buttons, rather than forcing folder
icon. Fixes special location icons like network:///, computer:/// etc.
2008-07-20 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-file.c (update_info_internal):
......
......@@ -1174,8 +1174,9 @@ get_type_icon_info (ButtonData *button_data)
case NORMAL_BUTTON:
if (button_data->is_base_dir) {
return nautilus_icon_info_lookup_from_name (NAUTILUS_ICON_FOLDER,
NAUTILUS_PATH_BAR_ICON_SIZE);
return nautilus_file_get_icon (button_data->file,
NAUTILUS_PATH_BAR_ICON_SIZE,
NAUTILUS_FILE_ICON_FLAGS_NONE);
}
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment