[Aptitude-svn-commit] r3598 - in branches/aptitude-0.3/aptitude: . src/mine
Daniel Burrows
dburrows@costa.debian.org
Sun Jul 3 19:21:07 UTC 2005
Author: dburrows
Date: Sun Jul 3 19:21:05 2005
New Revision: 3598
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/mine/cmine.cc
Log:
post-connect Confirm in the new game dialog to avoid having the
user accidentally start a new game instead of selecting Cancel.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Sun Jul 3 19:21:05 2005
@@ -2,6 +2,12 @@
* src/mine/cmine.cc:
+ In the new-game dialog, connect the Confirm binding with
+ connect_key_post so that it doesn't override pressing Enter on
+ the Cancel button.
+
+ * src/mine/cmine.cc:
+
Fix the location of the right-hand border, and add some more
color customization possibilities.
Modified: branches/aptitude-0.3/aptitude/src/mine/cmine.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/mine/cmine.cc (original)
+++ branches/aptitude-0.3/aptitude/src/mine/cmine.cc Sun Jul 3 19:21:05 2005
@@ -334,7 +334,7 @@
vs_button *okbutton=new vs_button(_("Ok"));
vs_button *cancelbutton=new vs_button(_("Cancel"));
- table->connect_key("Confirm", &global_bindings, okbutton->pressed.make_slot());
+ table->connect_key_post("Confirm", &global_bindings, okbutton->pressed.make_slot());
vs_radiogroup *grp=new vs_radiogroup;
grp->add_button(easybutton, 0);
More information about the Aptitude-svn-commit
mailing list