Steve committed: > # HG changeset patch > # User Steve Borho <st...@borho.org> > # Date 1254076188 18000 > # Node ID ba6403563d9395adf131282548873cd7f9554b63 > # Parent 5c5c27788ae5069044a9a9359e33e1e2ea75a193 > status: drop 'inconsistent' property > > Not all GTK+ themes implement this property, including some widely > used default themes. > > diff --git a/tortoisehg/hgtk/status.py b/tortoisehg/hgtk/status.py > --- a/tortoisehg/hgtk/status.py > +++ b/tortoisehg/hgtk/status.py > @@ -246,10 +246,7 @@ class GStatus(gdialog.GDialog): > col0 = gtk.TreeViewColumn('', toggle_cell) > col0.set_visible(not is_merge) # hide when merging > col0.add_attribute(toggle_cell, 'active', FM_CHECKED) > - if gtk.pygtk_version >= (2, 12, 0): > - col0.add_attribute(toggle_cell, 'inconsistent', > FM_PARTIAL_SELECTED) > - else: > - col0.add_attribute(toggle_cell, 'radio', FM_PARTIAL_SELECTED) > + col0.add_attribute(toggle_cell, 'radio', FM_PARTIAL_SELECTED) > col0.set_resizable(False) > self.filetree.append_column(col0) > self.selcb = self.add_header_checkbox(col0, self.sel_clicked)
Wow. That's bad news. Using radio button for inconsistent is very bad. GTK+ seems to be really limited. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop