From: Robert Collins Date: Sat, 30 Jun 2001 03:43:33 +0000 (+0000) Subject: Sat Jun 30 13:39:00 2001 Robert Collins X-Git-Tag: Z-cygwin_daemon_merge-new_HEAD~24 X-Git-Url: https://cygwin.com/git/?a=commitdiff_plain;h=9307254d4a549765a1dcdcb1ad54f5eb365125ef;p=cygwin-apps%2Fsetup.git Sat Jun 30 13:39:00 2001 Robert Collins * choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY. (do_choose): Log the first category name. --- diff --git a/ChangeLog b/ChangeLog index 4df61307..21f87fbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 30 13:39:00 2001 Robert Collins + + * choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY. + (do_choose): Log the first category name. + Fri Jun 29 23:07:44 2001 Christopher Faylor *ini.h: Reapply 2001-06-25 changes. diff --git a/choose.cc b/choose.cc index 20efbb9b..060d74eb 100644 --- a/choose.cc +++ b/choose.cc @@ -1061,7 +1061,7 @@ create_listview (HWND dlg, RECT *r) chooser = new (view) (VIEW_CATEGORY, dc); default_trust (lv, TRUST_CURR); - set_view_mode (lv, VIEW_PACKAGE); + set_view_mode (lv, VIEW_CATEGORY); if (!SetDlgItemText (dlg, IDC_CHOOSE_VIEWCAPTION, chooser->mode_caption())) log (LOG_BABBLE, "Failed to set View button caption %d", GetLastError() ); for (Package *foo = package; foo->name; foo++) @@ -1483,7 +1483,7 @@ do_choose (HINSTANCE h) log (LOG_BABBLE, "[%s] action=%s trust=%s installed=%s excluded=%s src?=%s" " category=%s", pkg->name, action, trust, installed, - excluded, pkg->srcpicked ? "yes" : "no", pkg->category); + excluded, pkg->srcpicked ? "yes" : "no", pkg->category->name); for (int t = 1; t < NTRUST; t++) { if (pkg->info[t].install)