[Aptitude-devel] r3135 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Wed, 27 Apr 2005 03:26:08 +0000
Author: dburrows
Date: Wed Apr 27 03:26:05 2005
New Revision: 3135
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Flow the su-to-root question.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Wed Apr 27 03:26:05 2005
@@ -2,6 +2,10 @@
* src/ui.cc:
+ Also flow the query regarding switching to the root account.
+
+ * src/ui.cc:
+
Wrap the menu descriptions in the status area and eliminate some
literal newlines (need to get rid of other literal newlines
elsewhere in the program...)
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 Wed Apr 27 03:26:05 2005
@@ -904,7 +904,7 @@
check_package_trust();
else
{
- popup_widget(vs_dialog_yesno(_("Installing/removing packages requires administrative privileges, which\nyou currently do not have. Would you like to change to the root account?\n"),
+ popup_widget(vs_dialog_yesno(wrapbox(text_fragment(_("Installing/removing packages requires administrative privileges, which you currently do not have. Would you like to change to the root account?"), get_color("Error"))),
arg(sigc::bind(sigc::ptr_fun(&do_su_to_root),
"-i")),
_("Become root"),
@@ -1019,7 +1019,8 @@
really_do_update_lists();
else
{
- popup_widget(vs_dialog_yesno(_("Updating the package lists requires administrative privileges, which\nyou currently do not have. Would you like to change to the root account?\n"),
+ popup_widget(vs_dialog_yesno(wrapbox(text_fragment(_("Updating the package lists requires administrative privileges, which you currently do not have. Would you like to change to the root account?"),
+ get_color("Error"))),
arg(sigc::bind(sigc::ptr_fun(&do_su_to_root),
"-u")),
_("Become root"),