emit "reconnect" *before* emitting scale and scroll events so listeners

2004-07-28  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
	emit "reconnect" *before* emitting scale and scroll events so
	listeners (the navigation view) can switch to the new image at the
	right time.
This commit is contained in:
Michael Natterer 2004-07-28 16:16:39 +00:00 committed by Michael Natterer
parent e082fd5572
commit d7a77398b9
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2004-07-28 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
emit "reconnect" *before* emitting scale and scroll events so
listeners (the navigation view) can switch to the new image at the
right time.
2004-07-28 Sven Neumann <sven@gimp.org>
Applied a patch from Brion Vibber that makes the TWAIN plug-in

View File

@ -981,11 +981,11 @@ gimp_display_shell_reconnect (GimpDisplayShell *shell)
gimp_display_shell_connect (shell);
g_signal_emit (shell, display_shell_signals[RECONNECT], 0);
gimp_display_shell_scale_setup (shell);
gimp_display_shell_expose_full (shell);
gimp_display_shell_scaled (shell);
g_signal_emit (shell, display_shell_signals[RECONNECT], 0);
}
void