logo-change.patch 1.1 KB

1234567891011121314151617181920
  1. --- yadsu 2020-09-20 08:34:41.000000000 -0300
  2. +++ yadsu 2021-10-05 22:51:14.073586000 -0300
  3. @@ -25,7 +25,7 @@
  4. CANCEL="--button=Cancel:1"
  5. ;;
  6. esac
  7. -PASSWD="$(yad --entry --entry-label "$PASS" --hide-text --image=dialog-password --window-icon=distributor-logo-mabox --width=360 --text="$TEXT" --title="$TITLE" --center $CANCEL $OK)"
  8. +PASSWD="$(yad --entry --entry-label "$PASS" --hide-text --image=dialog-password --window-icon=/usr/share/void-artwork/void-transparent.png --width=360 --text="$TEXT" --title="$TITLE" --center $CANCEL $OK)"
  9. if [ "$dialog_pressed_label" = 'cancel' ]; then
  10. @@ -40,6 +40,6 @@
  11. fi
  12. if [ $? = 1 ]; then
  13. -PASSWD="$(yad --entry --entry-label "$PASS" --hide-text --image=dialog-error --window-icon=distributor-logo-mabox --width=360 --text="$WRONG" --title="$TITLE" --center $CANCEL $OK)"
  14. +PASSWD="$(yad --entry --entry-label "$PASS" --hide-text --image=dialog-error --window-icon=/usr/share/void-artwork/void-transparent.png --width=360 --text="$WRONG" --title="$TITLE" --center $CANCEL $OK)"
  15. echo "$PASSWD" | sudo -S "$@"
  16. fi