The attached patch clears up the bug for me.

  Daniel
Fri Oct 21 10:04:26 PDT 2005  Daniel Burrows <[EMAIL PROTECTED]>
  * Only connect the output slots of a yesno dialog once. (Closes: #334977)
diff -rN -u -udp old-head/src/vscreen/vs_util.cc new-head/src/vscreen/vs_util.cc
--- old-head/src/vscreen/vs_util.cc     2005-10-21 10:05:56.000000000 -0700
+++ new-head/src/vscreen/vs_util.cc     2005-10-21 10:04:16.000000000 -0700
@@ -130,11 +130,6 @@ vs_widget_ref vs_dialog_yesno(const vs_w
   nobutton->pressed.connect(sigc::bind(sigc::ptr_fun(&do_slot0_dialog),
                                       center.weak_ref(), noslot));
 
-  if(yesslot)
-    yesbutton->pressed.connect(*yesslot);
-  if(noslot)
-    nobutton->pressed.connect(*noslot);
-
   table->connect_key("Yes", &global_bindings, yesbutton->pressed.make_slot());
   table->connect_key("No", &global_bindings, nobutton->pressed.make_slot());
   table->connect_key("Cancel", &global_bindings, 
nobutton->pressed.make_slot());

Attachment: signature.asc
Description: Digital signature

Reply via email to