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 changeset: remove unused csinfo widget

csinfo supports both changeset and patch with same interface.

Changeset 5df130f64aa0

Parent 89042612b613

by Yuki KODAMA

Changes to one file · Browse files at 5df130f64aa0 Showing diff from parent 89042612b613 Diff from another changeset...

 
214
215
216
217
218
219
 
220
221
 
222
223
224
225
226
227
 
228
229
 
230
231
232
 
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
 
 
 
 
 
 
 
 
518
519
520
 
214
215
216
 
 
 
217
218
 
219
220
221
222
 
 
 
223
224
 
225
226
227
228
 
499
500
501
 
 
 
 
 
 
 
 
 
 
 
 
502
503
504
505
506
507
508
509
510
511
512
@@ -214,19 +214,15 @@
  self.append_all_patch_diffs()     def generate_change_header(self): - self.csetinfo.update(self.currev) - self.csetinfo.show_all() - self.patchinfo.hide() + self.summarypanel.update(self.currev, self.csetstyle)   - desc = self.csetinfo.get_data('desc') + desc = self.summarypanel.get_data('desc')   self.set_commitlog(desc)     def generate_patch_header(self): - self.patchinfo.update(self.curpatch) - self.patchinfo.show_all() - self.csetinfo.hide() + self.summarypanel.update(self.curpatch, self.patchstyle)   - desc = self.patchinfo.get_data('desc') + desc = self.summarypanel.get_data('desc')   self.set_commitlog(desc)     def set_commitlog(self, desc): @@ -503,18 +499,14 @@
    custom = csinfo.custom(data=data_func, label=label_func,   markup=markup_func) - args = dict(repo=self.repo, custom=custom) - - csetstyle = csinfo.panelstyle(contents=('cset', 'branch', 'user', - 'dateage', 'parents', 'children', 'tags', - 'transplant'), selectable=True) - self.csetinfo = csinfo.create(style=csetstyle, **args) - details_box.pack_start(self.csetinfo, False, False) - - patchstyle = csinfo.panelstyle(contents=('patch', 'branch', 'user', - 'dateage', 'parents'), selectable=True) - self.patchinfo = csinfo.create(style=patchstyle, **args) - details_box.pack_start(self.patchinfo, False, False) + self.csetstyle = csinfo.panelstyle(contents=('cset', 'branch', + 'user', 'dateage', 'parents', 'children', + 'tags', 'transplant'), selectable=True) + self.patchstyle = csinfo.panelstyle(contents=('patch', 'branch', + 'user', 'dateage', 'parents'), + selectable=True) + self.summarypanel = csinfo.create(self.repo, custom=custom) + details_box.pack_start(self.summarypanel, False, False)   details_box.pack_start(gtk.HSeparator(), False, False)     ## changeset diff