[Xfce4-commits] [apps/xfce4-terminal] 01/01: Allow to move tabs between windows by dragging them onto the terminal area
noreply at xfce.org
noreply at xfce.org
Thu Jul 5 21:41:51 CEST 2018
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 056d641c5542cb974c77f4941eeff2b5edf59aec
Author: Igor <f2404 at yandex.ru>
Date: Thu Jul 5 15:39:28 2018 -0400
Allow to move tabs between windows by dragging them onto the terminal area
In addition to the notebook area, as that worked before.
---
terminal/terminal-widget.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index 2294c7b..6a302f3 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -586,8 +586,8 @@ terminal_widget_drag_data_received (GtkWidget *widget,
break;
case TARGET_GTK_NOTEBOOK_TAB:
- /* 'send' the drag to the parent widget (TerminalScreen) */
- screen = gtk_widget_get_parent (widget);
+ /* 'send' the drag to the parent's parent widget (TerminalWidget -> GtkBox -> TerminalScreen) */
+ screen = gtk_widget_get_parent (gtk_widget_get_parent (widget));
if (G_LIKELY (screen))
{
g_signal_emit_by_name (G_OBJECT (screen), "drag-data-received", context,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list