aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-21 11:56:02 -0300
committerGitHub <noreply@github.com>2018-09-21 11:56:02 -0300
commit9633a727969717cca93921e15e8d020db0426342 (patch)
tree99a65497a01a22b7e4ee19ba4e4e938853827d79 /data
parentc3ded86231683afed4d80022ad18f5329fdc1e94 (diff)
parent3f18b148224d93c8673ecab0eb93c2ec8ecc5f87 (diff)
Merge pull request #27 from mchehab/video_device_selection0.20.6
Video device selection
Diffstat (limited to 'data')
-rw-r--r--data/camorama-gtk2.ui89
-rw-r--r--data/camorama-gtk3.ui91
-rw-r--r--data/camorama-gtk4.ui81
3 files changed, 258 insertions, 3 deletions
diff --git a/data/camorama-gtk2.ui b/data/camorama-gtk2.ui
index 8a19cbe..41da30f 100644
--- a/data/camorama-gtk2.ui
+++ b/data/camorama-gtk2.ui
@@ -1194,7 +1194,6 @@
<property name="pixbuf">snap-icon-small.xpm</property>
</object>
<object class="GtkWindow" id="main_window">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes">Camorama-libglade</property>
<accel-groups>
@@ -1305,6 +1304,15 @@
</object>
</child>
<child>
+ <object class="GtkMenuItem" id="change_camera">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">_Change Camera</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_change_camera" swapped="no"/>
+ </object>
+ </child>
+ <child>
<object class="GtkSeparatorMenuItem" id="separator1">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1810,4 +1818,83 @@
</object>
</child>
</object>
+ <object class="GtkDialog" id="videodev_window">
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="videodev_vbox4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <object class="GtkButton" id="videodev_ok">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="videodev_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="videodev_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Select a video device to be used</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="videodev_combo">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="0">videodev_ok</action-widget>
+ </action-widgets>
+ </object>
</interface>
diff --git a/data/camorama-gtk3.ui b/data/camorama-gtk3.ui
index 05520e7..927ad1e 100644
--- a/data/camorama-gtk3.ui
+++ b/data/camorama-gtk3.ui
@@ -36,7 +36,6 @@
<property name="pixbuf">snap-icon-small.xpm</property>
</object>
<object class="GtkWindow" id="main_window">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes">Camorama-libglade</property>
<accel-groups>
@@ -145,6 +144,15 @@
</object>
</child>
<child>
+ <object class="GtkMenuItem" id="change_camera">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">_Change Camera</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_change_camera" swapped="no"/>
+ </object>
+ </child>
+ <child>
<object class="GtkSeparatorMenuItem" id="separator1">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1773,4 +1781,85 @@
<placeholder/>
</child>
</object>
+ <object class="GtkDialog" id="videodev_window">
+ <property name="can_focus">False</property>
+ <property name="modal">True</property>
+ <property name="window_position">center</property>
+ <property name="destroy_with_parent">True</property>
+ <property name="type_hint">dialog</property>
+ <property name="transient_for">main_window</property>
+ <child internal-child="vbox">
+ <object class="GtkBox">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox">
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <object class="GtkButton" id="videodev_ok">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Select a video device to be used</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="videodev_combo">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="titlebar">
+ <placeholder/>
+ </child>
+ </object>
</interface>
diff --git a/data/camorama-gtk4.ui b/data/camorama-gtk4.ui
index 7acb03f..79b4b7c 100644
--- a/data/camorama-gtk4.ui
+++ b/data/camorama-gtk4.ui
@@ -24,7 +24,6 @@
<property name="step_increment">1</property>
</object>
<object class="GtkWindow" id="main_window">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes">Camorama-libglade</property>
<accel-groups>
@@ -127,6 +126,15 @@
</object>
</child>
<child>
+ <object class="GtkMenuItem" id="change_camera">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">_Change Camera</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_change_camera" swapped="no"/>
+ </object>
+ </child>
+ <child>
<object class="GtkSeparatorMenuItem" id="separator1">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1565,4 +1573,75 @@
<placeholder/>
</child>
</object>
+ <object class="GtkDialog" id="videodev_window">
+ <property name="can_focus">False</property>
+ <property name="modal">True</property>
+ <property name="window_position">center</property>
+ <property name="destroy_with_parent">True</property>
+ <property name="type_hint">dialog</property>
+ <property name="transient_for">main_window</property>
+ <child internal-child="vbox">
+ <object class="GtkBox">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox">
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <object class="GtkButton" id="videodev_ok">
+ <property name="label">_Ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Select a video device to be used</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="videodev_combo">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="titlebar">
+ <placeholder/>
+ </child>
+ </object>
</interface>

Privacy Policy