# HG changeset patch
# User Simon Heimberg <[email protected]>
# Date 1237377388 -3600
# Node ID aae48ef7fcaac7b359a7cb87e5ebe85cf6ef8923
# Parent f6440a81bf3ee4fa0de61c9b50f96c29cb38d004
commit: frendlier update when entering qnew name
diff -r f6440a81bf3e -r aae48ef7fcaa hggtk/commit.py
--- a/hggtk/commit.py Wed Mar 18 12:55:05 2009 +0100
+++ b/hggtk/commit.py Wed Mar 18 12:56:28 2009 +0100
@@ -516,6 +516,8 @@
if qnew:
self.qnew_name.set_text('')
self.repo.invalidate()
+ _mq = self.repo.mq
+ _mq.__init__(_mq.ui, _mq.basepath, _mq.path)
elif self.qheader is None:
self.text.set_buffer(gtk.TextBuffer())
self._update_recent_messages(self.opts['message'])
@@ -538,7 +540,7 @@
c_btn = self.get_toolbutton('_Commit')
c_btn.set_label(self.mqmode and 'QRefresh' or 'QNew')
c_btn.set_tooltip(self.tooltips, self.mqmode and 'QRefresh' or
'QNew')
- self.reload_status()
+ success, outtext = self._hg_call_wrapper('Status',
self._do_reload_status)
self.qnew_name.grab_focus() # set focus back
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop