[nautilus/wip/antoniof/new-pathbar: 2/13] pathbar: Remove obsolete comment
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/new-pathbar: 2/13] pathbar: Remove obsolete comment
- Date: Tue, 28 Dec 2021 22:24:40 +0000 (UTC)
commit c721a890021e5840d4fc90df7d54cdf7d11e7f87
Author: António Fernandes <antoniof gnome org>
Date: Sat May 12 12:10:05 2018 +0100
pathbar: Remove obsolete comment
We used to try and reuse the current pathbar buttons if the new path
is already present as a parent or previously visited child. This was
achieved by the (poorly named) nautilus_path_bar_check_parent_path().
Since commit f278574df4a7fe84ff8f7e70b0f9f260fa665072, this is no
longer the case. check_parent_path() was removed and we always
clear and rebuild the pathbar buttons anew when the path changes.
So, remove this obsolete comment.
src/nautilus-pathbar.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 6d0dd92d5..8cf1c3299 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -1584,8 +1584,6 @@ nautilus_path_bar_set_path (NautilusPathBar *self,
g_return_if_fail (NAUTILUS_IS_PATH_BAR (self));
g_return_if_fail (file_path != NULL);
- /* Check whether the new path is already present in the pathbar as buttons.
- * This could be a parent directory or a previous selected subdirectory. */
nautilus_path_bar_update_path (self, file_path);
button_data = g_list_nth_data (self->button_list, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]