# HG changeset patch # User Adrian Buehlmann <adr...@cadifra.com> # Date 1253387968 -7200 # Node ID ed045400e5a7534d1aa9d6b8c27f31cbf857dbde # Parent c0210d231ecc41344e324b62926bb0eaedea4771 commit: override get_preview_tab_name from base class
diff --git a/tortoisehg/hgtk/commit.py b/tortoisehg/hgtk/commit.py --- a/tortoisehg/hgtk/commit.py +++ b/tortoisehg/hgtk/commit.py @@ -371,6 +371,13 @@ class GCommit(GStatus): gobject.idle_add(self.realize_settings) return self.vpaned + def get_preview_tab_name(self): + if self.qnew or self.mqmode: + res = _('Patch Preview') + else: + res = _('Commit Preview') + return res + ### End of overridable methods ### ------------------------------------------------------------------------------ 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