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

bookmark: change a label text on rename mode

Changeset fa1c2e91b67f

Parent f9e72325f117

by Yuki KODAMA

Changes to one file · Browse files at fa1c2e91b67f Showing diff from parent f9e72325f117 Diff from another changeset...

 
60
61
62
63
 
 
 
 
 
64
65
66
 
68
69
70
71
 
72
73
74
 
 
75
76
77
 
60
61
62
 
63
64
65
66
67
68
69
70
 
72
73
74
 
75
76
77
 
78
79
80
81
82
@@ -60,7 +60,11 @@
  self._bookmarklistbox = gtk.ComboBoxEntry(self._bookmarkslist, 0)   self._bookmark_input = self._bookmarklistbox.get_child()   self._bookmark_input.set_text(bookmark) - table.add_row(_('Bookmark:'), self._bookmarklistbox, padding=False) + if type == TYPE_RENAME: + label = _('Old name:') + else: + label = _('Bookmark:') + table.add_row(label, self._bookmarklistbox, padding=False)     ## add entry   entry = gtk.Entry() @@ -68,10 +72,11 @@
  self._rev_input = entry   entry.set_width_chars(12)   entry.set_text(rev) - table.add_row(_('Revision:'), entry) + label = _('Revision:')   elif type == TYPE_RENAME:   self._name_input = entry - table.add_row(_('New name:'), entry) + label = _('New Name:') + table.add_row(label, entry, padding=False)     # signal handlers   self.connect('response', self.dialog_response)