[Patch] setup/threebar.cc: Allow statics to stretch. (was Re: {Patch} Setup: Tell where we're downloading from.)

Buzz cygwin-apps.buzz@bavag.tmfweb.nl
Sat Dec 10 04:44:00 GMT 2005


Op Mon,  5 Dec 2005 05:20:01 +0100 (MET) schreef Bas van Gompel
in <n2m-g.dn0ieh.3vv<at>t3h.1@buzzy-box.bavag>:
:  Op Tue,  8 Nov 2005 22:50:55 +0100 (MET) schreef Bas van Gompel
:  in <n2m-g.dkr7ph.3vvbnql.1@buzzy-box.bavag>:
::  Hi,

::  Here is a patch to make setup tell where files are actually being
::  downloaded from.

:  So, here is a modified version, using more std::stringy ways.
:  I got carried away a bit, and turned some more Strings into
:  std::string.
:  Also I needed to edit res.rc to prevent wrapping.

Furthermore, as these strings may be long, I suggest making their
statics stretchable. Please apply this patch as well.

Is there any serious reason this page has such wide margins?

(Oh, and... ping.)


ChangeLog-entry (Fix the <at>, please.)

2005-12-10  Bas Van Gompel  <patch-cygsup.buzz<at>bavag.tmfweb.nl>

	* threebar.cc (ThreeBarControlsInfo): Allow static controls to
	stretch.


Index: setup/threebar.cc
===================================================================
RCS file: /cvs/cygwin-apps/setup/threebar.cc,v
retrieving revision 2.10
diff -u -p -r2.10 threebar.cc
--- setup/threebar.cc	5 May 2005 22:48:36 -0000	2.10
+++ setup/threebar.cc	9 Dec 2005 18:47:45 -0000
@@ -34,9 +34,9 @@
   Sizing information.
  */
 static ControlAdjuster::ControlInfo ThreeBarControlsInfo[] = {
-  {IDC_INS_ACTION, 		CP_LEFT,    CP_TOP},
-  {IDC_INS_PKG, 		CP_LEFT,    CP_TOP},
-  {IDC_INS_FILE, 		CP_LEFT,    CP_TOP},
+  {IDC_INS_ACTION, 		CP_STRETCH,    CP_TOP},
+  {IDC_INS_PKG, 		CP_STRETCH,    CP_TOP},
+  {IDC_INS_FILE, 		CP_STRETCH,    CP_TOP},
   {IDC_INS_DISKFULL, 		CP_STRETCH, CP_TOP},
   {IDC_INS_IPROGRESS, 		CP_STRETCH, CP_TOP},
   {IDC_INS_PPROGRESS,		CP_STRETCH, CP_TOP},


L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   /    /   really is |   and false bits entirely.    | mail for
  ) |  |  /    /    a 72 by 4 +-------------------------------+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."    | me. 4^re



More information about the Cygwin-apps mailing list