Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

settings: minor tweaks

Changeset ecd4fda6bfee

Parent f5d551d7d6ff

by Steve Borho

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

 
25
26
27
28
 
29
30
31
 
45
46
47
48
49
50
51
 
109
110
111
 
112
113
114
 
137
138
139
 
140
141
142
143
144
 
154
155
156
157
 
158
159
160
161
162
 
163
164
165
166
 
167
168
169
 
25
26
27
 
28
29
30
31
 
45
46
47
 
48
49
50
 
108
109
110
111
112
113
114
 
137
138
139
140
141
 
142
143
144
 
154
155
156
 
157
158
159
160
161
 
162
163
164
165
166
167
168
169
170
@@ -25,7 +25,7 @@
 # Technical Debt  # stacked widget or pages need to be scrollable  # add extensions page after THG 1.1 is released -# show icons in listview +# show icons in the page listview    _unspecstr = _('<unspecified>')   @@ -45,7 +45,6 @@
  slist = settings.value('settings/'+opts['cpath']).toStringList()   self.previous = [s for s in slist]   self.setDisabled(opts['readonly']) - self.resetList()     def resetList(self):   self.clear() @@ -109,6 +108,7 @@
  def isDirty(self):   return self.value() != self.curvalue   +  class PasswordEntry(QLineEdit):   def __init__(self, parent=None, **opts):   QLineEdit.__init__(self, parent) @@ -137,8 +137,8 @@
  def isDirty(self):   return self.value() != self.curvalue   +  def genEditCombo(opts, defaults=[]): - # supplied opts keys: cpath, tooltip, descwidget, defaults   opts['canedit'] = True   opts['defaults'] = defaults   return SettingsCombo(**opts) @@ -154,16 +154,17 @@
  return PasswordEntry(**opts)    def genDefaultCombo(opts, defaults=[]): - 'DefaultCombo - user must select from a list' + 'user must select from a list'   opts['defaults'] = defaults   return SettingsCombo(**opts)    def genBoolCombo(opts): - 'BoolCombo - true, false, unspecified' + 'true, false, unspecified'   opts['defaults'] = ['True', 'False']   return SettingsCombo(**opts)    def genDeferredCombo(opts, func): + 'Values retrieved from a function at popup time'   opts['defer'] = func   opts['nohist'] = True   return SettingsCombo(**opts)