https://bugzilla.xfce.org/show_bug.cgi?id=15873
Reuben Green <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Reuben Green <[email protected]> --- Created attachment 9065 --> https://bugzilla.xfce.org/attachment.cgi?id=9065&action=edit Patch to add confirmation dialog for use when closing multiple tabs Here is my go at implementing this. The patch adds a single function, xfce_dialog_confirm_close_tabs, which takes 3 arguments: the parent window, the number of open tabs (this is displayed to the user; if the argument is negative then the message just says "multiple open tabs"), and a pointer to a boolean which is used to set/get the user's preference for seeing the confirmation dialog (if this is NULL then the user is not given this option). See my next comment for a small demonstrator program. Criticisms and suggestions for improvement are most welcome! Would it be a good idea to open bugs for thunar and xfce4-terminal pointing to this bug as a way of inviting comments from the people whose programs would be using this feature? I'm rather new at bugzilla etiquette so I'm not sure if this is sensible. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Xfce-bugs mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce-bugs
