Bill Skaggs <weskaggs@primate.ucdavis.edu>

* libgimpwidgets/gimpwidgets.c (gimp_coordinate_callback):
	Don't stop emission of "value-changed" signal.  Fixes
	bug #346088.  Let's see if it breaks anything else...
This commit is contained in:
William Skaggs 2006-08-10 19:17:44 +00:00
parent d5cfa53e83
commit 55d716e258
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2006-08-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpwidgets.c (gimp_coordinate_callback):
Don't stop emission of "value-changed" signal. Fixes
bug #346088. Let's see if it breaks anything else...
2006-08-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.[ch]: if the user is

View File

@ -1084,7 +1084,7 @@ gimp_coordinates_callback (GtkWidget *widget,
gcd->last_x = new_x;
new_y = (new_x * gcd->orig_y) / gcd->orig_x;
g_signal_stop_emission_by_name (widget, "value-changed");
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 1,
new_y);
gcd->last_y
@ -1095,7 +1095,7 @@ gimp_coordinates_callback (GtkWidget *widget,
gcd->last_y = new_y;
new_x = (new_y * gcd->orig_x) / gcd->orig_y;
g_signal_stop_emission_by_name (widget, "value-changed");
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 0,
new_x);
gcd->last_x
@ -1109,7 +1109,7 @@ gimp_coordinates_callback (GtkWidget *widget,
{
new_y = new_x;
g_signal_stop_emission_by_name (widget, "value-changed");
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 1, new_x);
gcd->last_y = gcd->last_x
= gimp_size_entry_get_refval (GIMP_SIZE_ENTRY (widget), 1);
@ -1118,7 +1118,7 @@ gimp_coordinates_callback (GtkWidget *widget,
{
new_x = new_y;
g_signal_stop_emission_by_name (widget, "value-changed");
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 0, new_y);
gcd->last_x = gcd->last_y
= gimp_size_entry_get_refval (GIMP_SIZE_ENTRY (widget), 0);