[Aptitude-svn-commit] r3340 - in branches/aptitude-0.3/aptitude: . src/vscreen
Daniel Burrows
dburrows@costa.debian.org
Tue, 07 Jun 2005 00:24:59 +0000
Author: dburrows
Date: Tue Jun 7 00:24:57 2005
New Revision: 3340
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc
Log:
Don't use the obsolete %C escape in the test program.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jun 7 00:24:57 2005
@@ -1,5 +1,9 @@
2005-06-06 Daniel Burrows <dburrows@debian.org>
+ * src/vscreen/testvscreen.cc:
+
+ Get rid of no-longer-necessary uses of the removed %C escape.
+
* src/vscreen/vs_button.cc:
Don't drop character attributes from the enclosed text -- this is
Modified: branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc Tue Jun 7 00:24:57 2005
@@ -178,12 +178,12 @@
void show_nasty_message()
{
- stacker->add_visible_widget(vs_dialog_ok(flowbox(fragf("%C%RYour mother was a hamster, and your father smelt of elderberry!%n%nNow go away, or I shall taunt you a second time!", "DefaultWidgetBackground")), NULL), true);
+ stacker->add_visible_widget(vs_dialog_ok(flowbox(fragf("Your mother was a hamster, and your father smelt of elderberry!%n%nNow go away, or I shall taunt you a second time!")), NULL), true);
}
void interrogate()
{
- stacker->add_visible_widget(vs_dialog_yesno(flowbox(fragf("%C%RDo you like Debian?", "DefaultWidgetBackground")), NULL, arg(sigc::ptr_fun(show_nasty_message))), true);
+ stacker->add_visible_widget(vs_dialog_yesno(flowbox(fragf("Do you like Debian?")), NULL, arg(sigc::ptr_fun(show_nasty_message))), true);
}
void dobeep()