Index: gtk/gtkbutton.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkbutton.c,v
retrieving revision 1.144
diff -u -3 -p -r1.144 gtkbutton.c
--- gtk/gtkbutton.c	8 Jun 2006 12:47:05 -0000	1.144
+++ gtk/gtkbutton.c	14 Jun 2006 02:25:24 -0000
@@ -1926,8 +1926,10 @@ gtk_button_state_changed (GtkWidget    *
 
   if (!GTK_WIDGET_IS_SENSITIVE (widget))
     {
+      gboolean real = button->in_button;
       button->in_button = FALSE;
       gtk_real_button_released (button);
+      button->in_button = real;
     }
 }
 
