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

taskbarui: fix button layout in bottom

Changeset e1ea9cd05e32

Parent 5a1aad3c0092

by Yuki KODAMA

Changes to one file · Browse files at e1ea9cd05e32 Showing diff from parent 5a1aad3c0092 Diff from another changeset...

 
122
123
124
125
126
127
 
 
 
 
 
 
128
129
130
 
 
 
 
 
 
 
131
132
133
134
 
135
136
137
138
139
140
 
141
142
143
 
122
123
124
 
 
 
125
126
127
128
129
130
131
132
 
133
134
135
136
137
138
139
140
141
142
 
143
144
145
146
147
148
 
149
150
151
152
@@ -122,22 +122,31 @@
  accelgroup = gtk.AccelGroup()   self.add_accel_group(accelgroup)   - hbbox = gtk.HButtonBox() - hbbox.set_layout(gtk.BUTTONBOX_END) - vbox.pack_start(hbbox, False, False, 2) + bbox = gtk.HBox() + vbox.pack_start(bbox, False, False, 2) + + lefthbbox = gtk.HButtonBox() + lefthbbox.set_layout(gtk.BUTTONBOX_START) + bbox.pack_start(lefthbbox, False, False)     about.connect('clicked', self.about) - hbbox.pack_end(about, True, True, 0) + lefthbbox.pack_start(about, False, False) + + bbox.pack_start(gtk.Label(''), True, True) + + righthbbox = gtk.HButtonBox() + righthbbox.set_layout(gtk.BUTTONBOX_END) + bbox.pack_start(righthbbox, False, False)     apply.connect('clicked', self.applyclicked)   apply.set_sensitive(False) - hbbox.add(apply) + righthbbox.pack_start(apply, False, False)     close.connect('clicked', lambda x: self.destroy())   key, modifier = gtk.accelerator_parse('Escape')   close.add_accelerator('clicked', accelgroup, key, 0,   gtk.ACCEL_VISIBLE) - hbbox.add(close) + righthbbox.pack_start(close, False, False)     def add_page(self, notebook, tab):   frame = gtk.Frame()