Commit 6289ccbb authored by Jean-Paul Saman's avatar Jean-Paul Saman

PDA inteface:

* Redesigned "Camera" tabpage.
parent efaf688c
...@@ -841,142 +841,775 @@ ...@@ -841,142 +841,775 @@
<property name="spacing">0</property> <property name="spacing">0</property>
<child> <child>
<widget class="GtkTable" id="table"> <widget class="GtkScrolledWindow" id="scrolledV4Lwindow">
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">3</property> <property name="can_focus">True</property>
<property name="n_columns">2</property> <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
<property name="homogeneous">False</property> <property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="row_spacing">0</property> <property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="column_spacing">0</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkViewport" id="viewportV4L">
<property name="visible">True</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="GtkTable" id="tableV4L">
<property name="visible">True</property>
<property name="n_rows">12</property>
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">0</property>
<property name="column_spacing">0</property>
<child>
<widget class="GtkLabel" id="labelV4lVideDevice">
<property name="visible">True</property>
<property name="label" translatable="yes">Video:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LAudioDevice">
<property name="visible">True</property>
<property name="label" translatable="yes">Audio:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCombo" id="comboV4lVideoDevice">
<property name="visible">True</property>
<property name="value_in_list">True</property>
<property name="allow_empty">True</property>
<property name="case_sensitive">False</property>
<property name="enable_arrow_keys">True</property>
<property name="enable_arrows_always">False</property>
<child internal-child="entry">
<widget class="GtkEntry" id="entryV4LVideoDevice">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes">/dev/video</property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">True</property>
</widget>
</child>
<child internal-child="list">
<widget class="GtkList" id="listV4LVideoDevice">
<property name="visible">True</property>
<property name="selection_mode">GTK_SELECTION_BROWSE</property>
<child>
<widget class="GtkListItem" id="listitem1188">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">/dev/video</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1189">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">/dev/video0</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1190">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">/dev/video1</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCombo" id="comboV4lAudioDevice">
<property name="visible">True</property>
<property name="value_in_list">False</property>
<property name="allow_empty">True</property>
<property name="case_sensitive">False</property>
<property name="enable_arrow_keys">True</property>
<property name="enable_arrows_always">False</property>
<child internal-child="entry">
<widget class="GtkEntry" id="entryV4LAudioDevice">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes">/dev/dsp</property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">True</property>
</widget>
</child>
<child internal-child="list">
<widget class="GtkList" id="listV4LAudioDevice">
<property name="visible">True</property>
<property name="selection_mode">GTK_SELECTION_BROWSE</property>
<child>
<widget class="GtkListItem" id="listitem1256">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">/dev/dsp</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1257">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">/dev/audio</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1258">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">/dev/audio0</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1259">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">/dev/audio1</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LChannel">
<property name="visible">True</property>
<property name="label" translatable="yes">Channel:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="entryV4LChannel">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 100 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LNorm">
<property name="visible">True</property>
<property name="label" translatable="yes">Norm:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCombo" id="comboV4LNorm">
<property name="visible">True</property>
<property name="value_in_list">False</property>
<property name="allow_empty">True</property>
<property name="case_sensitive">False</property>
<property name="enable_arrow_keys">True</property>
<property name="enable_arrows_always">False</property>
<child internal-child="entry">
<widget class="GtkEntry" id="entryV4LNorm">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes">pal</property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">True</property>
</widget>
</child>
<child internal-child="list">
<widget class="GtkList" id="listV4LNorm">
<property name="visible">True</property>
<property name="selection_mode">GTK_SELECTION_BROWSE</property>
<child>
<widget class="GtkListItem" id="listitem1286">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">pal</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1287">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">ntsc</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1288">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">secam</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1289">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">auto</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LSize">
<property name="visible">True</property>
<property name="label" translatable="yes">Size:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCombo" id="comboV4LSize">
<property name="visible">True</property>
<property name="value_in_list">False</property>
<property name="allow_empty">True</property>
<property name="case_sensitive">False</property>
<property name="enable_arrow_keys">True</property>
<property name="enable_arrows_always">False</property>
<child internal-child="entry">
<widget class="GtkEntry" id="entryV4LSize">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes">240x192</property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">True</property>
</widget>
</child>
<child internal-child="list">
<widget class="GtkList" id="listV4LSize">
<property name="visible">True</property>
<property name="selection_mode">GTK_SELECTION_BROWSE</property>
<child>
<widget class="GtkListItem" id="listitem1471">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">240x192</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1472">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">320x240</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1473">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">qsif</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1474">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">qcif</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1475">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">sif</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1476">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">cif</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1477">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">vga</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LFrequency">
<property name="visible">True</property>
<property name="label" translatable="yes">Frequency:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="entryV4LFrequency">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">8692 0 65535 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LSampleRate">
<property name="visible">True</property>
<property name="label" translatable="yes">Samplerate:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="entryV4LSampleRate">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">44100 0 65535 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LQuality">
<property name="visible">True</property>
<property name="label" translatable="yes">Quality:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">7</property>
<property name="bottom_attach">8</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkLabel" id="labelV4LAudio"> <widget class="GtkSpinButton" id="entryV4LQuality">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Audio:</property> <property name="can_focus">True</property>
<property name="use_underline">False</property> <property name="climb_rate">1</property>
<property name="use_markup">False</property> <property name="digits">0</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="numeric">True</property>
<property name="wrap">False</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="selectable">False</property> <property name="snap_to_ticks">False</property>
<property name="xalign">0</property> <property name="wrap">False</property>
<property name="yalign">0.5</property> <property name="adjustment">100 0 65535 1 10 10</property>
<property name="xpad">0</property> </widget>
<property name="ypad">0</property> <packing>
</widget> <property name="left_attach">1</property>
<packing> <property name="right_attach">2</property>
<property name="left_attach">0</property> <property name="top_attach">7</property>
<property name="right_attach">1</property> <property name="bottom_attach">8</property>
<property name="top_attach">0</property> <property name="y_options"></property>
<property name="bottom_attach">1</property> </packing>
<property name="x_options">fill</property> </child>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkLabel" id="labelV4LVideo"> <widget class="GtkLabel" id="labelV4lDecimation">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Video:</property> <property name="label" translatable="yes">Decimation:</property>
<property name="use_underline">False</property> <property name="use_underline">False</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property> <property name="wrap">False</property>
<property name="selectable">False</property> <property name="selectable">False</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="right_attach">1</property> <property name="right_attach">1</property>
<property name="top_attach">1</property> <property name="top_attach">8</property>
<property name="bottom_attach">2</property> <property name="bottom_attach">9</property>
<property name="x_options">fill</property> <property name="x_options">fill</property>
<property name="y_options"></property> <property name="y_options"></property>
</packing> </packing>
</child> </child>
<child> <child>
<widget class="GtkCombo" id="comboV4LAudio"> <widget class="GtkSpinButton" id="entryV4LDecimation">
<property name="visible">True</property> <property name="visible">True</property>
<property name="value_in_list">False</property> <property name="can_focus">True</property>
<property name="allow_empty">True</property> <property name="climb_rate">1</property>
<property name="case_sensitive">False</property> <property name="digits">0</property>
<property name="enable_arrow_keys">True</property> <property name="numeric">True</property>
<property name="enable_arrows_always">False</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">1 0 65535 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">8</property>
<property name="bottom_attach">9</property>
<property name="y_options"></property>
</packing>
</child>
<child internal-child="entry"> <child>
<widget class="GtkEntry" id="entryV4LAudio"> <widget class="GtkLabel" id="labelV4LTuner">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="label" translatable="yes">Tuner:</property>
<property name="editable">True</property> <property name="use_underline">False</property>
<property name="visibility">True</property> <property name="use_markup">False</property>
<property name="max_length">0</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="text" translatable="yes">/dev/dsp</property> <property name="wrap">False</property>
<property name="has_frame">True</property> <property name="selectable">False</property>
<property name="invisible_char" translatable="yes">*</property> <property name="xalign">0</property>
<property name="activates_default">True</property> <property name="yalign">0.5</property>
<signal name="changed" handler="onV4LAudioChanged" last_modification_time="Fri, 26 Sep 2003 12:41:52 GMT"/> <property name="xpad">0</property>
<signal name="editing_done" handler="onEntryV4LAudioEditingDone" last_modification_time="Fri, 26 Sep 2003 13:33:59 GMT"/> <property name="ypad">0</property>
</widget> </widget>
</child> <packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">9</property>
<property name="bottom_attach">10</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child internal-child="list"> <child>
<widget class="GtkList" id="listV4LAudio"> <widget class="GtkSpinButton" id="entryV4LTuner">
<property name="visible">True</property> <property name="visible">True</property>
<property name="selection_mode">GTK_SELECTION_BROWSE</property> <property name="can_focus">True</property>
</widget> <property name="climb_rate">1</property>
</child> <property name="digits">0</property>
</widget> <property name="numeric">True</property>
<packing> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="left_attach">1</property> <property name="snap_to_ticks">False</property>
<property name="right_attach">2</property> <property name="wrap">False</property>
<property name="top_attach">0</property> <property name="adjustment">0 -1 100 1 10 10</property>
<property name="bottom_attach">1</property> </widget>
<property name="y_options"></property> <packing>
</packing> <property name="left_attach">1</property>
</child> <property name="right_attach">2</property>
<property name="top_attach">9</property>
<property name="bottom_attach">10</property>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkCombo" id="comboV4LVideo"> <widget class="GtkCombo" id="comboV4LSoundDirection">
<property name="visible">True</property> <property name="visible">True</property>
<property name="value_in_list">False</property> <property name="value_in_list">True</property>
<property name="allow_empty">True</property> <property name="allow_empty">True</property>
<property name="case_sensitive">False</property> <property name="case_sensitive">False</property>
<property name="enable_arrow_keys">True</property> <property name="enable_arrow_keys">True</property>
<property name="enable_arrows_always">False</property> <property name="enable_arrows_always">True</property>
<child internal-child="entry"> <child internal-child="entry">
<widget class="GtkEntry" id="entryV4LVideo"> <widget class="GtkEntry" id="entryV4LSoundDirection">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="editable">True</property> <property name="editable">True</property>
<property name="visibility">True</property> <property name="visibility">True</property>
<property name="max_length">0</property> <property name="max_length">0</property>
<property name="text" translatable="yes">/dev/video</property> <property name="text" translatable="yes">Mono</property>
<property name="has_frame">True</property> <property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property> <property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">True</property> <property name="activates_default">True</property>
<signal name="changed" handler="onV4LVideoChanged" last_modification_time="Fri, 26 Sep 2003 12:41:38 GMT"/> </widget>
<signal name="editing_done" handler="onEntryV4LVideoEditingDone" last_modification_time="Fri, 26 Sep 2003 13:34:23 GMT"/> </child>
</widget>
</child>
<child internal-child="list"> <child internal-child="list">
<widget class="GtkList" id="listV4LVideo"> <widget class="GtkList" id="listV4LSoundDirection">
<property name="visible">True</property> <property name="visible">True</property>
<property name="selection_mode">GTK_SELECTION_BROWSE</property> <property name="selection_mode">GTK_SELECTION_BROWSE</property>
<child>
<widget class="GtkListItem" id="listitem1483">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Mono</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem1484">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Stereo</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">10</property>
<property name="bottom_attach">11</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="labelV4LSound">
<property name="visible">True</property>
<property name="label" translatable="yes">Sound:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">10</property>
<property name="bottom_attach">11</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget> </widget>
</child> </child>
</widget> </widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child> </child>
</widget> </widget>
<packing> <packing>
...@@ -1030,9 +1663,9 @@ ...@@ -1030,9 +1663,9 @@
</child> </child>
<child> <child>
<widget class="GtkLabel" id="Server"> <widget class="GtkLabel" id="Camera">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Server</property> <property name="label" translatable="yes">Camera</property>
<property name="use_underline">False</property> <property name="use_underline">False</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
...@@ -1601,9 +2234,9 @@ ...@@ -1601,9 +2234,9 @@
</child> </child>
<child> <child>
<widget class="GtkLabel" id="Camera"> <widget class="GtkLabel" id="Transcode">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Camera</property> <property name="label" translatable="yes">Transcode</property>
<property name="use_underline">False</property> <property name="use_underline">False</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property> <property name="justify">GTK_JUSTIFY_CENTER</property>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pda_callbacks.c : Callbacks for the pda Linux Gtk+ plugin. * pda_callbacks.c : Callbacks for the pda Linux Gtk+ plugin.
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: pda_callbacks.c,v 1.8 2003/11/08 18:31:01 jpsaman Exp $ * $Id: pda_callbacks.c,v 1.9 2003/11/09 13:59:21 jpsaman Exp $
* *
* Authors: Jean-Paul Saman <jpsaman@wxs.nl> * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
* *
...@@ -466,15 +466,16 @@ void addSelectedToPlaylist(GtkTreeModel *model, ...@@ -466,15 +466,16 @@ void addSelectedToPlaylist(GtkTreeModel *model,
p_play_model = gtk_tree_view_get_model(p_tvplaylist); p_play_model = gtk_tree_view_get_model(p_tvplaylist);
/* Add a new row to the playlist treeview model */ if (p_play_model)
gtk_list_store_append (GTK_LIST_STORE(p_play_model), &p_play_iter); {
gtk_list_store_set (GTK_LIST_STORE(p_play_model), &p_play_iter, /* Add a new row to the playlist treeview model */
0, filename, /* Add path to it !!! */ gtk_list_store_append (GTK_LIST_STORE(p_play_model), &p_play_iter);
1, "no info", gtk_list_store_set (GTK_LIST_STORE(p_play_model), &p_play_iter,
-1 ); 0, filename, /* Add path to it !!! */
1, "no info",
-1 );
}
} }
else
g_print("Error obtaining pointer to Play List");
} }
void void
...@@ -514,13 +515,14 @@ onFileListRow (GtkTreeView *treeview, ...@@ -514,13 +515,14 @@ onFileListRow (GtkTreeView *treeview,
G_TYPE_UINT64, G_TYPE_UINT64,
G_TYPE_STRING, G_TYPE_STRING,
G_TYPE_STRING); G_TYPE_STRING);
if (NULL == p_model) if (p_model)
g_print( "ERROR: model has a NULL pointer\n" ); {
ReadDirectory(p_model, filename); ReadDirectory(p_model, filename);
/* Update TreeView with new model */ /* Update TreeView with new model */
gtk_tree_view_set_model(treeview, (GtkTreeModel*) p_model); gtk_tree_view_set_model(treeview, (GtkTreeModel*) p_model);
g_object_unref(p_model); g_object_unref(p_model);
}
} }
else else
{ {
...@@ -593,8 +595,8 @@ NetworkBuildMRL (GtkEditable *editable, ...@@ -593,8 +595,8 @@ NetworkBuildMRL (GtkEditable *editable,
GtkEntry *networkProtocol = NULL; GtkEntry *networkProtocol = NULL;
const gchar *mrlNetworkType; const gchar *mrlNetworkType;
const gchar *mrlAddress; const gchar *mrlAddress;
gint mrlPort;
const gchar *mrlProtocol; const gchar *mrlProtocol;
gint mrlPort;
#define VLC_MAX_MRL 256 #define VLC_MAX_MRL 256
char text[VLC_MAX_MRL]; char text[VLC_MAX_MRL];
int pos = 0; int pos = 0;
...@@ -637,7 +639,7 @@ onAddNetworkPlaylist (GtkButton *button, ...@@ -637,7 +639,7 @@ onAddNetworkPlaylist (GtkButton *button,
const gchar *mrl_name; const gchar *mrl_name;
p_mrl = (GtkEntry*) lookup_widget(GTK_WIDGET(button),"entryMRL" ); p_mrl = (GtkEntry*) lookup_widget(GTK_WIDGET(button),"entryMRL" );
if (NULL != p_mrl) if (p_mrl)
{ {
mrl_name = gtk_entry_get_text(p_mrl); mrl_name = gtk_entry_get_text(p_mrl);
......
...@@ -77,16 +77,50 @@ create_pda (void) ...@@ -77,16 +77,50 @@ create_pda (void)
GtkWidget *AddNetworkPlaylist; GtkWidget *AddNetworkPlaylist;
GtkWidget *Network; GtkWidget *Network;
GtkWidget *vbox7; GtkWidget *vbox7;
GtkWidget *table; GtkWidget *scrolledV4Lwindow;
GtkWidget *labelV4LAudio; GtkWidget *viewportV4L;
GtkWidget *labelV4LVideo; GtkWidget *tableV4L;
GtkWidget *comboV4LAudio; GtkWidget *labelV4lVideDevice;
GtkWidget *entryV4LAudio; GtkWidget *labelV4LAudioDevice;
GtkWidget *comboV4LVideo; GtkWidget *comboV4lVideoDevice;
GtkWidget *entryV4LVideo; GList *comboV4lVideoDevice_items = NULL;
GtkWidget *entryV4LVideoDevice;
GtkWidget *comboV4lAudioDevice;
GList *comboV4lAudioDevice_items = NULL;
GtkWidget *entryV4LAudioDevice;
GtkWidget *labelV4LChannel;
GtkObject *entryV4LChannel_adj;
GtkWidget *entryV4LChannel;
GtkWidget *labelV4LNorm;
GtkWidget *comboV4LNorm;
GList *comboV4LNorm_items = NULL;
GtkWidget *entryV4LNorm;
GtkWidget *labelV4LSize;
GtkWidget *comboV4LSize;
GList *comboV4LSize_items = NULL;
GtkWidget *entryV4LSize;
GtkWidget *labelV4LFrequency;
GtkObject *entryV4LFrequency_adj;
GtkWidget *entryV4LFrequency;
GtkWidget *labelV4LSampleRate;
GtkObject *entryV4LSampleRate_adj;
GtkWidget *entryV4LSampleRate;
GtkWidget *labelV4LQuality;
GtkObject *entryV4LQuality_adj;
GtkWidget *entryV4LQuality;
GtkWidget *labelV4lDecimation;
GtkObject *entryV4LDecimation_adj;
GtkWidget *entryV4LDecimation;
GtkWidget *labelV4LTuner;
GtkObject *entryV4LTuner_adj;
GtkWidget *entryV4LTuner;
GtkWidget *comboV4LSoundDirection;
GList *comboV4LSoundDirection_items = NULL;
GtkWidget *entryV4LSoundDirection;
GtkWidget *labelV4LSound;
GtkWidget *hbox16; GtkWidget *hbox16;
GtkWidget *AddCameraToPlaylist; GtkWidget *AddCameraToPlaylist;
GtkWidget *Server; GtkWidget *Camera;
GtkWidget *vbox1; GtkWidget *vbox1;
GtkWidget *vbox6; GtkWidget *vbox6;
GtkWidget *frameVideo; GtkWidget *frameVideo;
...@@ -97,6 +131,7 @@ create_pda (void) ...@@ -97,6 +131,7 @@ create_pda (void)
GtkWidget *comboVideoDevice; GtkWidget *comboVideoDevice;
GtkWidget *entryVideoDevice; GtkWidget *entryVideoDevice;
GtkWidget *comboVideoCodec; GtkWidget *comboVideoCodec;
GList *comboVideoCodec_items = NULL;
GtkWidget *entryVideoCodec; GtkWidget *entryVideoCodec;
GtkObject *spinVideoBitrate_adj; GtkObject *spinVideoBitrate_adj;
GtkWidget *spinVideoBitrate; GtkWidget *spinVideoBitrate;
...@@ -109,13 +144,14 @@ create_pda (void) ...@@ -109,13 +144,14 @@ create_pda (void)
GtkWidget *comboAudioDevice; GtkWidget *comboAudioDevice;
GtkWidget *entryAudioDevice; GtkWidget *entryAudioDevice;
GtkWidget *comboAudioCodec; GtkWidget *comboAudioCodec;
GList *comboAudioCodec_items = NULL;
GtkWidget *entryAudioCodec; GtkWidget *entryAudioCodec;
GtkObject *spinAudioBitrate_adj; GtkObject *spinAudioBitrate_adj;
GtkWidget *spinAudioBitrate; GtkWidget *spinAudioBitrate;
GtkWidget *label41; GtkWidget *label41;
GtkWidget *hbox14; GtkWidget *hbox14;
GtkWidget *AddServerToPlaylist; GtkWidget *AddServerToPlaylist;
GtkWidget *Camera; GtkWidget *Transcode;
GtkWidget *vbox4; GtkWidget *vbox4;
GtkWidget *scrolledwindow5; GtkWidget *scrolledwindow5;
GtkWidget *tvPlaylist; GtkWidget *tvPlaylist;
...@@ -471,58 +507,282 @@ create_pda (void) ...@@ -471,58 +507,282 @@ create_pda (void)
gtk_widget_show (vbox7); gtk_widget_show (vbox7);
gtk_container_add (GTK_CONTAINER (notebook), vbox7); gtk_container_add (GTK_CONTAINER (notebook), vbox7);
table = gtk_table_new (3, 2, FALSE); scrolledV4Lwindow = gtk_scrolled_window_new (NULL, NULL);
gtk_widget_set_name (table, "table"); gtk_widget_set_name (scrolledV4Lwindow, "scrolledV4Lwindow");
gtk_widget_show (table); gtk_widget_show (scrolledV4Lwindow);
gtk_box_pack_start (GTK_BOX (vbox7), table, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (vbox7), scrolledV4Lwindow, TRUE, TRUE, 0);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledV4Lwindow), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
viewportV4L = gtk_viewport_new (NULL, NULL);
gtk_widget_set_name (viewportV4L, "viewportV4L");
gtk_widget_show (viewportV4L);
gtk_container_add (GTK_CONTAINER (scrolledV4Lwindow), viewportV4L);
tableV4L = gtk_table_new (12, 2, FALSE);
gtk_widget_set_name (tableV4L, "tableV4L");
gtk_widget_show (tableV4L);
gtk_container_add (GTK_CONTAINER (viewportV4L), tableV4L);
labelV4lVideDevice = gtk_label_new (_("Video:"));
gtk_widget_set_name (labelV4lVideDevice, "labelV4lVideDevice");
gtk_widget_show (labelV4lVideDevice);
gtk_table_attach (GTK_TABLE (tableV4L), labelV4lVideDevice, 0, 1, 0, 1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4lVideDevice), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4lVideDevice), 0, 0.5);
labelV4LAudioDevice = gtk_label_new (_("Audio:"));
gtk_widget_set_name (labelV4LAudioDevice, "labelV4LAudioDevice");
gtk_widget_show (labelV4LAudioDevice);
gtk_table_attach (GTK_TABLE (tableV4L), labelV4LAudioDevice, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LAudioDevice), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LAudioDevice), 0, 0.5);
comboV4lVideoDevice = gtk_combo_new ();
g_object_set_data (G_OBJECT (GTK_COMBO (comboV4lVideoDevice)->popwin),
"GladeParentKey", comboV4lVideoDevice);
gtk_widget_set_name (comboV4lVideoDevice, "comboV4lVideoDevice");
gtk_widget_show (comboV4lVideoDevice);
gtk_table_attach (GTK_TABLE (tableV4L), comboV4lVideoDevice, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_combo_set_value_in_list (GTK_COMBO (comboV4lVideoDevice), TRUE, TRUE);
comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) _("/dev/video"));
comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) _("/dev/video0"));
comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) _("/dev/video1"));
gtk_combo_set_popdown_strings (GTK_COMBO (comboV4lVideoDevice), comboV4lVideoDevice_items);
g_list_free (comboV4lVideoDevice_items);
entryV4LVideoDevice = GTK_COMBO (comboV4lVideoDevice)->entry;
gtk_widget_set_name (entryV4LVideoDevice, "entryV4LVideoDevice");
gtk_widget_show (entryV4LVideoDevice);
gtk_entry_set_text (GTK_ENTRY (entryV4LVideoDevice), _("/dev/video"));
gtk_entry_set_activates_default (GTK_ENTRY (entryV4LVideoDevice), TRUE);
comboV4lAudioDevice = gtk_combo_new ();
g_object_set_data (G_OBJECT (GTK_COMBO (comboV4lAudioDevice)->popwin),
"GladeParentKey", comboV4lAudioDevice);
gtk_widget_set_name (comboV4lAudioDevice, "comboV4lAudioDevice");
gtk_widget_show (comboV4lAudioDevice);
gtk_table_attach (GTK_TABLE (tableV4L), comboV4lAudioDevice, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/dsp"));
comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/audio"));
comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/audio0"));
comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/audio1"));
gtk_combo_set_popdown_strings (GTK_COMBO (comboV4lAudioDevice), comboV4lAudioDevice_items);
g_list_free (comboV4lAudioDevice_items);
entryV4LAudioDevice = GTK_COMBO (comboV4lAudioDevice)->entry;
gtk_widget_set_name (entryV4LAudioDevice, "entryV4LAudioDevice");
gtk_widget_show (entryV4LAudioDevice);
gtk_entry_set_text (GTK_ENTRY (entryV4LAudioDevice), _("/dev/dsp"));
gtk_entry_set_activates_default (GTK_ENTRY (entryV4LAudioDevice), TRUE);
labelV4LChannel = gtk_label_new (_("Channel:"));
gtk_widget_set_name (labelV4LChannel, "labelV4LChannel");
gtk_widget_show (labelV4LChannel);
gtk_table_attach (GTK_TABLE (tableV4L), labelV4LChannel, 0, 1, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LChannel), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LChannel), 0, 0.5);
entryV4LChannel_adj = gtk_adjustment_new (0, 0, 100, 1, 10, 10);
entryV4LChannel = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LChannel_adj), 1, 0);
gtk_widget_set_name (entryV4LChannel, "entryV4LChannel");
gtk_widget_show (entryV4LChannel);
gtk_table_attach (GTK_TABLE (tableV4L), entryV4LChannel, 1, 2, 2, 3,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LChannel), TRUE);
labelV4LNorm = gtk_label_new (_("Norm:"));
gtk_widget_set_name (labelV4LNorm, "labelV4LNorm");
gtk_widget_show (labelV4LNorm);
gtk_table_attach (GTK_TABLE (tableV4L), labelV4LNorm, 0, 1, 3, 4,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LNorm), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LNorm), 0, 0.5);
comboV4LNorm = gtk_combo_new ();
g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LNorm)->popwin),
"GladeParentKey", comboV4LNorm);
gtk_widget_set_name (comboV4LNorm, "comboV4LNorm");
gtk_widget_show (comboV4LNorm);
gtk_table_attach (GTK_TABLE (tableV4L), comboV4LNorm, 1, 2, 3, 4,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("pal"));
comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("ntsc"));
comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("secam"));
comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("auto"));
gtk_combo_set_popdown_strings (GTK_COMBO (comboV4LNorm), comboV4LNorm_items);
g_list_free (comboV4LNorm_items);
entryV4LNorm = GTK_COMBO (comboV4LNorm)->entry;
gtk_widget_set_name (entryV4LNorm, "entryV4LNorm");
gtk_widget_show (entryV4LNorm);
gtk_entry_set_text (GTK_ENTRY (entryV4LNorm), _("pal"));
gtk_entry_set_activates_default (GTK_ENTRY (entryV4LNorm), TRUE);
labelV4LSize = gtk_label_new (_("Size:"));
gtk_widget_set_name (labelV4LSize, "labelV4LSize");
gtk_widget_show (labelV4LSize);
gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSize, 0, 1, 4, 5,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LSize), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LSize), 0, 0.5);
comboV4LSize = gtk_combo_new ();
g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LSize)->popwin),
"GladeParentKey", comboV4LSize);
gtk_widget_set_name (comboV4LSize, "comboV4LSize");
gtk_widget_show (comboV4LSize);
gtk_table_attach (GTK_TABLE (tableV4L), comboV4LSize, 1, 2, 4, 5,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("240x192"));
comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("320x240"));
comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("qsif"));
comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("qcif"));
comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("sif"));
comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("cif"));
comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("vga"));
gtk_combo_set_popdown_strings (GTK_COMBO (comboV4LSize), comboV4LSize_items);
g_list_free (comboV4LSize_items);
entryV4LSize = GTK_COMBO (comboV4LSize)->entry;
gtk_widget_set_name (entryV4LSize, "entryV4LSize");
gtk_widget_show (entryV4LSize);
gtk_entry_set_text (GTK_ENTRY (entryV4LSize), _("240x192"));
gtk_entry_set_activates_default (GTK_ENTRY (entryV4LSize), TRUE);
labelV4LFrequency = gtk_label_new (_("Frequency:"));
gtk_widget_set_name (labelV4LFrequency, "labelV4LFrequency");
gtk_widget_show (labelV4LFrequency);
gtk_table_attach (GTK_TABLE (tableV4L), labelV4LFrequency, 0, 1, 5, 6,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LFrequency), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LFrequency), 0, 0.5);
entryV4LFrequency_adj = gtk_adjustment_new (8692, 0, 65535, 1, 10, 10);
entryV4LFrequency = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LFrequency_adj), 1, 0);
gtk_widget_set_name (entryV4LFrequency, "entryV4LFrequency");
gtk_widget_show (entryV4LFrequency);
gtk_table_attach (GTK_TABLE (tableV4L), entryV4LFrequency, 1, 2, 5, 6,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LFrequency), TRUE);
labelV4LAudio = gtk_label_new (_("Audio:")); labelV4LSampleRate = gtk_label_new (_("Samplerate:"));
gtk_widget_set_name (labelV4LAudio, "labelV4LAudio"); gtk_widget_set_name (labelV4LSampleRate, "labelV4LSampleRate");
gtk_widget_show (labelV4LAudio); gtk_widget_show (labelV4LSampleRate);
gtk_table_attach (GTK_TABLE (table), labelV4LAudio, 0, 1, 0, 1, gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSampleRate, 0, 1, 6, 7,
(GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0); (GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LAudio), GTK_JUSTIFY_LEFT); gtk_label_set_justify (GTK_LABEL (labelV4LSampleRate), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LAudio), 0, 0.5); gtk_misc_set_alignment (GTK_MISC (labelV4LSampleRate), 0, 0.5);
entryV4LSampleRate_adj = gtk_adjustment_new (44100, 0, 65535, 1, 10, 10);
entryV4LSampleRate = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LSampleRate_adj), 1, 0);
gtk_widget_set_name (entryV4LSampleRate, "entryV4LSampleRate");
gtk_widget_show (entryV4LSampleRate);
gtk_table_attach (GTK_TABLE (tableV4L), entryV4LSampleRate, 1, 2, 6, 7,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LSampleRate), TRUE);
labelV4LVideo = gtk_label_new (_("Video:")); labelV4LQuality = gtk_label_new (_("Quality:"));
gtk_widget_set_name (labelV4LVideo, "labelV4LVideo"); gtk_widget_set_name (labelV4LQuality, "labelV4LQuality");
gtk_widget_show (labelV4LVideo); gtk_widget_show (labelV4LQuality);
gtk_table_attach (GTK_TABLE (table), labelV4LVideo, 0, 1, 1, 2, gtk_table_attach (GTK_TABLE (tableV4L), labelV4LQuality, 0, 1, 7, 8,
(GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0); (GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LVideo), GTK_JUSTIFY_LEFT); gtk_label_set_justify (GTK_LABEL (labelV4LQuality), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LVideo), 0, 0.5); gtk_misc_set_alignment (GTK_MISC (labelV4LQuality), 0, 0.5);
comboV4LAudio = gtk_combo_new (); entryV4LQuality_adj = gtk_adjustment_new (100, 0, 65535, 1, 10, 10);
g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LAudio)->popwin), entryV4LQuality = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LQuality_adj), 1, 0);
"GladeParentKey", comboV4LAudio); gtk_widget_set_name (entryV4LQuality, "entryV4LQuality");
gtk_widget_set_name (comboV4LAudio, "comboV4LAudio"); gtk_widget_show (entryV4LQuality);
gtk_widget_show (comboV4LAudio); gtk_table_attach (GTK_TABLE (tableV4L), entryV4LQuality, 1, 2, 7, 8,
gtk_table_attach (GTK_TABLE (table), comboV4LAudio, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0); (GtkAttachOptions) (0), 0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LQuality), TRUE);
entryV4LAudio = GTK_COMBO (comboV4LAudio)->entry; labelV4lDecimation = gtk_label_new (_("Decimation:"));
gtk_widget_set_name (entryV4LAudio, "entryV4LAudio"); gtk_widget_set_name (labelV4lDecimation, "labelV4lDecimation");
gtk_widget_show (entryV4LAudio); gtk_widget_show (labelV4lDecimation);
gtk_entry_set_text (GTK_ENTRY (entryV4LAudio), _("/dev/dsp")); gtk_table_attach (GTK_TABLE (tableV4L), labelV4lDecimation, 0, 1, 8, 9,
gtk_entry_set_activates_default (GTK_ENTRY (entryV4LAudio), TRUE); (GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
comboV4LVideo = gtk_combo_new (); gtk_label_set_justify (GTK_LABEL (labelV4lDecimation), GTK_JUSTIFY_LEFT);
g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LVideo)->popwin), gtk_misc_set_alignment (GTK_MISC (labelV4lDecimation), 0, 0.5);
"GladeParentKey", comboV4LVideo);
gtk_widget_set_name (comboV4LVideo, "comboV4LVideo"); entryV4LDecimation_adj = gtk_adjustment_new (1, 0, 65535, 1, 10, 10);
gtk_widget_show (comboV4LVideo); entryV4LDecimation = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LDecimation_adj), 1, 0);
gtk_table_attach (GTK_TABLE (table), comboV4LVideo, 1, 2, 1, 2, gtk_widget_set_name (entryV4LDecimation, "entryV4LDecimation");
gtk_widget_show (entryV4LDecimation);
gtk_table_attach (GTK_TABLE (tableV4L), entryV4LDecimation, 1, 2, 8, 9,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0); (GtkAttachOptions) (0), 0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LDecimation), TRUE);
entryV4LVideo = GTK_COMBO (comboV4LVideo)->entry; labelV4LTuner = gtk_label_new (_("Tuner:"));
gtk_widget_set_name (entryV4LVideo, "entryV4LVideo"); gtk_widget_set_name (labelV4LTuner, "labelV4LTuner");
gtk_widget_show (entryV4LVideo); gtk_widget_show (labelV4LTuner);
gtk_entry_set_text (GTK_ENTRY (entryV4LVideo), _("/dev/video")); gtk_table_attach (GTK_TABLE (tableV4L), labelV4LTuner, 0, 1, 9, 10,
gtk_entry_set_activates_default (GTK_ENTRY (entryV4LVideo), TRUE); (GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LTuner), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LTuner), 0, 0.5);
entryV4LTuner_adj = gtk_adjustment_new (0, -1, 100, 1, 10, 10);
entryV4LTuner = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LTuner_adj), 1, 0);
gtk_widget_set_name (entryV4LTuner, "entryV4LTuner");
gtk_widget_show (entryV4LTuner);
gtk_table_attach (GTK_TABLE (tableV4L), entryV4LTuner, 1, 2, 9, 10,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LTuner), TRUE);
comboV4LSoundDirection = gtk_combo_new ();
g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LSoundDirection)->popwin),
"GladeParentKey", comboV4LSoundDirection);
gtk_widget_set_name (comboV4LSoundDirection, "comboV4LSoundDirection");
gtk_widget_show (comboV4LSoundDirection);
gtk_table_attach (GTK_TABLE (tableV4L), comboV4LSoundDirection, 1, 2, 10, 11,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_combo_set_value_in_list (GTK_COMBO (comboV4LSoundDirection), TRUE, TRUE);
gtk_combo_set_use_arrows_always (GTK_COMBO (comboV4LSoundDirection), TRUE);
comboV4LSoundDirection_items = g_list_append (comboV4LSoundDirection_items, (gpointer) _("Mono"));
comboV4LSoundDirection_items = g_list_append (comboV4LSoundDirection_items, (gpointer) _("Stereo"));
gtk_combo_set_popdown_strings (GTK_COMBO (comboV4LSoundDirection), comboV4LSoundDirection_items);
g_list_free (comboV4LSoundDirection_items);
entryV4LSoundDirection = GTK_COMBO (comboV4LSoundDirection)->entry;
gtk_widget_set_name (entryV4LSoundDirection, "entryV4LSoundDirection");
gtk_widget_show (entryV4LSoundDirection);
gtk_entry_set_text (GTK_ENTRY (entryV4LSoundDirection), _("Mono"));
gtk_entry_set_activates_default (GTK_ENTRY (entryV4LSoundDirection), TRUE);
labelV4LSound = gtk_label_new (_("Sound:"));
gtk_widget_set_name (labelV4LSound, "labelV4LSound");
gtk_widget_show (labelV4LSound);
gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSound, 0, 1, 10, 11,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (labelV4LSound), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment (GTK_MISC (labelV4LSound), 0, 0.5);
hbox16 = gtk_hbox_new (FALSE, 0); hbox16 = gtk_hbox_new (FALSE, 0);
gtk_widget_set_name (hbox16, "hbox16"); gtk_widget_set_name (hbox16, "hbox16");
...@@ -534,11 +794,11 @@ create_pda (void) ...@@ -534,11 +794,11 @@ create_pda (void)
gtk_widget_show (AddCameraToPlaylist); gtk_widget_show (AddCameraToPlaylist);
gtk_box_pack_start (GTK_BOX (hbox16), AddCameraToPlaylist, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox16), AddCameraToPlaylist, FALSE, FALSE, 0);
Server = gtk_label_new (_("Server")); Camera = gtk_label_new (_("Camera"));
gtk_widget_set_name (Server, "Server"); gtk_widget_set_name (Camera, "Camera");
gtk_widget_show (Server); gtk_widget_show (Camera);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 2), Server); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 2), Camera);
gtk_label_set_justify (GTK_LABEL (Server), GTK_JUSTIFY_LEFT); gtk_label_set_justify (GTK_LABEL (Camera), GTK_JUSTIFY_LEFT);
vbox1 = gtk_vbox_new (FALSE, 0); vbox1 = gtk_vbox_new (FALSE, 0);
gtk_widget_set_name (vbox1, "vbox1"); gtk_widget_set_name (vbox1, "vbox1");
...@@ -609,11 +869,16 @@ create_pda (void) ...@@ -609,11 +869,16 @@ create_pda (void)
gtk_table_attach (GTK_TABLE (table4), comboVideoCodec, 1, 2, 1, 2, gtk_table_attach (GTK_TABLE (table4), comboVideoCodec, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0); (GtkAttachOptions) (0), 0, 0);
comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("raw"));
comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("huff"));
comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) "");
gtk_combo_set_popdown_strings (GTK_COMBO (comboVideoCodec), comboVideoCodec_items);
g_list_free (comboVideoCodec_items);
entryVideoCodec = GTK_COMBO (comboVideoCodec)->entry; entryVideoCodec = GTK_COMBO (comboVideoCodec)->entry;
gtk_widget_set_name (entryVideoCodec, "entryVideoCodec"); gtk_widget_set_name (entryVideoCodec, "entryVideoCodec");
gtk_widget_show (entryVideoCodec); gtk_widget_show (entryVideoCodec);
gtk_entry_set_text (GTK_ENTRY (entryVideoCodec), _("huff")); gtk_entry_set_text (GTK_ENTRY (entryVideoCodec), _("raw"));
spinVideoBitrate_adj = gtk_adjustment_new (64, 0, 100, 1, 10, 10); spinVideoBitrate_adj = gtk_adjustment_new (64, 0, 100, 1, 10, 10);
spinVideoBitrate = gtk_spin_button_new (GTK_ADJUSTMENT (spinVideoBitrate_adj), 1, 0); spinVideoBitrate = gtk_spin_button_new (GTK_ADJUSTMENT (spinVideoBitrate_adj), 1, 0);
...@@ -688,11 +953,16 @@ create_pda (void) ...@@ -688,11 +953,16 @@ create_pda (void)
gtk_table_attach (GTK_TABLE (table3), comboAudioCodec, 1, 2, 1, 2, gtk_table_attach (GTK_TABLE (table3), comboAudioCodec, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0); (GtkAttachOptions) (0), 0, 0);
comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("raw"));
comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("alaw"));
comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("ulaw"));
gtk_combo_set_popdown_strings (GTK_COMBO (comboAudioCodec), comboAudioCodec_items);
g_list_free (comboAudioCodec_items);
entryAudioCodec = GTK_COMBO (comboAudioCodec)->entry; entryAudioCodec = GTK_COMBO (comboAudioCodec)->entry;
gtk_widget_set_name (entryAudioCodec, "entryAudioCodec"); gtk_widget_set_name (entryAudioCodec, "entryAudioCodec");
gtk_widget_show (entryAudioCodec); gtk_widget_show (entryAudioCodec);
gtk_entry_set_text (GTK_ENTRY (entryAudioCodec), _("alaw")); gtk_entry_set_text (GTK_ENTRY (entryAudioCodec), _("raw"));
spinAudioBitrate_adj = gtk_adjustment_new (64, 0, 100, 1, 10, 10); spinAudioBitrate_adj = gtk_adjustment_new (64, 0, 100, 1, 10, 10);
spinAudioBitrate = gtk_spin_button_new (GTK_ADJUSTMENT (spinAudioBitrate_adj), 1, 0); spinAudioBitrate = gtk_spin_button_new (GTK_ADJUSTMENT (spinAudioBitrate_adj), 1, 0);
...@@ -719,10 +989,10 @@ create_pda (void) ...@@ -719,10 +989,10 @@ create_pda (void)
gtk_widget_show (AddServerToPlaylist); gtk_widget_show (AddServerToPlaylist);
gtk_box_pack_start (GTK_BOX (hbox14), AddServerToPlaylist, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox14), AddServerToPlaylist, FALSE, FALSE, 0);
Camera = gtk_label_new (_("Camera")); Transcode = gtk_label_new (_("Transcode"));
gtk_widget_set_name (Camera, "Camera"); gtk_widget_set_name (Transcode, "Transcode");
gtk_widget_show (Camera); gtk_widget_show (Transcode);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 3), Camera); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 3), Transcode);
vbox4 = gtk_vbox_new (FALSE, 0); vbox4 = gtk_vbox_new (FALSE, 0);
gtk_widget_set_name (vbox4, "vbox4"); gtk_widget_set_name (vbox4, "vbox4");
...@@ -908,18 +1178,6 @@ create_pda (void) ...@@ -908,18 +1178,6 @@ create_pda (void)
g_signal_connect ((gpointer) AddNetworkPlaylist, "pressed", g_signal_connect ((gpointer) AddNetworkPlaylist, "pressed",
G_CALLBACK (onAddNetworkPlaylist), G_CALLBACK (onAddNetworkPlaylist),
NULL); NULL);
g_signal_connect ((gpointer) entryV4LAudio, "changed",
G_CALLBACK (onV4LAudioChanged),
NULL);
g_signal_connect ((gpointer) entryV4LAudio, "editing_done",
G_CALLBACK (onEntryV4LAudioEditingDone),
NULL);
g_signal_connect ((gpointer) entryV4LVideo, "changed",
G_CALLBACK (onV4LVideoChanged),
NULL);
g_signal_connect ((gpointer) entryV4LVideo, "editing_done",
G_CALLBACK (onEntryV4LVideoEditingDone),
NULL);
g_signal_connect ((gpointer) AddCameraToPlaylist, "pressed", g_signal_connect ((gpointer) AddCameraToPlaylist, "pressed",
G_CALLBACK (onAddCameraToPlaylist), G_CALLBACK (onAddCameraToPlaylist),
NULL); NULL);
...@@ -1036,16 +1294,39 @@ create_pda (void) ...@@ -1036,16 +1294,39 @@ create_pda (void)
GLADE_HOOKUP_OBJECT (pda, AddNetworkPlaylist, "AddNetworkPlaylist"); GLADE_HOOKUP_OBJECT (pda, AddNetworkPlaylist, "AddNetworkPlaylist");
GLADE_HOOKUP_OBJECT (pda, Network, "Network"); GLADE_HOOKUP_OBJECT (pda, Network, "Network");
GLADE_HOOKUP_OBJECT (pda, vbox7, "vbox7"); GLADE_HOOKUP_OBJECT (pda, vbox7, "vbox7");
GLADE_HOOKUP_OBJECT (pda, table, "table"); GLADE_HOOKUP_OBJECT (pda, scrolledV4Lwindow, "scrolledV4Lwindow");
GLADE_HOOKUP_OBJECT (pda, labelV4LAudio, "labelV4LAudio"); GLADE_HOOKUP_OBJECT (pda, viewportV4L, "viewportV4L");
GLADE_HOOKUP_OBJECT (pda, labelV4LVideo, "labelV4LVideo"); GLADE_HOOKUP_OBJECT (pda, tableV4L, "tableV4L");
GLADE_HOOKUP_OBJECT (pda, comboV4LAudio, "comboV4LAudio"); GLADE_HOOKUP_OBJECT (pda, labelV4lVideDevice, "labelV4lVideDevice");
GLADE_HOOKUP_OBJECT (pda, entryV4LAudio, "entryV4LAudio"); GLADE_HOOKUP_OBJECT (pda, labelV4LAudioDevice, "labelV4LAudioDevice");
GLADE_HOOKUP_OBJECT (pda, comboV4LVideo, "comboV4LVideo"); GLADE_HOOKUP_OBJECT (pda, comboV4lVideoDevice, "comboV4lVideoDevice");
GLADE_HOOKUP_OBJECT (pda, entryV4LVideo, "entryV4LVideo"); GLADE_HOOKUP_OBJECT (pda, entryV4LVideoDevice, "entryV4LVideoDevice");
GLADE_HOOKUP_OBJECT (pda, comboV4lAudioDevice, "comboV4lAudioDevice");
GLADE_HOOKUP_OBJECT (pda, entryV4LAudioDevice, "entryV4LAudioDevice");
GLADE_HOOKUP_OBJECT (pda, labelV4LChannel, "labelV4LChannel");
GLADE_HOOKUP_OBJECT (pda, entryV4LChannel, "entryV4LChannel");
GLADE_HOOKUP_OBJECT (pda, labelV4LNorm, "labelV4LNorm");
GLADE_HOOKUP_OBJECT (pda, comboV4LNorm, "comboV4LNorm");
GLADE_HOOKUP_OBJECT (pda, entryV4LNorm, "entryV4LNorm");
GLADE_HOOKUP_OBJECT (pda, labelV4LSize, "labelV4LSize");
GLADE_HOOKUP_OBJECT (pda, comboV4LSize, "comboV4LSize");
GLADE_HOOKUP_OBJECT (pda, entryV4LSize, "entryV4LSize");
GLADE_HOOKUP_OBJECT (pda, labelV4LFrequency, "labelV4LFrequency");
GLADE_HOOKUP_OBJECT (pda, entryV4LFrequency, "entryV4LFrequency");
GLADE_HOOKUP_OBJECT (pda, labelV4LSampleRate, "labelV4LSampleRate");
GLADE_HOOKUP_OBJECT (pda, entryV4LSampleRate, "entryV4LSampleRate");
GLADE_HOOKUP_OBJECT (pda, labelV4LQuality, "labelV4LQuality");
GLADE_HOOKUP_OBJECT (pda, entryV4LQuality, "entryV4LQuality");
GLADE_HOOKUP_OBJECT (pda, labelV4lDecimation, "labelV4lDecimation");
GLADE_HOOKUP_OBJECT (pda, entryV4LDecimation, "entryV4LDecimation");
GLADE_HOOKUP_OBJECT (pda, labelV4LTuner, "labelV4LTuner");
GLADE_HOOKUP_OBJECT (pda, entryV4LTuner, "entryV4LTuner");
GLADE_HOOKUP_OBJECT (pda, comboV4LSoundDirection, "comboV4LSoundDirection");
GLADE_HOOKUP_OBJECT (pda, entryV4LSoundDirection, "entryV4LSoundDirection");
GLADE_HOOKUP_OBJECT (pda, labelV4LSound, "labelV4LSound");
GLADE_HOOKUP_OBJECT (pda, hbox16, "hbox16"); GLADE_HOOKUP_OBJECT (pda, hbox16, "hbox16");
GLADE_HOOKUP_OBJECT (pda, AddCameraToPlaylist, "AddCameraToPlaylist"); GLADE_HOOKUP_OBJECT (pda, AddCameraToPlaylist, "AddCameraToPlaylist");
GLADE_HOOKUP_OBJECT (pda, Server, "Server"); GLADE_HOOKUP_OBJECT (pda, Camera, "Camera");
GLADE_HOOKUP_OBJECT (pda, vbox1, "vbox1"); GLADE_HOOKUP_OBJECT (pda, vbox1, "vbox1");
GLADE_HOOKUP_OBJECT (pda, vbox6, "vbox6"); GLADE_HOOKUP_OBJECT (pda, vbox6, "vbox6");
GLADE_HOOKUP_OBJECT (pda, frameVideo, "frameVideo"); GLADE_HOOKUP_OBJECT (pda, frameVideo, "frameVideo");
...@@ -1072,7 +1353,7 @@ create_pda (void) ...@@ -1072,7 +1353,7 @@ create_pda (void)
GLADE_HOOKUP_OBJECT (pda, label41, "label41"); GLADE_HOOKUP_OBJECT (pda, label41, "label41");
GLADE_HOOKUP_OBJECT (pda, hbox14, "hbox14"); GLADE_HOOKUP_OBJECT (pda, hbox14, "hbox14");
GLADE_HOOKUP_OBJECT (pda, AddServerToPlaylist, "AddServerToPlaylist"); GLADE_HOOKUP_OBJECT (pda, AddServerToPlaylist, "AddServerToPlaylist");
GLADE_HOOKUP_OBJECT (pda, Camera, "Camera"); GLADE_HOOKUP_OBJECT (pda, Transcode, "Transcode");
GLADE_HOOKUP_OBJECT (pda, vbox4, "vbox4"); GLADE_HOOKUP_OBJECT (pda, vbox4, "vbox4");
GLADE_HOOKUP_OBJECT (pda, scrolledwindow5, "scrolledwindow5"); GLADE_HOOKUP_OBJECT (pda, scrolledwindow5, "scrolledwindow5");
GLADE_HOOKUP_OBJECT (pda, tvPlaylist, "tvPlaylist"); GLADE_HOOKUP_OBJECT (pda, tvPlaylist, "tvPlaylist");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment