Changeset 6281219c3602…
Parent c22cba4fb2df…
by
Changes to 6 files · Browse files at 6281219c3602 Showing diff from parent c22cba4fb2df Diff from another changeset...
renamed from tortoisehg/hgqt/icons/error.svg
|
||
---|---|---|
renamed from tortoisehg/hgqt/icons/success.svg
|
||
---|---|---|
renamed from tortoisehg/hgqt/icons/warning.svg
|
||
---|---|---|
@@ -520,7 +520,7 @@ self.groups.set_visible(parents == 2, 'merged')
self.groups.set_visible(parents == 1, 'dirty')
self.wd_status.set_status(_('<b>Uncommitted local changes '
- 'are detected</b>'), 'warning')
+ 'are detected</b>'), 'thg-warning')
else:
self.groups.set_visible(False, 'dirty')
self.groups.set_visible(False, 'merged')
|
@@ -263,6 +263,7 @@ # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
_SCALABLE_ICON_PATHS = [(QSize(), 'scalable/actions', '.svg'),
(QSize(), 'scalable/apps', '.svg'),
+ (QSize(), 'scalable/status', '.svg'),
(QSize(22, 22), '22x22/actions', '.png'),
(QSize(24, 24), '24x24/actions', '.png')]
@@ -541,7 +542,7 @@ self.clear_icon()
else:
if isinstance(icon, bool):
- icon = geticon(icon and 'success' or 'error')
+ icon = geticon(icon and 'thg-success' or 'thg-error')
elif isinstance(icon, basestring):
icon = geticon(icon)
elif not isinstance(icon, QIcon):
|
@@ -63,11 +63,11 @@ bvbox = QVBoxLayout()
bvbox.setContentsMargins(2, 2, 2, 2)
self.resolved = tb = QToolButton()
- tb.setIcon(qtlib.geticon('success'))
+ tb.setIcon(qtlib.geticon('thg-success'))
tb.setToolTip(_('Mark this chunk as resolved, goto next unresolved'))
tb.pressed.connect(self.resolveCurrentChunk)
self.unresolved = tb = QToolButton()
- tb.setIcon(qtlib.geticon('warning'))
+ tb.setIcon(qtlib.geticon('thg-warning'))
tb.setToolTip(_('Mark this chunk as unresolved'))
tb.pressed.connect(self.unresolveCurrentChunk)
bvbox.addStretch(1)
|
Loading...