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.

https://bugzilla.gnome.org/show_bug.cgi?id=744443
parent a6798715
......@@ -64,7 +64,7 @@ Information about gedit mailing lists can be found at
Installation
============
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
GLIB_REQUIRED=2.40.0
GTK_REQUIRED=3.14.0
GTK_REQUIRED=3.15.7
GTKSOURCEVIEW_REQUIRED=3.15.3
LIBPEAS_REQUIRED=1.7.0
LIBXML_REQUIRED=2.5.0
......
......@@ -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