diff options
author | Harald Judt <h.judt@gmx.at> | 2015-05-09 16:33:04 +0200 |
---|---|---|
committer | Harald Judt <h.judt@gmx.at> | 2015-05-12 09:50:14 +0200 |
commit | faff718b7cdc5cee2597f71e63102384ab21776a (patch) | |
tree | 81346669e6fffc680c73f3564a46ef321b823ad8 /thunar/thunar-file.c | |
parent | 0aa296f5fa364600a3065673d08eace3290e9847 (diff) | |
download | thunar-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.c | 4 |
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"; |