Rename images from share_ to history_, because they are used in all modes

This commit is contained in:
Micah Lee 2019-09-08 17:27:24 -07:00
parent 41b815f0b3
commit 2219e107c4
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
7 changed files with 6 additions and 6 deletions

View File

@ -636,9 +636,9 @@ class History(QtWidgets.QWidget):
Update the 'completed' widget.
"""
if self.completed_count == 0:
image = self.common.get_resource_path('images/share_completed_none.png')
image = self.common.get_resource_path('images/history_completed_none.png')
else:
image = self.common.get_resource_path('images/share_completed.png')
image = self.common.get_resource_path('images/history_completed.png')
self.completed_label.setText('<img src="{0:s}" /> {1:d}'.format(image, self.completed_count))
self.completed_label.setToolTip(strings._('history_completed_tooltip').format(self.completed_count))
@ -647,9 +647,9 @@ class History(QtWidgets.QWidget):
Update the 'in progress' widget.
"""
if self.in_progress_count == 0:
image = self.common.get_resource_path('images/share_in_progress_none.png')
image = self.common.get_resource_path('images/history_in_progress_none.png')
else:
image = self.common.get_resource_path('images/share_in_progress.png')
image = self.common.get_resource_path('images/history_in_progress.png')
self.in_progress_label.setText('<img src="{0:s}" /> {1:d}'.format(image, self.in_progress_count))
self.in_progress_label.setToolTip(strings._('history_in_progress_tooltip').format(self.in_progress_count))
@ -659,9 +659,9 @@ class History(QtWidgets.QWidget):
Update the 'web requests' widget.
"""
if self.requests_count == 0:
image = self.common.get_resource_path('images/share_requests_none.png')
image = self.common.get_resource_path('images/history_requests_none.png')
else:
image = self.common.get_resource_path('images/share_requests.png')
image = self.common.get_resource_path('images/history_requests.png')
self.requests_label.setText('<img src="{0:s}" /> {1:d}'.format(image, self.in_progress_count))
self.requests_label.setToolTip(strings._('history_requests_tooltip').format(self.in_progress_count))

View File

Before

Width:  |  Height:  |  Size: 646 B

After

Width:  |  Height:  |  Size: 646 B

View File

Before

Width:  |  Height:  |  Size: 437 B

After

Width:  |  Height:  |  Size: 437 B

View File

Before

Width:  |  Height:  |  Size: 638 B

After

Width:  |  Height:  |  Size: 638 B

View File

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 412 B

View File

Before

Width:  |  Height:  |  Size: 738 B

After

Width:  |  Height:  |  Size: 738 B

View File

Before

Width:  |  Height:  |  Size: 754 B

After

Width:  |  Height:  |  Size: 754 B