Added Support for terminal from filemanager
* Now We can open terminal from current directory in filemanager
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
Change-Id: I6df9ee1222c1fa24105da1002abe3c180be2ded1
Signed-off-by: AndroiableDroid <mohd.faraz.abc@gmail.com>
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml
index 010e08e..17977e2 100755
--- a/gui/theme/common/landscape.xml
+++ b/gui/theme/common/landscape.xml
@@ -4123,6 +4123,13 @@
</button>
<button style="main_button_half_width">
+ <condition var1="tw_fm_isfolder" var2="1"/>
+ <placement x="%col2_x_right%" y="%row15a_y%"/>
+ <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
+ <action function="changeterminal">%tw_filename1%</action>
+ </button>
+
+ <button style="main_button_half_width">
<placement x="%col2_x_right%" y="%row11_y%"/>
<text>{@fm_delete_btn=Delete}</text>
<actions>
@@ -4743,6 +4750,7 @@
<actions>
<action function="set">tw_hide_kb=0</action>
<action function="key">home</action>
+ <action function="changeterminal"/>
</actions>
</button>
@@ -4830,6 +4838,7 @@
<actions>
<action function="set">tw_hide_kb=0</action>
<action function="key">home</action>
+ <action function="changeterminal"/>
</actions>
</button>
@@ -4868,6 +4877,7 @@
<actions>
<action function="set">tw_hide_kb=0</action>
<action function="page">advanced</action>
+ <action function="changeterminal"/>
</actions>
</button>
@@ -4963,6 +4973,7 @@
<actions>
<action function="page">main</action>
<action function="set">tw_hide_kb=0</action>
+ <action function="changeterminal"/>
</actions>
</action>
@@ -4971,6 +4982,7 @@
<actions>
<action function="page">advanced</action>
<action function="set">tw_hide_kb=0</action>
+ <action function="changeterminal"/>
</actions>
</action>