[Xfce-bugs] [Bug 15758] Quit confirmation message when multiple tabs are open

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Aug 9 15:47:58 CEST 2019


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

Reuben Green <reubengreen73 at gmail.com> changed:

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

--- Comment #4 from Reuben Green <reubengreen73 at gmail.com> ---
Created attachment 8857
  --> https://bugzilla.xfce.org/attachment.cgi?id=8857&action=edit
Patch to add confirmation when closing multiple tabs

Here is my go at implementing this feature.

This patch adds a signal handler (thunar_window_delete) to catch the "delete"
event of the window, which pops up a dialog box to ask for confirmation if
there are multiple tabs open.

This feature is on by default, but the user can toggle it on/off via a checkbox
on the "Behaviour" tab of the preferences dialog, and the user's preference is
stored between sessions in the setting "misc-confirm-close-multiple-tabs".

Criticisms and suggestions for improvement are most welcome!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list