This is an automated email from the git hooks/post-receive script.

alex pushed a 
commit to branch 
master
in repository xfce/thunar.

commit cdb516d09cbc0e7c1995188407a672869cba8c89
Author: Yousuf Philips <philip...@hotmail.com>
Date:   Fri Feb 28 06:42:31 2020 +0400

    Add computer:/// to side pane tree view (Bug #16472)
---
 thunar/thunar-tree-model.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/thunar/thunar-tree-model.c b/thunar/thunar-tree-model.c
index 17d9bf5..9a431d7 100644
--- a/thunar/thunar-tree-model.c
+++ b/thunar/thunar-tree-model.c
@@ -283,6 +283,7 @@ thunar_tree_model_init (ThunarTreeModel *model)
   ThunarFile          *file;
   GFile               *desktop;
   GFile               *home;
+  GFile               *computer;
   GList               *system_paths = NULL;
   GList               *devices;
   GList               *lp;
@@ -313,6 +314,10 @@ thunar_tree_model_init (ThunarTreeModel *model)
   g_signal_connect (model->device_monitor, "device-removed", G_CALLBACK 
(thunar_tree_model_device_removed), model);
   g_signal_connect (model->device_monitor, "device-changed", G_CALLBACK 
(thunar_tree_model_device_changed), model);
 
+  /* add the computer folder to the system paths */
+  computer = thunar_g_file_new_for_computer ();
+  system_paths = g_list_append (system_paths, g_object_ref (computer));
+
   /* add the home folder to the system paths */
   home = thunar_g_file_new_for_home ();
   system_paths = g_list_append (system_paths, g_object_ref (home));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to