[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm f495f08ce5 2/3: Fix svg prog bar with info is empty s
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm f495f08ce5 2/3: Fix svg prog bar with info is empty string |
Date: |
Wed, 1 May 2024 04:00:24 -0400 (EDT) |
branch: elpa/helm
commit f495f08ce54c9a5cc33e14feb73d18c883f6879f
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix svg prog bar with info is empty string
---
helm-files.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index b721304e56..4e9906a1b1 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1402,8 +1402,10 @@ ACTION can be `rsync' or any action supported by
`helm-dired-action'."
(/ (+ percent 7) 105.0)
'helm-ff-rsync-progress-svg
:width 10 :margin 1 :stroke 2 :padding 2))
- (propertize " " 'display (svg-lib-tag
- info 'helm-ff-rsync-progress-svg))))
+ (if (string= info "")
+ ""
+ (propertize " " 'display (svg-lib-tag
+ info 'helm-ff-rsync-progress-svg)))))
(defun helm-rsync-mode-line (proc)
"Add Rsync progress to the mode line."