[Xfce4-commits] [xfce/thunar] 08/13: Fix wrong network icon shown in tree view
noreply at xfce.org
noreply at xfce.org
Tue May 12 09:58:21 CEST 2015
This is an automated email from the git hooks/post-receive script.
hjudt pushed a commit to branch master
in repository xfce/thunar.
commit faff718b7cdc5cee2597f71e63102384ab21776a
Author: Harald Judt <h.judt at gmx.at>
Date: Sat May 9 16:33:04 2015 +0200
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.
---
thunar/thunar-file.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 58bf9f6..a216cfa 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";
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list