diff options
author | Micah Lee <micah@micahflee.com> | 2019-09-08 17:27:24 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-09-08 17:27:24 -0700 |
commit | 2219e107c425ce9c28024cde903e1c6afd7286c1 (patch) | |
tree | e9d5729036431f919e84e1ca152f34a1c9d77f91 | |
parent | 41b815f0b3799303d44d32741887f23c66b51452 (diff) | |
download | onionshare-2219e107c425ce9c28024cde903e1c6afd7286c1.tar.gz onionshare-2219e107c425ce9c28024cde903e1c6afd7286c1.zip |
Rename images from share_ to history_, because they are used in all modes
-rw-r--r-- | onionshare_gui/mode/history.py | 12 | ||||
-rw-r--r-- | share/images/history_completed.png (renamed from share/images/share_completed.png) | bin | 646 -> 646 bytes | |||
-rw-r--r-- | share/images/history_completed_none.png (renamed from share/images/share_completed_none.png) | bin | 437 -> 437 bytes | |||
-rw-r--r-- | share/images/history_in_progress.png (renamed from share/images/share_in_progress.png) | bin | 638 -> 638 bytes | |||
-rw-r--r-- | share/images/history_in_progress_none.png (renamed from share/images/share_in_progress_none.png) | bin | 412 -> 412 bytes | |||
-rw-r--r-- | share/images/history_requests.png (renamed from share/images/share_requests.png) | bin | 738 -> 738 bytes | |||
-rw-r--r-- | share/images/history_requests_none.png (renamed from share/images/share_requests_none.png) | bin | 754 -> 754 bytes |
7 files changed, 6 insertions, 6 deletions
diff --git a/onionshare_gui/mode/history.py b/onionshare_gui/mode/history.py index 650e57be..568bda7b 100644 --- a/onionshare_gui/mode/history.py +++ b/onionshare_gui/mode/history.py @@ -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)) diff --git a/share/images/share_completed.png b/share/images/history_completed.png Binary files differindex e68fe5a2..e68fe5a2 100644 --- a/share/images/share_completed.png +++ b/share/images/history_completed.png diff --git a/share/images/share_completed_none.png b/share/images/history_completed_none.png Binary files differindex 8dbd6939..8dbd6939 100644 --- a/share/images/share_completed_none.png +++ b/share/images/history_completed_none.png diff --git a/share/images/share_in_progress.png b/share/images/history_in_progress.png Binary files differindex 19694659..19694659 100644 --- a/share/images/share_in_progress.png +++ b/share/images/history_in_progress.png diff --git a/share/images/share_in_progress_none.png b/share/images/history_in_progress_none.png Binary files differindex 2d61dba4..2d61dba4 100644 --- a/share/images/share_in_progress_none.png +++ b/share/images/history_in_progress_none.png diff --git a/share/images/share_requests.png b/share/images/history_requests.png Binary files differindex 4965744d..4965744d 100644 --- a/share/images/share_requests.png +++ b/share/images/history_requests.png diff --git a/share/images/share_requests_none.png b/share/images/history_requests_none.png Binary files differindex 93a71ef3..93a71ef3 100644 --- a/share/images/share_requests_none.png +++ b/share/images/history_requests_none.png |