Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <041201c10116$5ab675e0$806410ac@local> From: "Robert Collins" To: , References: <032001c100fe$d62310c0$806410ac AT local> <20010629205735 DOT K9607 AT redhat DOT com> <034701c10106$34f6b6e0$806410ac AT local> <036501c10108$b55383c0$806410ac AT local> <20010629221309 DOT A11334 AT redhat DOT com> <038301c1010a$bab7e840$806410ac AT local> <039201c1010b$856f0c80$806410ac AT local> <20010629223227 DOT C11334 AT redhat DOT com> <03cb01c1010e$6d809dc0$806410ac AT local> <20010629231541 DOT A12500 AT redhat DOT com> <20010629231957 DOT A12552 AT redhat DOT com> Subject: Re: Default chooser view? Date: Sat, 30 Jun 2001 13:40:05 +1000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_040F_01C1016A.2BA9E440" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-OriginalArrivalTime: 30 Jun 2001 03:27:42.0128 (UTC) FILETIME=[9EFA9300:01C10114] This is a multi-part message in MIME format. ------=_NextPart_000_040F_01C1016A.2BA9E440 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit ChangeLog Sat Jun 30 2001 13:39:00 Robert Collins rbtcollins AT hotmail DOT com * choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY. (do_choose): Log the first category name. Rob ----- Original Message ----- From: "Christopher Faylor" To: ; Sent: Saturday, June 30, 2001 1:19 PM Subject: Default chooser view? > Btw, Robert, I see that the default view is still Partial. > Didn't you say that you changed it to Category? Or did I > screw something up? > > cgf > ------=_NextPart_000_040F_01C1016A.2BA9E440 Content-Type: application/octet-stream; name="defaultnlog.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="defaultnlog.patch" Index: choose.cc=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /cvs/src/src/winsup/cinstall/choose.cc,v=0A= retrieving revision 2.37=0A= diff -u -p -r2.37 choose.cc=0A= --- choose.cc 2001/06/30 03:11:46 2.37=0A= +++ choose.cc 2001/06/30 03:35:48=0A= @@ -1061,7 +1061,7 @@ create_listview (HWND dlg, RECT *r)=0A= chooser =3D new (view) (VIEW_CATEGORY, dc);=0A= =0A= default_trust (lv, TRUST_CURR);=0A= - set_view_mode (lv, VIEW_PACKAGE);=0A= + set_view_mode (lv, VIEW_CATEGORY);=0A= if (!SetDlgItemText (dlg, IDC_CHOOSE_VIEWCAPTION, = chooser->mode_caption()))=0A= log (LOG_BABBLE, "Failed to set View button caption %d", = GetLastError() );=0A= for (Package *foo =3D package; foo->name; foo++)=0A= @@ -1483,7 +1483,7 @@ do_choose (HINSTANCE h)=0A= =0A= log (LOG_BABBLE, "[%s] action=3D%s trust=3D%s installed=3D%s = excluded=3D%s src?=3D%s"=0A= " category=3D%s", pkg->name, action, trust, installed,=0A= - excluded, pkg->srcpicked ? "yes" : "no", pkg->category);=0A= + excluded, pkg->srcpicked ? "yes" : "no", pkg->category->name);=0A= for (int t =3D 1; t < NTRUST; t++)=0A= {=0A= if (pkg->info[t].install)=0A= ------=_NextPart_000_040F_01C1016A.2BA9E440--