Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

quickop: improve UI layout

Changeset f9c5431f477c

Parent 9759d50bf517

by Yuki KODAMA

Changes to one file · Browse files at f9c5431f477c Showing diff from parent 9759d50bf517 Diff from another changeset...

 
57
58
59
 
 
 
 
 
 
60
61
62
 
63
64
65
 
105
106
107
 
108
109
 
110
111
112
 
114
115
116
117
 
118
119
120
 
187
188
189
190
 
191
192
193
 
230
231
232
233
234
 
235
236
237
 
57
58
59
60
61
62
63
64
65
66
67
 
68
69
70
71
 
111
112
113
114
115
 
116
117
118
119
 
121
122
123
 
124
125
126
127
 
194
195
196
 
197
198
199
200
 
237
238
239
 
 
240
241
242
243
@@ -57,9 +57,15 @@
  self.gobutton = self.add_button(labels[command][1], gtk.RESPONSE_OK)   self.closebtn = self.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_CLOSE)   + # wrap box + wrapbox = gtk.VBox() + wrapbox.set_border_width(5) + self.vbox.pack_start(wrapbox, True, True) + self.wrapbox = wrapbox +   lbl = gtk.Label(labels[command][0])   lbl.set_alignment(0, 0) - self.vbox.pack_start(lbl, False, False, 8) + wrapbox.pack_start(lbl, False, False)     def keypressed(tree, event):   'Make spacebar toggle selected rows' @@ -105,8 +111,9 @@
    scroller = gtk.ScrolledWindow()   scroller.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) + scroller.set_shadow_type(gtk.SHADOW_ETCHED_IN)   scroller.add(self.filetree) - self.vbox.pack_start(scroller, True, True, 8) + wrapbox.pack_start(scroller, True, True, 6)     def toggleall(button):   for row in self.filetree.get_model(): @@ -114,7 +121,7 @@
    # extra box   self.extrabox = hbox = gtk.HBox() - self.vbox.pack_start(hbox, False, False, 2) + wrapbox.pack_start(hbox, False, False)     ## toggle button   tb = gtk.Button(_('Toggle all selections')) @@ -187,7 +194,7 @@
  self.cmd = hgcmd.CmdWidget()   self.cmd.show_all()   self.cmd.hide() - self.vbox.pack_start(self.cmd, False, False, 6) + self.wrapbox.pack_start(self.cmd, False, False, 8)     # abort button   self.abortbtn = self.add_button(_('Abort'), gtk.RESPONSE_CANCEL) @@ -230,8 +237,7 @@
  raise _('unknown mode name: %s') % mode   working = not normal   - self.filetree.set_sensitive(normal) - self.extrabox.set_sensitive(normal) + self.wrapbox.set_sensitive(normal)   self.gobutton.set_property('visible', normal)   self.closebtn.set_property('visible', normal)   if cmd: