Commit 7d75dd8e authored by Matthias Clasen's avatar Matthias Clasen Committed by Sébastien Wilmet

Avoid unwanted drag cancel animations

GTK+ is now being more careful about dealing with tabs
disappearing in the middle of a drag - which is exactly
what the current gedit code appears to be doing, from
the GtkNotebook viewpoint. To avoid this, use a new function
that was introduced for this purpose in GtkNotebook.
parent a6798715
......@@ -64,7 +64,7 @@ Information about gedit mailing lists can be found at
gedit requires GTK+ >= 3.14.0, GtkSourceView >= 3.14.0 and
gedit requires GTK+ >= 3.15.7, GtkSourceView >= 3.15.3 and
libpeas >= 1.7.x libraries. It also has a run-time dependency on an
icon theme for its icons. If gedit fails to display icons, installing
GNOME's default adwaita-icon-theme is a simple way of providing them.
......@@ -15,7 +15,7 @@ AC_INIT([gedit],
# Dependencies
......@@ -568,7 +568,7 @@ gedit_notebook_move_tab (GeditNotebook *src,
/* make sure the tab isn't destroyed while we move it */
g_object_ref (tab);
gtk_container_remove (GTK_CONTAINER (src), GTK_WIDGET (tab));
gtk_notebook_detach_tab (GTK_NOTEBOOK (src), GTK_WIDGET (tab));
gedit_notebook_add_tab (dest, tab, dest_position, TRUE);
g_object_unref (tab);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment