[Xfce-bugs] [Bug 15873] Unification of "close multi tab" dialog

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Oct 2 17:32:39 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15873

Reuben Green <reubengreen73 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reubengreen73 at gmail.com

--- Comment #1 from Reuben Green <reubengreen73 at gmail.com> ---
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.


More information about the Xfce-bugs mailing list