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

archive: fix UI layout

use gtk.Entry instead of gtk.ComboBoxEntry.
It was used to ellipsize dest path, but nothing effects now.

Changeset 48e306127df3

Parent 01a8c9ac2760

by Yuki KODAMA

Changes to one file · Browse files at 48e306127df3 Showing diff from parent 01a8c9ac2760 Diff from another changeset...

 
52
53
54
55
 
56
57
58
 
71
72
73
74
75
 
76
77
78
79
80
81
 
82
83
84
85
86
 
87
88
89
90
 
91
92
93
 
52
53
54
 
55
56
57
58
 
71
72
73
 
 
74
75
76
77
78
79
 
80
81
82
83
84
 
85
86
87
88
 
89
90
91
92
@@ -52,7 +52,7 @@
    ## revision combo   self.combo = gtk.combo_box_entry_new_text() - self.combo.child.set_width_chars(24) + self.combo.child.set_width_chars(28)   self.combo.child.connect('activate',   lambda b: self.response(gtk.RESPONSE_OK))   if rev: @@ -71,23 +71,22 @@
  table.add_row(_('Archive revision:'), self.combo)     ## dest combo & browse button - destcombo = gtk.combo_box_entry_new_text() - self.destentry = destcombo.get_child() + self.destentry = gtk.Entry()   self.destentry.set_width_chars(46)     destbrowse = gtk.Button(_('Browse...'))   destbrowse.connect('clicked', self.browse_clicked)   - table.add_row(_('Destination path:'), destcombo, 0, destbrowse) + table.add_row(_('Destination path:'), self.destentry, 0, destbrowse)     ## archive types   self.filesradio = gtk.RadioButton(None, _('Directory of files'))   self.filesradio.connect('toggled', self.type_changed) - table.add_row(_('Archive types:'), self.filesradio) + table.add_row(_('Archive types:'), self.filesradio, ypad=0)   def add_type(label):   radio = gtk.RadioButton(self.filesradio, label)   radio.connect('toggled', self.type_changed) - table.add_row(None, radio) + table.add_row(None, radio, ypad=0)   return radio   self.tarradio = add_type(_('Uncompressed tar archive'))   self.tbz2radio = add_type(_('Tar archive compressed using bzip2'))