On 07.09.2009 09:07, Peer Sommerlund wrote: > > > 2009/9/5 Adrian Buehlmann <adr...@cadifra.com <mailto:adr...@cadifra.com>> > > # HG changeset patch > # User Adrian Buehlmann <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? 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) http://bitbucket.org/tortoisehg/thg-winbuild/src/default/README.txt says ''' Get latest package requirements from: http://bitbucket.org/tortoisehg/stable/wiki/developers/installer ''' which refers to http://bitbucket.org/tortoisehg/thg-winbuild/wiki/Home (another wiki page) which lists in section "TortoiseHg Prerequisites" to use gtk+-bundle_2.16.5-20090731_win32.zip But that is for Windows development only (my primary platform) -- and I imagine that instruction was intended for working on the default branch. I think the version requirements should be documented somewhere, best in a text document inside the source tree of TortoiseHg, such that its contents are versioned and tagged together with the releases and that in the default branch it can be different from the stable branch. ------------------------------------------------------------------------------ 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