summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-07-29 10:26:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-07-29 10:26:14 +0200
commit4ba2359ce983ca0ccacd506d5b634aac25a1b116 (patch)
treeb73ca8a1da0c54fc0da13e3e9c3056a148f7bd94 /data
parent28ac706fb0a61adeefa56db22046a3145b11f8da (diff)
add dbus method org.enlightenment.wm.Core.Version
returns VERSION as in config.h call: enlightenment_remote -version
Diffstat (limited to 'data')
-rw-r--r--data/tools/enlightenment_remote11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote
index 45295bbd3..ae0f390f3 100644
--- a/data/tools/enlightenment_remote
+++ b/data/tools/enlightenment_remote
@@ -16,6 +16,7 @@ OPTIONS:
16 --h This help 16 --h This help
17 --help-new Info about this tool 17 --help-new Info about this tool
18 18
19 -version Show Enlightenment Version
19 -restart Restart Enlightenment 20 -restart Restart Enlightenment
20 -exit Exit Enlightenment 21 -exit Exit Enlightenment
21 22
@@ -220,6 +221,13 @@ er_lock(){
220} 221}
221 222
222#------------------------------------------------------------------------------- 223#-------------------------------------------------------------------------------
224# E Version
225#-------------------------------------------------------------------------------
226er_version(){
227 ERGS org.enlightenment.wm.Core.Version
228}
229
230#-------------------------------------------------------------------------------
223# E Restart 231# E Restart
224#------------------------------------------------------------------------------- 232#-------------------------------------------------------------------------------
225er_restart(){ 233er_restart(){
@@ -436,6 +444,9 @@ case "$1" in
436 --help-new) 444 --help-new)
437 show_help_new_tool 445 show_help_new_tool
438 ;; 446 ;;
447 -version)
448 er_version
449 ;;
439 -restart) 450 -restart)
440 er_restart 451 er_restart
441 ;; 452 ;;