Mail Archives: cygwin-developers/2001/06/29/23:37:55
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" <cgf AT redhat DOT com>
To: <cygwin-developers AT cygwin DOT com>; <cygwin-patches AT cygwin DOT com>
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--
- Raw text -