On Thu, Sep 17, 2009 at 8:25 AM, Boris Glimcher <glim...@gmail.com> wrote: > I've found the problem: > should add to system PATH : C:\Program Files\TortoiseHg\gtk > can this be added to tortoise installer ?
Our hgtk script does this at startup, so as to avoid polluting the system path with GTK libraries since they are notoriously _unrevisioned_. I think you can safely copy lines 12-16 from hgtk to your extension in order to work inside our binary installer. This patch fixes the gtk and hgtk module imports. With this applied I can run 'hg cr' on Linux and use the email dialog. diff --git a/hgcr-gui.py b/hgcr-gui.py --- a/hgcr-gui.py +++ b/hgcr-gui.py @@ -67,13 +67,15 @@ import os import re import sys -import os.path +import tempfile +from mercurial import demandimport +demandimport.disable() +from tortoisehg.hgtk import hgtk +import gtk +demandimport.enable() import gobject -import gtk import pango -import tempfile -import os.path from mercurial import ui, util, cmdutil, node, hg from tortoisehg.util.i18n import _ -- Steve Borho ------------------------------------------------------------------------------ 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