summaryrefslogtreecommitdiff
path: root/thunar/thunar-file.c
diff options
context:
space:
mode:
authorHarald Judt <h.judt@gmx.at>2015-05-09 16:33:04 +0200
committerHarald Judt <h.judt@gmx.at>2015-05-12 09:50:14 +0200
commitfaff718b7cdc5cee2597f71e63102384ab21776a (patch)
tree81346669e6fffc680c73f3564a46ef321b823ad8 /thunar/thunar-file.c
parent0aa296f5fa364600a3065673d08eace3290e9847 (diff)
downloadthunar-faff718b7cdc5cee2597f71e63102384ab21776a.tar.gz
Fix wrong network icon shown in tree view
In the treeview the network item has a standard directory icon unlike in all other places. This commit fixes this.
Diffstat (limited to 'thunar/thunar-file.c')
-rw-r--r--thunar/thunar-file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 58bf9f60..a216cfaf 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -3727,6 +3727,10 @@ thunar_file_get_icon_name (ThunarFile *file,
special_names[0] = thunar_file_get_item_count (file) > 0 ? "user-trash-full" : "user-trash";
special_names[1] = "user-trash";
}
+ else if (g_file_has_uri_scheme (file->gfile, "network"))
+ {
+ special_names[0] = "network-workgroup";
+ }
else if (g_file_has_uri_scheme (file->gfile, "recent"))
{
special_names[0] = "document-open-recent";