[Xfce4-commits] [xfce/thunar] 01/01: Not possible to empty the trash via the pathbar context menu
noreply at xfce.org
noreply at xfce.org
Thu Oct 3 22:29:07 CEST 2019
This is an automated email from the git hooks/post-receive script.
a l e x p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit 31375b5ed76839d08c689651a14c7e931f3db6af
Author: Alexander Schwinn <alexxcons at xfce.org>
Date: Thu Oct 3 22:27:52 2019 +0200
Not possible to empty the trash via the pathbar context menu
---
thunar/thunar-location-buttons.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/thunar/thunar-location-buttons.c b/thunar/thunar-location-buttons.c
index 872e456..eed9dff 100644
--- a/thunar/thunar-location-buttons.c
+++ b/thunar/thunar-location-buttons.c
@@ -1280,7 +1280,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
/* setup the "Empty Trash" action */
action = gtk_action_group_get_action (buttons->action_group, "location-buttons-empty-trash");
gtk_action_set_visible (action, (thunar_file_is_root (file) && thunar_file_is_trashed (file)));
- gtk_action_set_sensitive (action, (thunar_file_get_size (file) > 0));
+ gtk_action_set_sensitive (action, (thunar_file_get_item_count (file) > 0));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), gtk_action_create_menu_item (action));
G_GNUC_END_IGNORE_DEPRECATIONS
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list