Merge from trunk

This commit is contained in:
Charles Haley 2011-02-11 16:30:30 +00:00
commit 1311f65c49

View File

@ -111,7 +111,10 @@ class Tweaks(QAbstractListModel): # {{{
if role == Qt.ToolTipRole: if role == Qt.ToolTipRole:
tt = _('This tweak has it default value') tt = _('This tweak has it default value')
if tweak.is_customized: if tweak.is_customized:
tt = _('This tweak has been customized') tt = '<p>'+_('This tweak has been customized')
tt += '<pre>'
for varn, val in tweak.custom_values.iteritems():
tt += '%s = %r\n\n'%(varn, val)
return tt return tt
if role == Qt.UserRole: if role == Qt.UserRole:
return tweak return tweak