On 07.09.2009 15:16, Peer Sommerlund wrote: > > > 2009/9/7 Adrian Buehlmann <adr...@cadifra.com <mailto:adr...@cadifra.com>> > > On 07.09.2009 09:59, Adrian Buehlmann wrote: > > On 07.09.2009 09:07, Peer Sommerlund wrote: > >> > >> 2009/9/5 Adrian Buehlmann <adr...@cadifra.com > <mailto:adr...@cadifra.com> <mailto:adr...@cadifra.com > <mailto:adr...@cadifra.com>>> > >> > >> # HG changeset patch > >> # User Adrian Buehlmann <adr...@cadifra.com > <mailto:adr...@cadifra.com> <mailto:adr...@cadifra.com > <mailto:adr...@cadifra.com>>> > >> # Date 1252154524 -7200 > >> # Node ID 8a7ed1a1e34cc6f270fbdf97e3b04286a306f996 > >> # Parent af6783dea990d29938756f997301b31132b1b0d8 > >> thgmq: put toolbar on top, using horizontal layout > >> > >> This patch is in the official repo as cset de8a545808ca > > > > confirmed, which is part of the default branch (not > > intended for stable -- that is, not part of the 0.8 branch) > > > >> On my system, using GTK 2.10, I get an exception > >> AttributeError: 'gtk.ToolButton' object has no attribute > 'set_tooltip_text' > >> > >> What is the oldest supported version of GTK? > > What should it be? > > > Very good question indeed. > > > > Probably most relevant for the unix platform, since > > Windows target bundles it with the installer. > > > > > > http://www.pygtk.org/pygtk2reference/class-gtktoolitem.html#method-gtktoolitem--set-tooltip-text > > specifies that "This method is available in PyGTK 2.12 and above." > > > > Being an (evil) Windows hacker, I admit I haven't payed > > that much thought to GTK versioning, but I probably assumed > > that a function introduced in PyGTK 2.12 would be good enough > > if our "current platform" -- see below -- is 2.16. > > > > (I have no idea how "fast" the version steps are in PyGTK) > > To get an idea about the timescale: From > > http://svn.gnome.org/viewvc/pygtk/trunk/ChangeLog?revision=3123&view=markup > > <http://svn.gnome.org/viewvc/pygtk/trunk/ChangeLog?revision=3123&view=markup> > > 2.12.0 is of 2007-09-16 (nearly two years now). > > The last release of the 2.10 line seems to be 2.10.4 of 2007-02-05. > 2.10.0 is of 2006-09-04. > > > The reason I see this at all is because I use a source installation (not > a windows installer) of THG.
I was of the impression doing the same, but I have installed the THG binary 0.8.1 in addition. What I have done is, I've renamed C:\Program Files\TortoiseHg\hgtk.exe to hgtk-hidden.exe and put in that dir a file hgtk.cmd containing @echo off @echo running hgtk from W:\thg-default\hgtk python W:\thg-default\hgtk %* This works fine for calls from the context menu (via ThgShell.dll) and on the command line. Obviusly, I'm using Windows > I did ask a similar question last month, which Steve answered with >= 2.10 > http://n2.nabble.com/thg-dev-Development-environment-td3389128.html Ok. I missed that one. > However, it is not a big issue for me to upgrade. > On the other hand, if we want to support 2.10 then somebody should test > on 2.10 I don't test with 2.10. > The windows installer wiki states that 2.12 is used for building. > http://bitbucket.org/tortoisehg/thg-winbuild/wiki/Home Ok. I confused PyGTK and GTK versions. > I have found no instructions for usage on Unix. > > I suppose debian is the most conservative distribution, and it has 2.12 > as the current supported stable version > http://packages.qa.debian.org/g/gtk+2.0.html > > An overview over debian releases > http://en.wikipedia.org/wiki/Debian > > What should be the policy of TortoiseHg? > > * Current stable PyGtk (2.14) > * Two years of gtk? (2.10, but 2.12 in a week or so) > * Two stable versions of GTK (current is 2.16, so that would be 2.14) > * Two stable versions of PyGTK (2.12) > * Debian stable? (2.12) > * Debian old-stable (2.8) > * Other suggestions? > > A random pick from my side would be Debian stable. Thanks for the research. Declaring to require at least 2.12 for the default branch of TortoiseHg (next mayor release 0.9) would be excellent. If even Debian stable has 2.12, then 2.12 seems like a good choice to me. That's what my patch needs in order to work :) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop