Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

init: fix the way to layout widgets

Also good for i18n.

Changeset 6c3f06efe234

Parent a3e7a7d8d9fb

by Yuki KODAMA

Changes to one file · Browse files at 6c3f06efe234 Showing diff from parent a3e7a7d8d9fb Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hginit.py Stacked
 
41
42
43
44
 
45
46
47
48
 
 
 
49
50
 
51
52
53
54
55
56
 
57
58
59
60
61
 
41
42
43
 
44
45
 
 
 
46
47
48
49
50
51
52
53
54
 
 
55
56
57
 
58
59
60
@@ -41,21 +41,20 @@
  vbox = gtk.VBox()   self.add(vbox)   - # clone source + # init destination   srcbox = gtk.HBox() - lbl = gtk.Label(_(' Destination :')) - lbl.set_property('width-chars', 12) - lbl.set_alignment(0, 0.5) + lbl = gtk.Label(_('Destination:')) + srcbox.pack_start(lbl, False, False, 2) +   self._dest_input = gtk.Entry()   self._dest_input.set_text(hglib.toutf(self._dest_path)) + srcbox.pack_start(self._dest_input, True, True)     self._btn_dest_browse = gtk.Button("...")   self._btn_dest_browse.connect('clicked', self._btn_dest_clicked) - srcbox.pack_start(lbl, False, False) - srcbox.pack_start(self._dest_input, True, True)   srcbox.pack_end(self._btn_dest_browse, False, False, 5) +   vbox.pack_start(srcbox, False, False, 2) -   self._dest_input.grab_focus()   self._dest_input.set_position(-1)