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

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

commit 8c4cd0496858d91d1fc4e3b1be8d84dd62657982
Author: Andre Miranda <[email protected]>
Date:   Sat Jul 6 16:16:42 2019 -0300

    Always show the executable checkbox (Bug #15605)
---
 thunar/thunar-permissions-chooser.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/thunar/thunar-permissions-chooser.c 
b/thunar/thunar-permissions-chooser.c
index 30a406b..5933043 100644
--- a/thunar/thunar-permissions-chooser.c
+++ b/thunar/thunar-permissions-chooser.c
@@ -1022,14 +1022,9 @@ thunar_permissions_chooser_file_changed 
(ThunarPermissionsChooser *chooser)
       g_object_unref (G_OBJECT (access_store));
     }
 
-  /* update the program setting based on the mode (only visible for regular 
files, allowed for execution) */
+  /* update the program setting based on the mode (only visible for regular 
files) */
   g_signal_handlers_block_by_func (G_OBJECT (chooser->program_button), 
thunar_permissions_chooser_program_toggled, chooser);
-  g_object_set (G_OBJECT (chooser->program_button), "visible", 
thunar_file_is_regular (file)
-      && (thunarx_file_info_has_mime_type (THUNARX_FILE_INFO (file), 
"application/x-executable")
-       || thunarx_file_info_has_mime_type (THUNARX_FILE_INFO (file), 
"application/x-shellscript")
-       || thunarx_file_info_has_mime_type (THUNARX_FILE_INFO (file), 
"application/x-desktop")
-       || thunarx_file_info_has_mime_type (THUNARX_FILE_INFO (file), 
"application/x-ms-dos-executable")
-       || thunarx_file_info_has_mime_type (THUNARX_FILE_INFO (file), 
"application/x-msi")), NULL);
+  g_object_set (G_OBJECT (chooser->program_button), "visible", 
thunar_file_is_regular (file), NULL);
   gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (chooser->program_button), 
(mode & 0111) != 0);
   g_signal_handlers_unblock_by_func (G_OBJECT (chooser->program_button), 
thunar_permissions_chooser_program_toggled, chooser);
 

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

Reply via email to