Commit ec15b560 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Do not treat top-level mounts (i.e. sftp://server/) as fake roots, and

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

	* src/nautilus-pathbar.c (nautilus_path_bar_check_parent_path),
	(nautilus_path_bar_update_path):
	Do not treat top-level mounts (i.e. sftp://server/) as fake roots, and
	consequently do not display up slider.

svn path=/trunk/; revision=14379
parent 062cde61
2008-07-20 Christian Neumair <cneumair@gnome.org>
* src/nautilus-pathbar.c (nautilus_path_bar_check_parent_path),
(nautilus_path_bar_update_path):
Do not treat top-level mounts (i.e. sftp://server/) as fake roots, and
consequently do not display up slider.
2008-07-20 Christian Neumair <cneumair@gnome.org>
* src/nautilus-pathbar.c (get_type_icon_info):
......
......@@ -1594,7 +1594,8 @@ nautilus_path_bar_check_parent_path (NautilusPathBar *path_bar,
ButtonData *button_data;
button_data = list->data;
if (BUTTON_IS_FAKE_ROOT (button_data)) {
if (list->prev != NULL &&
BUTTON_IS_FAKE_ROOT (button_data)) {
path_bar->fake_root = list;
break;
}
......@@ -1646,7 +1647,8 @@ nautilus_path_bar_update_path (NautilusPathBar *path_bar, GFile *file_path)
new_buttons = g_list_prepend (new_buttons, button_data);
if (BUTTON_IS_FAKE_ROOT (button_data)) {
if (parent_file != NULL &&
BUTTON_IS_FAKE_ROOT (button_data)) {
fake_root = new_buttons;
}
......
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