Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable hginit: fix button orders

Changeset b4d739c514ad

Parent 8bbb8af3ab90

by Yuki KODAMA

Changes to one file · Browse files at b4d739c514ad Showing diff from parent 8bbb8af3ab90 Diff from another changeset...

 
19
20
21
22
23
 
24
25
26
27
28
29
 
30
31
32
 
33
34
35
 
19
20
21
 
 
22
23
24
25
26
27
 
28
29
30
31
32
33
34
35
@@ -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()