This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit c74af1d7265aab0ec7053ce2c362608d4994cefe
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Mon Dec 18 16:40:50 2023 +0100
scripts: Remove all use of the eesh -e option
Obsolete, has no (useful) effect.
---
sample-scripts/bouncingball.py | 2 +-
sample-scripts/lcdmover.sh | 4 ++--
sample-scripts/testroller.py | 4 ++--
scripts/e_cache_clean | 2 +-
scripts/e_cache_query | 2 +-
scripts/e_gen_menu | 4 ++--
scripts/e_gen_menu.pl | 8 ++++----
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/sample-scripts/bouncingball.py b/sample-scripts/bouncingball.py
index 1c30c5e0..59262d98 100755
--- a/sample-scripts/bouncingball.py
+++ b/sample-scripts/bouncingball.py
@@ -16,7 +16,7 @@ def EeshExec(cmd):
def EeshCall(cmd):
- sp = subprocess.run(['eesh', '-e'] + cmd.split(), capture_output=True, encoding='utf8')
+ sp = subprocess.run(['eesh'] + cmd.split(), capture_output=True, encoding='utf8')
out = sp.stdout.strip()
# print(f'out = "{out}"')
return out
diff --git a/sample-scripts/lcdmover.sh b/sample-scripts/lcdmover.sh
index f96a2a1d..22ef3a9d 100755
--- a/sample-scripts/lcdmover.sh
+++ b/sample-scripts/lcdmover.sh
@@ -26,10 +26,10 @@
#
# Open dialog 1
-eesh -e dialog_ok '[Dlg1]' 'Move this window'
+eesh dialog_ok '[Dlg1]' 'Move this window'
# Open dialog 2
-eesh -e dialog_ok '[Dlg2]' 'Watch me follow the above window'
+eesh dialog_ok '[Dlg2]' 'Watch me follow the above window'
# In one endless loop, get window position of the first window, then move the
# second one accordingly...
diff --git a/sample-scripts/testroller.py b/sample-scripts/testroller.py
index 1d5b4f66..2c69d492 100755
--- a/sample-scripts/testroller.py
+++ b/sample-scripts/testroller.py
@@ -8,11 +8,11 @@ import subprocess
def EeshExec(cmd):
- subprocess.run(["eesh", cmd])
+ subprocess.run(['eesh', cmd])
def EeshCall(cmd):
- sp = subprocess.run(["eesh", "-e", cmd], capture_output=True, encoding='utf8')
+ sp = subprocess.run(['eesh', cmd], capture_output=True, encoding='utf8')
out = sp.stdout.strip()
# print(f'out = "{out}"')
return out
diff --git a/scripts/e_cache_clean b/scripts/e_cache_clean
index 24998ca2..67d5ac82 100755
--- a/scripts/e_cache_clean
+++ b/scripts/e_cache_clean
@@ -57,4 +57,4 @@ xpager)
esac
rm -rf $ECACHEDIR/cached/$dir/* $ECACHEDIR/cached/$dir/.* >/dev/null 2>&1
-eesh -e dialog_ok "$txt purged."
+eesh dialog_ok "$txt purged."
diff --git a/scripts/e_cache_query b/scripts/e_cache_query
index a71064fa..4cb94f3c 100755
--- a/scripts/e_cache_query
+++ b/scripts/e_cache_query
@@ -57,4 +57,4 @@ xpager)
esac
val=`du -s $ECACHEDIR/cached/$dir | awk '{printf("%s", $1);}'`
-eesh -e dialog_ok "$txt $val Kb of disk space."
+eesh dialog_ok "$txt $val Kb of disk space."
diff --git a/scripts/e_gen_menu b/scripts/e_gen_menu
index 44f7ad35..e0f8b0b5 100755
--- a/scripts/e_gen_menu
+++ b/scripts/e_gen_menu
@@ -343,8 +343,8 @@ def MakeAppsMenu(type):
def EeshCall(cmd):
-# os.system(f'eesh -e "{cmd}" >/dev/null')
- subprocess.run(["eesh", "-e"] + cmd.split(), stdout=subprocess.DEVNULL)
+# os.system(f'eesh "{cmd}" >/dev/null')
+ subprocess.run(['eesh'] + cmd.split(), stdout=subprocess.DEVNULL)
# Close all windows named "Message" (we assume they are E dialogs)
diff --git a/scripts/e_gen_menu.pl b/scripts/e_gen_menu.pl
index c7146fa7..21ab5002 100755
--- a/scripts/e_gen_menu.pl
+++ b/scripts/e_gen_menu.pl
@@ -452,7 +452,7 @@ sub ReadDir {
# Close all windows named "Message" (we assume they are E dialogs)
sub CloseMessageWindows {
- system("eesh -e wop Message* close >/dev/null");
+ system("eesh wop Message* close >/dev/null");
}
@@ -462,7 +462,7 @@ sub CloseMessageWindows {
$N = 0;
CloseMessageWindows();
-system("eesh -e dialog_ok 'Menus are being generated... Please Wait.'");
+system("eesh dialog_ok 'Menus are being generated... Please Wait.'");
# Process old style GNOME directories
ProcessOldStyle("GNOME", "$OldGnomeDirs");
@@ -497,5 +497,5 @@ MakeEppsMenu("epplets.menu");
MakeAppsMenu("apps");
CloseMessageWindows();
-system("eesh -e menus reload");
-system("eesh -e dialog_ok Menu generation complete.");
+system("eesh menus reload");
+system("eesh dialog_ok Menu generation complete.");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.