Since I asked on IRC, I tested this patch against the 3.4 branch and it
appears to work well on initial inspection. I only tried a couple positive
values but they both worked as expected.

On Fri, Apr 30, 2010 at 5:55 PM, Adrian C. <[email protected]> wrote:

> Hi,
> I'm looking for users interested in the offset property for
> awful.widget.progressbar. If you try the patch let the rest of us know
> how it goes, are you satisfied, does it work well... thanks.
>
>
> -------------------------------
> Date: Fri, 16 Apr 2010 21:57:43
> From: Adrian C. <[email protected]>
> To: [email protected]
>
> Hi,
> last month I wrote a quick offset solution for a user on IRC. Now this
> patch is sitting in my home for a month and it seems I can't find the
> time to review it. Maybe someone else can test and review (and
> decide/vote if we need this functionality at all). The commit message
> follows.
>
> New method is available, set_offset, which takes a number as the
> offset argument. The progressbar will be drawn distanced from the
> border by as many pixels as the offset argument. Property is only
> taken into account when there actually is a border, it makes little
> sense otherwise (except to provide functionality simillar to margins,
> but widget margins are already available).
>
> --
> Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
> PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618

Reply via email to