[Aptitude-svn-commit] r3570 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Sat, 02 Jul 2005 18:58:56 +0000
Author: dburrows
Date: Sat Jul 2 18:58:53 2005
New Revision: 3570
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Implement the wstring variant of show_message.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Sat Jul 2 18:58:53 2005
@@ -1,5 +1,9 @@
2005-07-02 Daniel Burrows <dburrows@debian.org>
+ * src/ui.cc:
+
+ Implement the wstring variant of show_message.
+
* src/main.cc:
Add default transcoding error handlers that push an error on the
Modified: branches/aptitude-0.3/aptitude/src/ui.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/ui.cc (original)
+++ branches/aptitude-0.3/aptitude/src/ui.cc Sat Jul 2 18:58:53 2005
@@ -2088,3 +2088,10 @@
{
show_message(text_fragment(msg), okslot, st);
}
+
+void show_message(const std::wstring &msg,
+ slot0arg okslot,
+ const style &st)
+{
+ show_message(text_fragment(msg), okslot, st);
+}