[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix closing tab by middle click

noreply at xfce.org noreply at xfce.org
Sun Jul 7 20:30:49 CEST 2019


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit 8c0bb6f0ad67bee1dea2d62b038fb5d05706cf21
Author: Igor <f2404 at yandex.ru>
Date:   Sun Jul 7 14:28:57 2019 -0400

    Fix closing tab by middle click
    
    Including switching to last active tab, allowing to undo close tab, and
    checking for a running process.
    
    Fixes bug #15687
---
 terminal/terminal-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 4026ca9..3e6ffaf 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1396,7 +1396,7 @@ terminal_window_notebook_button_press_event (GtkNotebook    *notebook,
           g_object_get (G_OBJECT (window->priv->preferences),
                         "misc-tab-close-middle-click", &close_middle_click, NULL);
           if (close_middle_click)
-            gtk_widget_destroy (page);
+            terminal_window_close_tab_request (TERMINAL_SCREEN (page), window);
         }
       else
         {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list