gui/menubar.xml: support greying-out of video-start/stop menu items.
Added enabled tags to video-start and video-stop. These are set to true/false by C++ code depending on whether we are encoding to video or not. [There doesn't seem to be a way of doing this directly in xml - expressions are not supported in menu items?]
This commit is contained in:
parent
e34ca35910
commit
96ad1dc1f9
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<name>video-start</name>
|
<name>video-start</name>
|
||||||
|
<enabled>true</enabled>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
|
@ -60,6 +61,7 @@
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<name>video-stop</name>
|
<name>video-stop</name>
|
||||||
|
<enabled>false</enabled>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in a new issue