1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From 41523cb5b2f0059269205be907d1de38dfed6e46 Mon Sep 17 00:00:00 2001
From: tioguda <guda.flavio@gmail.com>
Date: Fri, 29 Jun 2018 05:26:18 -0300
Subject: fix
diff --git a/opt/thefanclub/ddutility/ddutility.sh b/opt/thefanclub/ddutility/ddutility.sh
index 67c5ce6..8cdb01c 100755
--- a/opt/thefanclub/ddutility/ddutility.sh
+++ b/opt/thefanclub/ddutility/ddutility.sh
@@ -147,7 +147,7 @@ function getdevdisk () {
while [ $countdev -eq 0 ] ; do
notify-send --icon=$iconfile "$apptitle" "No Volumes Detected"
# Ask for redetect
- zenity --question --title="$apptitle - $action" --text="<big><b>No Volumes Detected</b></big> \n\nInsert a memory card or removable storage and click Retry.\n\nSelect Cancel to Quit" --ok-label=Retry --cancel-label=Cancel
+ zenity --question --title="$apptitle - $action" --text="<big><b>No Volumes Detected</b></big> \n\nInsert a memory card or removable storage and click Retry.\n\nSelect Cancel to Quit" --ok-label=Retry --cancel-label=Cancel --width=400 --height=100
if [ ! $? -eq 0 ] ; then
exit 1
fi
@@ -188,7 +188,7 @@ function getdevdisk () {
# Select Backup or Restore if not in args
if [ ! "$action" ] ; then
- response=$(zenity --question --text "\n<big>Select <b>Backup</b> to create an image file from a memory card or disk.\n\n\nSelect <b>Restore</b> to copy an image file to a memory card or disk.</big>\nSupported formats: img, iso, zip, gzip, xz\n\n\n\nWARNING - Use this program with caution. Data could be lost." --title "$apptitle $version" --ok-label=Restore --cancel-label=Backup )
+ response=$(zenity --question --text "\n<big>Select <b>Backup</b> to create an image file from a memory card or disk.\n\n\nSelect <b>Restore</b> to copy an image file to a memory card or disk.</big>\nSupported formats: img, iso, zip, gzip, xz\n\n\n\nWARNING - Use this program with caution. Data could be lost." --title "$apptitle $version" --ok-label=Restore --cancel-label=Backup --width=400 --height=100 )
if [ $? -eq 0 ] ; then
action="Restore"
@@ -441,7 +441,7 @@ fi
# Display Notifications
notify-send --icon=$iconfile "$apptitle" "$drivesizehuman Volume $action $status"
-zenity --info --title="$apptitle $version" --text="<big><b>$drivesizehuman Volume $action $status</b></big>" --ok-label=Done
+zenity --info --title="$apptitle $version" --text="<big><b>$drivesizehuman Volume $action $status</b></big>" --ok-label=Done --width=400 --height=100
# exit
-exit 0
\ No newline at end of file
+exit 0
|