Updating branch refs/heads/xfce-4.8 to 57bf9e5088cf7ac6e7989541889544637e20a89d (commit) from 7085af8f93cccf1122b81e4cf82f4eb9a91e80b5 (commit)
commit 57bf9e5088cf7ac6e7989541889544637e20a89d Author: Jannis Pohlmann <jan...@xfce.org> Date: Sat Sep 17 01:08:02 2011 +0200 Allow exec bit of MS-DOS executables and MSI to be changed (bug #3545). Patch by Alex Henrie<alexhenri...@gmail.com>. NEWS | 2 ++ thunar/thunar-permissions-chooser.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index 3f3b664..fa93294 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,8 @@ in a way that does not break SMB shares (#bug 7774). Patches by Ambroz Bizjak and Axel Sommerfeldt. - Fix segfaults in case icons are missing or not found (bug #7880). +- Allow exec bit of MS-DOS executables and MSI to be changed + (bug #3545). 1.2.2 ===== diff --git a/thunar/thunar-permissions-chooser.c b/thunar/thunar-permissions-chooser.c index 7e26dd0..576010f 100644 --- a/thunar/thunar-permissions-chooser.c +++ b/thunar/thunar-permissions-chooser.c @@ -867,7 +867,9 @@ thunar_permissions_chooser_file_changed (ThunarPermissionsChooser *chooser, 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")), NULL); + || 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-ms-dos-executable") + || thunarx_file_info_has_mime_type (THUNARX_FILE_INFO (file), "application/x-msi")), 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); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits