Skip to content

Commit

Permalink
Fix Public symbolic icon missing in breadcrumb (#1972)
Browse files Browse the repository at this point in the history
Public Share is the only default User Directory to not have its symbolic icon displayed in the breadcrumb. This fixes that issue.

Co-authored-by: EnterTheDarkVoid <9028176+EnterTheDarkVoid@users.noreply.github.com>
Co-authored-by: Jeremy Wootten <jeremy@elementaryos.org>
  • Loading branch information
3 people authored Jan 7, 2022
1 parent 28428fb commit 8cb8f41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libcore/Widgets/BreadcrumbIconList.vala
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ namespace Files.View.Chrome {
Files.ICON_FOLDER_DOCUMENTS_SYMBOLIC);
add_special_directory (Environment.get_user_special_dir (UserDirectory.TEMPLATES),
Files.ICON_FOLDER_TEMPLATES_SYMBOLIC);
add_special_directory (Environment.get_user_special_dir (UserDirectory.PUBLIC_SHARE),
Files.ICON_FOLDER_PUBLICSHARE_SYMBOLIC);
add_special_directory (PF.UserUtils.get_real_user_home (), Files.ICON_GO_HOME_SYMBOLIC, true);
add_special_directory ("/media", Files.ICON_FILESYSTEM_SYMBOLIC, true);
add_special_directory (Path.DIR_SEPARATOR_S, Files.ICON_FILESYSTEM_SYMBOLIC);
Expand Down

0 comments on commit 8cb8f41

Please sign in to comment.