aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-25 01:22:55 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-28 00:33:44 +0800
commit21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f (patch)
tree5a46e0dbef7484f2831b8f847720571dd7ca9432
parent46d8c4965781a2327c6f6206b233f6d72f88b8bb (diff)
downloadgsoc2013-empathy-21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f.tar
gsoc2013-empathy-21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f.tar.gz
gsoc2013-empathy-21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f.tar.bz2
gsoc2013-empathy-21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f.tar.lz
gsoc2013-empathy-21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f.tar.xz
gsoc2013-empathy-21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f.tar.zst
gsoc2013-empathy-21c54ffdc6d8ff5c47a7a7768aca6bc213075f7f.zip
add video menu containing radio actions to control video
-rw-r--r--src/empathy-call-window.ui41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/empathy-call-window.ui b/src/empathy-call-window.ui
index ad3561ea3..59c148229 100644
--- a/src/empathy-call-window.ui
+++ b/src/empathy-call-window.ui
@@ -26,6 +26,42 @@
</object>
</child>
<child>
+ <object class="GtkAction" id="camera">
+ <property name="name">camera</property>
+ <property name="label" translatable="yes">V_ideo</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkRadioAction" id="action_camera_off">
+ <property name="name">action_camera_off</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Video Off</property>
+ <property name="draw_as_radio">True</property>
+ <property name="value">0</property>
+ <property name="current-value">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkRadioAction" id="action_camera_preview">
+ <property name="name">action_camera_preview</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Video Preview</property>
+ <property name="draw_as_radio">True</property>
+ <property name="group">action_camera_off</property>
+ <property name="value">1</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkRadioAction" id="action_camera_on">
+ <property name="name">action_camera_on</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Video On</property>
+ <property name="draw_as_radio">True</property>
+ <property name="group">action_camera_off</property>
+ <property name="value">2</property>
+ </object>
+ </child>
+ <child>
<object class="GtkAction" id="view">
<property name="name">view</property>
<property name="label" translatable="yes">_View</property>
@@ -46,6 +82,11 @@
<menuitem action="menuhangup"/>
<menuitem action="menuredial"/>
</menu>
+ <menu action="camera">
+ <menuitem action="action_camera_off"/>
+ <menuitem action="action_camera_preview"/>
+ <menuitem action="action_camera_on"/>
+ </menu>
<menu action="view">
<menuitem action="menufullscreen"/>
</menu>