# HG changeset patch # User Yuki KODAMA <endflow....@gmail.com> # Date 1257144075 -32400 # Branch stable # Node ID b4d739c514adcdb8a4ac83ce873239ae1f2507dd # Parent 8bbb8af3ab908e26984e33d8a565df4909e98477 hginit: fix button orders
diff --git a/tortoisehg/hgtk/hginit.py b/tortoisehg/hgtk/hginit.py --- a/tortoisehg/hgtk/hginit.py +++ b/tortoisehg/hgtk/hginit.py @@ -19,17 +19,17 @@ """ Dialog to initialize a Mercurial repo """ def __init__(self, repos=[]): """ Initialize the Dialog """ - gtk.Dialog.__init__(self, title=_('Create a new repository'), - buttons=(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)) + gtk.Dialog.__init__(self, title=_('Create a new repository')) gtklib.set_tortoise_icon(self, 'menucreaterepos.ico') gtklib.set_tortoise_keys(self) self.set_resizable(False) self.set_has_separator(False) - # add create button + # add buttons createbutton = gtk.Button(_('Create')) createbutton.connect('clicked', lambda b: self.init()) self.action_area.pack_end(createbutton) + self.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE) self.cwd = os.getcwd()
thg-kuy-stable_rev4843.patch
Description: Binary data
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) 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/devconference
_______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop