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: rename widget names of 'other parent'

Changeset 8d0c31ee98df

Parent 56bfa506655e

by Yuki KODAMA

Changes to one file · Browse files at 8d0c31ee98df Showing diff from parent 56bfa506655e Diff from another changeset...

 
77
78
79
80
 
81
82
83
 
86
87
88
89
90
91
 
 
92
93
94
95
96
 
97
98
99
100
101
102
103
 
 
104
105
106
107
 
108
109
110
 
584
585
586
587
588
 
 
589
590
591
592
593
 
594
595
596
 
77
78
79
 
80
81
82
83
 
86
87
88
 
 
 
89
90
91
92
93
94
 
95
96
97
98
99
100
 
 
101
102
103
104
105
 
106
107
108
109
 
583
584
585
 
 
586
587
588
589
590
591
 
592
593
594
595
@@ -77,7 +77,7 @@
  self.summarybox.hide()     def diff_other_parent(self): - return self.other_parent_checkbutton.get_active() + return self.parent_button.get_active()     def load_details(self, rev):   'Load selected changeset details into buffer and filelist' @@ -86,25 +86,24 @@
  if not ctx:   return   - if not self.other_parent_checkbutton.parent: - self.other_parent_box.pack_start( - self.other_parent_checkbutton, False, False) + if not self.parent_button.parent: + self.parent_box.pack_start(self.parent_button, False, False)     parents = ctx.parents()   title = self.get_title()   if len(parents) == 2: - self.other_parent_box.show_all() + self.parent_box.show_all()   if self.diff_other_parent():   title += ':' + str(parents[1].rev())   else:   title += ':' + str(parents[0].rev())   else: - self.other_parent_box.hide_all() - if self.other_parent_checkbutton.get_active(): + self.parent_box.hide_all() + if self.parent_button.get_active():   # Parent button must be pushed out, but this   # will cause load_details to be called again   # so we exit out to prevent recursion. - self.other_parent_checkbutton.set_active(False) + self.parent_button.set_active(False)   return     if self.clipboard: @@ -584,13 +583,13 @@
  flbox.pack_start(scroller)   list_frame.add(flbox)   - self.other_parent_box = gtk.HBox() - flbox.pack_start(self.other_parent_box, False, False) + self.parent_box = gtk.HBox() + flbox.pack_start(self.parent_box, False, False)     btn = gtk.CheckButton(_('Diff to second Parent'))   btn.connect('toggled', self.parent_toggled)   # don't pack btn yet to keep it initially invisible - self.other_parent_checkbutton = btn + self.parent_button = btn     self._hpaned = gtk.HPaned()   self._hpaned.pack1(list_frame, True, True)