gimp r24694 - in trunk: . app/display
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24694 - in trunk: . app/display
- Date: Wed, 23 Jan 2008 18:11:30 +0000 (GMT)
Author: neo
Date: Wed Jan 23 18:11:29 2008
New Revision: 24694
URL: http://svn.gnome.org/viewvc/gimp?rev=24694&view=rev
Log:
2008-01-23 Sven Neumann <sven gimp org>
* app/display/gimpdisplayshell-selection.c: show the selection,
even if the window is flagged as invisible, but don't start the
animation. Addresses bug #505758.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-selection.c
Modified: trunk/app/display/gimpdisplayshell-selection.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-selection.c (original)
+++ trunk/app/display/gimpdisplayshell-selection.c Wed Jan 23 18:11:29 2008
@@ -251,8 +251,8 @@
{
selection_stop (selection);
- /* If this selection is paused or invisible, do not start it */
- if (selection->paused == 0 && selection->visible)
+ /* If this selection is paused, do not start it */
+ if (selection->paused == 0)
{
selection->timeout = g_idle_add ((GSourceFunc) selection_start_timeout,
selection);
@@ -706,11 +706,11 @@
selection->num_segs_out);
- if (selection->segs_in)
+ if (selection->segs_in && selection->visible)
selection->timeout = g_timeout_add_full (G_PRIORITY_DEFAULT_IDLE,
config->marching_ants_speed,
(GSourceFunc) selection_timeout,
- selection, NULL);
+ selection, NULL);
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]