scripts: Remove all use of the eesh -e option
Obsolete, has no (useful) effect.
This commit is contained in:
parent
0e8f3ec884
commit
c74af1d726
|
@ -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
|
||||
|
|
|
@ -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...
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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."
|
||||
|
|
|
@ -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."
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue