Bug #15873 introduced a general "close multi tab" dialog. Since libxfce4ui 4.15.0 just got released, we can make use of it in thunar now.
Created attachment 9417 Replaces custom code with libxfce4ui function Apologies for the long absence! So here is a patch to do this. Comments and criticisms welcome as always!
Created attachment 9421 patch Thanks alot for the patch ! I just fixed some gtk compile warnings and bumped the minimum required xfce4ui version to 4.15. Ok for you if I push it like that ?
Yep, that patch looks fine to me. Thanks!
Reuben Green referenced this bugreport in commit 59244a32f25dae0aae51a595e383ab49fe255887 Use libxfce4ui close-multiple-tab dialog (Bug #16254) https://git.xfce.org/xfce/thunar/commit?id=59244a32f25dae0aae51a595e383ab49fe255887
Pushed it to master. Thank you for your contribution! .. was a long way for that dialog :) A bit sad that Igor seems not to be interest in using it in xfce4-terminal any more (Bug #16255) .. possibly that will change some day :)