On Thu, Oct 1, 2009 at 12:32 PM, Adrian Buehlmann <adr...@cadifra.com>wrote:

>
>
> On 01.10.2009 17:57, Steve Borho wrote:
> > On Thu, Oct 1, 2009 at 10:40 AM, Steve Borho <st...@borho.org> wrote:
> >
> >>
> >> On Thu, Oct 1, 2009 at 10:31 AM, Diego Oliveira <loki...@gmail.com>
> wrote:
> >>
> >>> Steve,
> >>>
> >>>    Follows attached the patch to draw the star,
> >>>
> >>>
> >> Fantastic.  Thanks.
> >>
> >>
> > I'm wondering whether the 'new' filter is now redundant.  It should be
> > perfectly obvious which changesets are new.
>
> +1
>
> I'm contemplating doing something like:
>
> diff --git a/tortoisehg/hgtk/logview/treemodel.py
> b/tortoisehg/hgtk/logview/treemodel.py
> --- a/tortoisehg/hgtk/logview/treemodel.py
> +++ b/tortoisehg/hgtk/logview/treemodel.py
> @@ -168,6 +168,8 @@ class TreeModel(gtk.GenericTreeModel):
>             color = self.color_func(ctx.parents(), revid, author)
>             if revid in self.wcparents:
>                 sumstr = bstr + tstr + '<b><u>' + summary + '</u></b>'
> +            elif revid >= self.origtip:
> +                sumstr = '<b>*</b> ' + bstr + tstr + summary
>             else:
>                 sumstr = bstr + tstr + summary
>
> though.
>
> I often have the graph turned off.
>
> For example, "hide merges" is only available if the graph is turned off.
> Not wanting to see merge csets is common for branchy repos.
>
> The green color alone as an indication for new csets might be a bit weak
> then. Often, ui gurus recommend not to code information into color alone,
> because there are people who have problems to discern colors.
>

It would be great to encode the three status values (in, out, new) in the
summary if the graph is disabled.  We would just need to pass the graph
column status to the treemodel.
The treemodel initializer is getting too large.  It's probably time to give
the class keyword options.

--
Steve Borho
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to