diff options
author | Daniel Burrows <Daniel_Burrows@alumni.brown.edu> | 2007-02-01 01:19:32 +0000 |
---|---|---|
committer | Daniel Burrows <Daniel_Burrows@alumni.brown.edu> | 2007-02-01 01:19:32 +0000 |
commit | df1506effa182b10a6223e1857033ee8f0b85741 (patch) | |
tree | d835186a94205f56bd4f0bc3b53423de274fd860 /src/view_changelog.cc | |
parent | 82fd7f9e4cb3b33e3ba2cb4187e27e1d361706e6 (diff) | |
download | aptitude-df1506effa182b10a6223e1857033ee8f0b85741.tar.gz |
[aptitude @ Make all search prompts display the default text when they are brought up. Combined with the new edit-line behavior, this Closes: #405963.]
Diffstat (limited to 'src/view_changelog.cc')
-rw-r--r-- | src/view_changelog.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view_changelog.cc b/src/view_changelog.cc index 7932fc8a..a797037e 100644 --- a/src/view_changelog.cc +++ b/src/view_changelog.cc @@ -1,6 +1,6 @@ // view_changelog.cc // -// Copyright (C) 2004-2005 Daniel Burrows +// Copyright (C) 2004-2005, 2007 Daniel Burrows // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -53,7 +53,7 @@ class pkg_changelog_screen : public vs_file_pager, public menu_redirect last_search_forwards = true; prompt_string(transcode(_("Search for: ")), - L"", + get_last_search(), arg(sigc::mem_fun(*this, &vs_pager::search_for)), NULL, NULL, @@ -65,7 +65,7 @@ class pkg_changelog_screen : public vs_file_pager, public menu_redirect last_search_forwards = false; prompt_string(transcode(_("Search backwards for: ")), - L"", + get_last_search(), arg(sigc::mem_fun(*this, &vs_pager::search_back_for)), NULL, NULL, |