Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

pda_interface.c

00001 /*
00002  * DO NOT EDIT THIS FILE - it is generated by Glade.
00003  */
00004 
00005 #ifdef HAVE_CONFIG_H
00006 #  include <config.h>
00007 #endif
00008 
00009 #include <sys/types.h>
00010 #include <sys/stat.h>
00011 #include <unistd.h>
00012 #include <string.h>
00013 #include <stdio.h>
00014 
00015 #include <gdk/gdkkeysyms.h>
00016 #include <gtk/gtk.h>
00017 
00018 #include "pda_callbacks.h"
00019 #include "pda_interface.h"
00020 #include "pda_support.h"
00021 
00022 #define GLADE_HOOKUP_OBJECT(component,widget,name) \
00023   g_object_set_data_full (G_OBJECT (component), name, \
00024     gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
00025 
00026 #define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
00027   g_object_set_data (G_OBJECT (component), name, widget)
00028 
00029 GtkWidget*
00030 create_pda (void)
00031 {
00032   GtkWidget *pda;
00033   GdkPixbuf *pda_icon_pixbuf;
00034   GtkWidget *vbox;
00035   GtkWidget *toolbar;
00036   GtkWidget *tmp_toolbar_icon;
00037   GtkWidget *tbRewind;
00038   GtkWidget *tbPause;
00039   GtkWidget *tbPlay;
00040   GtkWidget *tbStop;
00041   GtkWidget *tbForward;
00042   GtkWidget *tbAbout;
00043   GtkWidget *timeLabel;
00044   GtkWidget *timeSlider;
00045   GtkWidget *notebook;
00046   GtkWidget *scrolledwindow6;
00047   GtkWidget *viewport3;
00048   GtkWidget *vbox8;
00049   GtkWidget *scrolledwindow7;
00050   GtkWidget *tvFileList;
00051   GtkWidget *hbox;
00052   GtkWidget *AddFileToPlaylist;
00053   GtkWidget *File;
00054   GtkWidget *vbox5;
00055   GtkWidget *hbox12;
00056   GtkWidget *labelNetworkMRL;
00057   GtkWidget *comboMRL;
00058   GList *comboMRL_items = NULL;
00059   GtkWidget *entryMRL;
00060   GtkWidget *hseparator15;
00061   GtkWidget *table2;
00062   GtkWidget *labelNetworkPort;
00063   GtkWidget *labelNetworkAddress;
00064   GtkObject *entryNetworkPort_adj;
00065   GtkWidget *entryNetworkPort;
00066   GtkWidget *comboNetworkAddress;
00067   GtkWidget *entryNetworkAddress;
00068   GtkWidget *comboNetworkType;
00069   GList *comboNetworkType_items = NULL;
00070   GtkWidget *entryNetworkType;
00071   GtkWidget *labelNetworkType;
00072   GtkWidget *comboNetworkProtocolType;
00073   GList *comboNetworkProtocolType_items = NULL;
00074   GtkWidget *entryNetworkProtocolType;
00075   GtkWidget *labelNetworkProtocol;
00076   GtkWidget *labelNetworkTranscode;
00077   GtkWidget *checkNetworkTranscode;
00078   GtkWidget *hbox13;
00079   GtkWidget *AddNetworkPlaylist;
00080   GtkWidget *Network;
00081   GtkWidget *vbox7;
00082   GtkWidget *scrolledV4Lwindow;
00083   GtkWidget *viewportV4L;
00084   GtkWidget *tableV4L;
00085   GtkWidget *labelV4lVideDevice;
00086   GtkWidget *labelV4LAudioDevice;
00087   GtkWidget *labelV4LChannel;
00088   GtkWidget *labelV4LNorm;
00089   GtkWidget *labelV4LSize;
00090   GtkWidget *labelV4LFrequency;
00091   GtkWidget *labelV4LSampleRate;
00092   GtkWidget *labelV4LQuality;
00093   GtkWidget *labelV4LTuner;
00094   GtkWidget *labelV4LSoundDirection;
00095   GtkWidget *labelV4LMJPEG;
00096   GtkWidget *labelV4LDecimation;
00097   GtkWidget *comboV4lVideoDevice;
00098   GList *comboV4lVideoDevice_items = NULL;
00099   GtkWidget *entryV4LVideoDevice;
00100   GtkWidget *comboV4lAudioDevice;
00101   GList *comboV4lAudioDevice_items = NULL;
00102   GtkWidget *entryV4LAudioDevice;
00103   GtkObject *entryV4LChannel_adj;
00104   GtkWidget *entryV4LChannel;
00105   GtkWidget *comboV4LNorm;
00106   GList *comboV4LNorm_items = NULL;
00107   GtkWidget *entryV4LNorm;
00108   GtkWidget *comboV4LSize;
00109   GList *comboV4LSize_items = NULL;
00110   GtkWidget *entryV4LSize;
00111   GtkObject *entryV4LFrequency_adj;
00112   GtkWidget *entryV4LFrequency;
00113   GtkObject *entryV4LSampleRate_adj;
00114   GtkWidget *entryV4LSampleRate;
00115   GtkObject *entryV4LQuality_adj;
00116   GtkWidget *entryV4LQuality;
00117   GtkWidget *comboV4LSoundDirection;
00118   GList *comboV4LSoundDirection_items = NULL;
00119   GtkWidget *entryV4LSoundDirection;
00120   GtkObject *entryV4LTuner_adj;
00121   GtkWidget *entryV4LTuner;
00122   GtkWidget *checkV4LMJPEG;
00123   GtkObject *entryV4LDecimation_adj;
00124   GtkWidget *entryV4LDecimation;
00125   GtkWidget *labelV4LTranscode;
00126   GtkWidget *checkV4LTranscode;
00127   GtkWidget *hbox16;
00128   GtkWidget *AddCameraToPlaylist;
00129   GtkWidget *Camera;
00130   GtkWidget *vbox1;
00131   GtkWidget *scrolledwindowTranscode;
00132   GtkWidget *viewport5;
00133   GtkWidget *tableTranscode;
00134   GtkWidget *labelVideoCodec;
00135   GtkWidget *comboVideoCodec;
00136   GList *comboVideoCodec_items = NULL;
00137   GtkWidget *entryVideoCodec;
00138   GtkWidget *labelVideoBitrate;
00139   GtkWidget *labelVideoBitrateTolerance;
00140   GtkWidget *labelVideoKeyInterval;
00141   GtkWidget *labelAudioCodec;
00142   GtkWidget *labelVideoDeinterlace;
00143   GtkWidget *labelStdAccess;
00144   GtkWidget *labelStdMuxer;
00145   GtkWidget *labelStdUrl;
00146   GtkWidget *labelStdTimeToLive;
00147   GtkObject *entryStdTTL_adj;
00148   GtkWidget *entryStdTTL;
00149   GtkWidget *comboStdURL;
00150   GList *comboStdURL_items = NULL;
00151   GtkWidget *entryStdURL;
00152   GtkWidget *comboStdMuxer;
00153   GList *comboStdMuxer_items = NULL;
00154   GtkWidget *entryStdMuxer;
00155   GtkObject *entryAudioBitrate_adj;
00156   GtkWidget *entryAudioBitrate;
00157   GtkWidget *comboAudioCodec;
00158   GList *comboAudioCodec_items = NULL;
00159   GtkWidget *entryAudioCodec;
00160   GtkWidget *checkVideoDeinterlace;
00161   GtkObject *entryVideoKeyFrameInterval_adj;
00162   GtkWidget *entryVideoKeyFrameInterval;
00163   GtkObject *entryVideoBitrateTolerance_adj;
00164   GtkWidget *entryVideoBitrateTolerance;
00165   GtkObject *entryVideoBitrate_adj;
00166   GtkWidget *entryVideoBitrate;
00167   GtkWidget *labelAudioBitrate;
00168   GtkWidget *comboStdAccess;
00169   GtkWidget *entryStdAccess;
00170   GtkWidget *labelSAP;
00171   GtkWidget *checkSAP;
00172   GtkWidget *checkSLP;
00173   GtkWidget *labelSLP_;
00174   GtkWidget *labelAnounceChannel;
00175   GtkWidget *comboAnnounceChannel;
00176   GtkWidget *entryAnnounceChannel;
00177   GtkWidget *hbox14;
00178   GtkWidget *AddTranscodeToPlaylist;
00179   GtkWidget *Transcode;
00180   GtkWidget *vbox4;
00181   GtkWidget *scrolledwindow5;
00182   GtkWidget *tvPlaylist;
00183   GtkWidget *hbox11;
00184   GtkWidget *UpdatePlaylist;
00185   GtkWidget *DeletePlaylist;
00186   GtkWidget *ClearPlaylist;
00187   GtkWidget *playlist;
00188   GtkWidget *vbox2;
00189   GtkWidget *scrolledwindowPreference;
00190   GtkWidget *tvPreferences;
00191   GtkWidget *hbox2;
00192   GtkWidget *PreferenceSave;
00193   GtkWidget *PreferenceApply;
00194   GtkWidget *PreferenceCancel;
00195   GtkWidget *preferences;
00196   GtkWidget *scrolledwindow3;
00197   GtkWidget *viewport1;
00198   GtkWidget *fixed2;
00199   GtkWidget *aboutImage;
00200   GtkWidget *labelDescription;
00201   GtkWidget *labelAuthors;
00202   GtkWidget *labelCopyright;
00203   GtkWidget *labelProgramName;
00204   GtkWidget *about;
00205   GtkTooltips *tooltips;
00206 
00207   tooltips = gtk_tooltips_new ();
00208 
00209   pda = gtk_window_new (GTK_WINDOW_TOPLEVEL);
00210   gtk_widget_set_name (pda, "pda");
00211   gtk_widget_set_size_request (pda, 240, 320);
00212   gtk_window_set_title (GTK_WINDOW (pda), _("VLC media player"));
00213   pda_icon_pixbuf = create_pixbuf ("vlc16x16.png");
00214   if (pda_icon_pixbuf)
00215     {
00216       gtk_window_set_icon (GTK_WINDOW (pda), pda_icon_pixbuf);
00217       gdk_pixbuf_unref (pda_icon_pixbuf);
00218     }
00219 
00220   vbox = gtk_vbox_new (FALSE, 0);
00221   gtk_widget_set_name (vbox, "vbox");
00222   gtk_widget_show (vbox);
00223   gtk_container_add (GTK_CONTAINER (pda), vbox);
00224 
00225   toolbar = gtk_toolbar_new ();
00226   gtk_widget_set_name (toolbar, "toolbar");
00227   gtk_widget_show (toolbar);
00228   gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 5);
00229   gtk_widget_set_size_request (toolbar, 240, 22);
00230   gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_ICONS);
00231 
00232   gtk_toolbar_append_space (GTK_TOOLBAR (toolbar));
00233 
00234   tmp_toolbar_icon = create_pixmap (pda, "pda-rewindb16x16.xpm");
00235   tbRewind = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
00236                                 GTK_TOOLBAR_CHILD_BUTTON,
00237                                 NULL,
00238                                 _("Rewind"),
00239                                 _("Rewind"), NULL,
00240                                 tmp_toolbar_icon, NULL, NULL);
00241   gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE);
00242   gtk_widget_set_name (tbRewind, "tbRewind");
00243   gtk_widget_show (tbRewind);
00244   gtk_widget_set_size_request (tbRewind, 22, 22);
00245 
00246   tmp_toolbar_icon = create_pixmap (pda, "pda-pauseb16x16.xpm");
00247   tbPause = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
00248                                 GTK_TOOLBAR_CHILD_BUTTON,
00249                                 NULL,
00250                                 _("Pause"),
00251                                 _("Pause"), NULL,
00252                                 tmp_toolbar_icon, NULL, NULL);
00253   gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE);
00254   gtk_widget_set_name (tbPause, "tbPause");
00255   gtk_widget_show (tbPause);
00256   gtk_widget_set_size_request (tbPause, 22, 22);
00257 
00258   tmp_toolbar_icon = create_pixmap (pda, "pda-playb16x16.xpm");
00259   tbPlay = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
00260                                 GTK_TOOLBAR_CHILD_BUTTON,
00261                                 NULL,
00262                                 _("Play"),
00263                                 _("Play"), NULL,
00264                                 tmp_toolbar_icon, NULL, NULL);
00265   gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE);
00266   gtk_widget_set_name (tbPlay, "tbPlay");
00267   gtk_widget_show (tbPlay);
00268   gtk_widget_set_size_request (tbPlay, 22, 22);
00269 
00270   tmp_toolbar_icon = create_pixmap (pda, "pda-stopb16x16.xpm");
00271   tbStop = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
00272                                 GTK_TOOLBAR_CHILD_BUTTON,
00273                                 NULL,
00274                                 _("Stop"),
00275                                 _("Stop"), NULL,
00276                                 tmp_toolbar_icon, NULL, NULL);
00277   gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE);
00278   gtk_widget_set_name (tbStop, "tbStop");
00279   gtk_widget_show (tbStop);
00280   gtk_widget_set_size_request (tbStop, 22, 22);
00281 
00282   tmp_toolbar_icon = create_pixmap (pda, "pda-forwardb16x16.xpm");
00283   tbForward = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
00284                                 GTK_TOOLBAR_CHILD_BUTTON,
00285                                 NULL,
00286                                 _("Forward"),
00287                                 _("Forward"), NULL,
00288                                 tmp_toolbar_icon, NULL, NULL);
00289   gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE);
00290   gtk_widget_set_name (tbForward, "tbForward");
00291   gtk_widget_show (tbForward);
00292   gtk_widget_set_size_request (tbForward, 22, 22);
00293 
00294   gtk_toolbar_append_space (GTK_TOOLBAR (toolbar));
00295 
00296   tmp_toolbar_icon = create_pixmap (pda, "vlc16x16.png");
00297   tbAbout = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
00298                                 GTK_TOOLBAR_CHILD_BUTTON,
00299                                 NULL,
00300                                 _("About"),
00301                                 _("About"), NULL,
00302                                 tmp_toolbar_icon, NULL, NULL);
00303   gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE);
00304   gtk_widget_set_name (tbAbout, "tbAbout");
00305   gtk_widget_show (tbAbout);
00306   gtk_widget_set_size_request (tbAbout, 22, 22);
00307 
00308   timeLabel = gtk_label_new (_("00:00:00"));
00309   gtk_widget_set_name (timeLabel, "timeLabel");
00310   gtk_widget_show (timeLabel);
00311   gtk_toolbar_append_space (GTK_TOOLBAR (toolbar));
00312 
00313   gtk_toolbar_append_widget (GTK_TOOLBAR (toolbar), timeLabel, NULL, NULL);
00314 
00315   timeSlider = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 100, 1, 6.25, 0)));
00316   gtk_widget_set_name (timeSlider, "timeSlider");
00317   gtk_widget_show (timeSlider);
00318   gtk_box_pack_start (GTK_BOX (vbox), timeSlider, FALSE, TRUE, 4);
00319   gtk_scale_set_draw_value (GTK_SCALE (timeSlider), FALSE);
00320   gtk_scale_set_value_pos (GTK_SCALE (timeSlider), GTK_POS_RIGHT);
00321   gtk_scale_set_digits (GTK_SCALE (timeSlider), 3);
00322   gtk_range_set_update_policy (GTK_RANGE (timeSlider), GTK_UPDATE_DISCONTINUOUS);
00323 
00324   notebook = gtk_notebook_new ();
00325   gtk_widget_set_name (notebook, "notebook");
00326   gtk_widget_show (notebook);
00327   gtk_box_pack_end (GTK_BOX (vbox), notebook, TRUE, TRUE, 0);
00328   gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
00329 
00330   scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
00331   gtk_widget_set_name (scrolledwindow6, "scrolledwindow6");
00332   gtk_widget_show (scrolledwindow6);
00333   gtk_container_add (GTK_CONTAINER (notebook), scrolledwindow6);
00334   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
00335 
00336   viewport3 = gtk_viewport_new (NULL, NULL);
00337   gtk_widget_set_name (viewport3, "viewport3");
00338   gtk_widget_show (viewport3);
00339   gtk_container_add (GTK_CONTAINER (scrolledwindow6), viewport3);
00340 
00341   vbox8 = gtk_vbox_new (FALSE, 0);
00342   gtk_widget_set_name (vbox8, "vbox8");
00343   gtk_widget_show (vbox8);
00344   gtk_container_add (GTK_CONTAINER (viewport3), vbox8);
00345 
00346   scrolledwindow7 = gtk_scrolled_window_new (NULL, NULL);
00347   gtk_widget_set_name (scrolledwindow7, "scrolledwindow7");
00348   gtk_widget_show (scrolledwindow7);
00349   gtk_box_pack_start (GTK_BOX (vbox8), scrolledwindow7, TRUE, TRUE, 0);
00350 
00351   tvFileList = gtk_tree_view_new ();
00352   gtk_widget_set_name (tvFileList, "tvFileList");
00353   gtk_widget_show (tvFileList);
00354   gtk_container_add (GTK_CONTAINER (scrolledwindow7), tvFileList);
00355 
00356   hbox = gtk_hbox_new (FALSE, 0);
00357   gtk_widget_set_name (hbox, "hbox");
00358   gtk_widget_show (hbox);
00359   gtk_box_pack_start (GTK_BOX (vbox8), hbox, FALSE, FALSE, 0);
00360 
00361   AddFileToPlaylist = gtk_button_new_with_mnemonic (_("Add to Playlist"));
00362   gtk_widget_set_name (AddFileToPlaylist, "AddFileToPlaylist");
00363   gtk_widget_show (AddFileToPlaylist);
00364   gtk_box_pack_start (GTK_BOX (hbox), AddFileToPlaylist, FALSE, FALSE, 0);
00365 
00366   File = gtk_label_new (_("File"));
00367   gtk_widget_set_name (File, "File");
00368   gtk_widget_show (File);
00369   gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 0), File);
00370 
00371   vbox5 = gtk_vbox_new (FALSE, 0);
00372   gtk_widget_set_name (vbox5, "vbox5");
00373   gtk_widget_show (vbox5);
00374   gtk_container_add (GTK_CONTAINER (notebook), vbox5);
00375   gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (notebook), vbox5,
00376                                       TRUE, TRUE, GTK_PACK_START);
00377 
00378   hbox12 = gtk_hbox_new (FALSE, 0);
00379   gtk_widget_set_name (hbox12, "hbox12");
00380   gtk_widget_show (hbox12);
00381   gtk_box_pack_start (GTK_BOX (vbox5), hbox12, FALSE, FALSE, 0);
00382   gtk_widget_set_size_request (hbox12, 247, 26);
00383 
00384   labelNetworkMRL = gtk_label_new (_("MRL:"));
00385   gtk_widget_set_name (labelNetworkMRL, "labelNetworkMRL");
00386   gtk_widget_show (labelNetworkMRL);
00387   gtk_box_pack_start (GTK_BOX (hbox12), labelNetworkMRL, FALSE, FALSE, 0);
00388   gtk_widget_set_size_request (labelNetworkMRL, 35, 16);
00389 
00390   comboMRL = gtk_combo_new ();
00391   g_object_set_data (G_OBJECT (GTK_COMBO (comboMRL)->popwin),
00392                      "GladeParentKey", comboMRL);
00393   gtk_widget_set_name (comboMRL, "comboMRL");
00394   gtk_widget_show (comboMRL);
00395   gtk_box_pack_start (GTK_BOX (hbox12), comboMRL, TRUE, TRUE, 0);
00396   comboMRL_items = g_list_append (comboMRL_items, (gpointer) "udp://@:1234");
00397   comboMRL_items = g_list_append (comboMRL_items, (gpointer) "udp6://@:1234");
00398   comboMRL_items = g_list_append (comboMRL_items, (gpointer) "rtp://");
00399   comboMRL_items = g_list_append (comboMRL_items, (gpointer) "rtp6://");
00400   comboMRL_items = g_list_append (comboMRL_items, (gpointer) "ftp://");
00401   comboMRL_items = g_list_append (comboMRL_items, (gpointer) "http://");
00402   comboMRL_items = g_list_append (comboMRL_items, (gpointer) "mms://");
00403   gtk_combo_set_popdown_strings (GTK_COMBO (comboMRL), comboMRL_items);
00404   g_list_free (comboMRL_items);
00405 
00406   entryMRL = GTK_COMBO (comboMRL)->entry;
00407   gtk_widget_set_name (entryMRL, "entryMRL");
00408   gtk_widget_show (entryMRL);
00409   gtk_widget_set_size_request (entryMRL, 158, 24);
00410   gtk_entry_set_activates_default (GTK_ENTRY (entryMRL), TRUE);
00411 
00412   hseparator15 = gtk_hseparator_new ();
00413   gtk_widget_set_name (hseparator15, "hseparator15");
00414   gtk_widget_show (hseparator15);
00415   gtk_box_pack_start (GTK_BOX (vbox5), hseparator15, FALSE, FALSE, 0);
00416   gtk_widget_set_size_request (hseparator15, -2, 10);
00417 
00418   table2 = gtk_table_new (6, 2, FALSE);
00419   gtk_widget_set_name (table2, "table2");
00420   gtk_widget_show (table2);
00421   gtk_box_pack_start (GTK_BOX (vbox5), table2, TRUE, TRUE, 0);
00422 
00423   labelNetworkPort = gtk_label_new (_("Port:"));
00424   gtk_widget_set_name (labelNetworkPort, "labelNetworkPort");
00425   gtk_widget_show (labelNetworkPort);
00426   gtk_table_attach (GTK_TABLE (table2), labelNetworkPort, 0, 1, 0, 1,
00427                     (GtkAttachOptions) (GTK_FILL),
00428                     (GtkAttachOptions) (0), 0, 0);
00429   gtk_label_set_justify (GTK_LABEL (labelNetworkPort), GTK_JUSTIFY_LEFT);
00430   gtk_misc_set_alignment (GTK_MISC (labelNetworkPort), 0, 0.5);
00431 
00432   labelNetworkAddress = gtk_label_new (_("Address:"));
00433   gtk_widget_set_name (labelNetworkAddress, "labelNetworkAddress");
00434   gtk_widget_show (labelNetworkAddress);
00435   gtk_table_attach (GTK_TABLE (table2), labelNetworkAddress, 0, 1, 1, 2,
00436                     (GtkAttachOptions) (GTK_FILL),
00437                     (GtkAttachOptions) (0), 0, 0);
00438   gtk_label_set_justify (GTK_LABEL (labelNetworkAddress), GTK_JUSTIFY_LEFT);
00439   gtk_misc_set_alignment (GTK_MISC (labelNetworkAddress), 0, 0.5);
00440 
00441   entryNetworkPort_adj = gtk_adjustment_new (1234, 0, 65535, 1, 10, 10);
00442   entryNetworkPort = gtk_spin_button_new (GTK_ADJUSTMENT (entryNetworkPort_adj), 1, 0);
00443   gtk_widget_set_name (entryNetworkPort, "entryNetworkPort");
00444   gtk_widget_show (entryNetworkPort);
00445   gtk_table_attach (GTK_TABLE (table2), entryNetworkPort, 1, 2, 0, 1,
00446                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00447                     (GtkAttachOptions) (0), 0, 0);
00448   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryNetworkPort), TRUE);
00449 
00450   comboNetworkAddress = gtk_combo_new ();
00451   g_object_set_data (G_OBJECT (GTK_COMBO (comboNetworkAddress)->popwin),
00452                      "GladeParentKey", comboNetworkAddress);
00453   gtk_widget_set_name (comboNetworkAddress, "comboNetworkAddress");
00454   gtk_widget_show (comboNetworkAddress);
00455   gtk_table_attach (GTK_TABLE (table2), comboNetworkAddress, 1, 2, 1, 2,
00456                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00457                     (GtkAttachOptions) (0), 0, 0);
00458 
00459   entryNetworkAddress = GTK_COMBO (comboNetworkAddress)->entry;
00460   gtk_widget_set_name (entryNetworkAddress, "entryNetworkAddress");
00461   gtk_widget_show (entryNetworkAddress);
00462 
00463   comboNetworkType = gtk_combo_new ();
00464   g_object_set_data (G_OBJECT (GTK_COMBO (comboNetworkType)->popwin),
00465                      "GladeParentKey", comboNetworkType);
00466   gtk_widget_set_name (comboNetworkType, "comboNetworkType");
00467   gtk_widget_show (comboNetworkType);
00468   gtk_table_attach (GTK_TABLE (table2), comboNetworkType, 1, 2, 2, 3,
00469                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00470                     (GtkAttachOptions) (0), 0, 0);
00471   comboNetworkType_items = g_list_append (comboNetworkType_items, (gpointer) _("unicast"));
00472   comboNetworkType_items = g_list_append (comboNetworkType_items, (gpointer) _("multicast"));
00473   gtk_combo_set_popdown_strings (GTK_COMBO (comboNetworkType), comboNetworkType_items);
00474   g_list_free (comboNetworkType_items);
00475 
00476   entryNetworkType = GTK_COMBO (comboNetworkType)->entry;
00477   gtk_widget_set_name (entryNetworkType, "entryNetworkType");
00478   gtk_widget_show (entryNetworkType);
00479   gtk_entry_set_activates_default (GTK_ENTRY (entryNetworkType), TRUE);
00480 
00481   labelNetworkType = gtk_label_new (_("Network: "));
00482   gtk_widget_set_name (labelNetworkType, "labelNetworkType");
00483   gtk_widget_show (labelNetworkType);
00484   gtk_table_attach (GTK_TABLE (table2), labelNetworkType, 0, 1, 2, 3,
00485                     (GtkAttachOptions) (GTK_FILL),
00486                     (GtkAttachOptions) (0), 0, 0);
00487   gtk_label_set_justify (GTK_LABEL (labelNetworkType), GTK_JUSTIFY_LEFT);
00488   gtk_misc_set_alignment (GTK_MISC (labelNetworkType), 0, 0.5);
00489 
00490   comboNetworkProtocolType = gtk_combo_new ();
00491   g_object_set_data (G_OBJECT (GTK_COMBO (comboNetworkProtocolType)->popwin),
00492                      "GladeParentKey", comboNetworkProtocolType);
00493   gtk_widget_set_name (comboNetworkProtocolType, "comboNetworkProtocolType");
00494   gtk_widget_show (comboNetworkProtocolType);
00495   gtk_table_attach (GTK_TABLE (table2), comboNetworkProtocolType, 1, 2, 3, 4,
00496                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00497                     (GtkAttachOptions) (0), 0, 0);
00498   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("udp"));
00499   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("udp6"));
00500   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("rtp"));
00501   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("rtp4"));
00502   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("ftp"));
00503   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("http"));
00504   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("sout"));
00505   comboNetworkProtocolType_items = g_list_append (comboNetworkProtocolType_items, (gpointer) _("mms"));
00506   gtk_combo_set_popdown_strings (GTK_COMBO (comboNetworkProtocolType), comboNetworkProtocolType_items);
00507   g_list_free (comboNetworkProtocolType_items);
00508 
00509   entryNetworkProtocolType = GTK_COMBO (comboNetworkProtocolType)->entry;
00510   gtk_widget_set_name (entryNetworkProtocolType, "entryNetworkProtocolType");
00511   gtk_widget_show (entryNetworkProtocolType);
00512 
00513   labelNetworkProtocol = gtk_label_new (_("Protocol:"));
00514   gtk_widget_set_name (labelNetworkProtocol, "labelNetworkProtocol");
00515   gtk_widget_show (labelNetworkProtocol);
00516   gtk_table_attach (GTK_TABLE (table2), labelNetworkProtocol, 0, 1, 3, 4,
00517                     (GtkAttachOptions) (GTK_FILL),
00518                     (GtkAttachOptions) (0), 0, 0);
00519   gtk_label_set_justify (GTK_LABEL (labelNetworkProtocol), GTK_JUSTIFY_LEFT);
00520   gtk_misc_set_alignment (GTK_MISC (labelNetworkProtocol), 0, 0.5);
00521 
00522   labelNetworkTranscode = gtk_label_new (_("Transcode:"));
00523   gtk_widget_set_name (labelNetworkTranscode, "labelNetworkTranscode");
00524   gtk_widget_show (labelNetworkTranscode);
00525   gtk_table_attach (GTK_TABLE (table2), labelNetworkTranscode, 0, 1, 4, 5,
00526                     (GtkAttachOptions) (GTK_FILL),
00527                     (GtkAttachOptions) (0), 0, 0);
00528   gtk_label_set_justify (GTK_LABEL (labelNetworkTranscode), GTK_JUSTIFY_LEFT);
00529   gtk_misc_set_alignment (GTK_MISC (labelNetworkTranscode), 0, 0.5);
00530 
00531   checkNetworkTranscode = gtk_check_button_new_with_mnemonic (_("enable"));
00532   gtk_widget_set_name (checkNetworkTranscode, "checkNetworkTranscode");
00533   gtk_widget_show (checkNetworkTranscode);
00534   gtk_table_attach (GTK_TABLE (table2), checkNetworkTranscode, 1, 2, 4, 5,
00535                     (GtkAttachOptions) (GTK_FILL),
00536                     (GtkAttachOptions) (0), 0, 0);
00537 
00538   hbox13 = gtk_hbox_new (FALSE, 0);
00539   gtk_widget_set_name (hbox13, "hbox13");
00540   gtk_widget_show (hbox13);
00541   gtk_box_pack_start (GTK_BOX (vbox5), hbox13, FALSE, FALSE, 0);
00542 
00543   AddNetworkPlaylist = gtk_button_new_with_mnemonic (_("Add to Playlist"));
00544   gtk_widget_set_name (AddNetworkPlaylist, "AddNetworkPlaylist");
00545   gtk_widget_show (AddNetworkPlaylist);
00546   gtk_box_pack_start (GTK_BOX (hbox13), AddNetworkPlaylist, FALSE, FALSE, 0);
00547 
00548   Network = gtk_label_new (_("Network"));
00549   gtk_widget_set_name (Network, "Network");
00550   gtk_widget_show (Network);
00551   gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 1), Network);
00552 
00553   vbox7 = gtk_vbox_new (FALSE, 0);
00554   gtk_widget_set_name (vbox7, "vbox7");
00555   gtk_widget_show (vbox7);
00556   gtk_container_add (GTK_CONTAINER (notebook), vbox7);
00557 
00558   scrolledV4Lwindow = gtk_scrolled_window_new (NULL, NULL);
00559   gtk_widget_set_name (scrolledV4Lwindow, "scrolledV4Lwindow");
00560   gtk_widget_show (scrolledV4Lwindow);
00561   gtk_box_pack_start (GTK_BOX (vbox7), scrolledV4Lwindow, TRUE, TRUE, 0);
00562   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledV4Lwindow), GTK_SHADOW_ETCHED_OUT);
00563 
00564   viewportV4L = gtk_viewport_new (NULL, NULL);
00565   gtk_widget_set_name (viewportV4L, "viewportV4L");
00566   gtk_widget_show (viewportV4L);
00567   gtk_container_add (GTK_CONTAINER (scrolledV4Lwindow), viewportV4L);
00568   gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewportV4L), GTK_SHADOW_OUT);
00569 
00570   tableV4L = gtk_table_new (13, 2, FALSE);
00571   gtk_widget_set_name (tableV4L, "tableV4L");
00572   gtk_widget_show (tableV4L);
00573   gtk_container_add (GTK_CONTAINER (viewportV4L), tableV4L);
00574 
00575   labelV4lVideDevice = gtk_label_new (_("Video:"));
00576   gtk_widget_set_name (labelV4lVideDevice, "labelV4lVideDevice");
00577   gtk_widget_show (labelV4lVideDevice);
00578   gtk_table_attach (GTK_TABLE (tableV4L), labelV4lVideDevice, 0, 1, 0, 1,
00579                     (GtkAttachOptions) (GTK_FILL),
00580                     (GtkAttachOptions) (0), 0, 0);
00581   gtk_label_set_justify (GTK_LABEL (labelV4lVideDevice), GTK_JUSTIFY_LEFT);
00582   gtk_misc_set_alignment (GTK_MISC (labelV4lVideDevice), 0, 0.5);
00583 
00584   labelV4LAudioDevice = gtk_label_new (_("Audio:"));
00585   gtk_widget_set_name (labelV4LAudioDevice, "labelV4LAudioDevice");
00586   gtk_widget_show (labelV4LAudioDevice);
00587   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LAudioDevice, 0, 1, 1, 2,
00588                     (GtkAttachOptions) (GTK_FILL),
00589                     (GtkAttachOptions) (0), 0, 0);
00590   gtk_label_set_justify (GTK_LABEL (labelV4LAudioDevice), GTK_JUSTIFY_LEFT);
00591   gtk_misc_set_alignment (GTK_MISC (labelV4LAudioDevice), 0, 0.5);
00592 
00593   labelV4LChannel = gtk_label_new (_("Channel:"));
00594   gtk_widget_set_name (labelV4LChannel, "labelV4LChannel");
00595   gtk_widget_show (labelV4LChannel);
00596   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LChannel, 0, 1, 2, 3,
00597                     (GtkAttachOptions) (GTK_FILL),
00598                     (GtkAttachOptions) (0), 0, 0);
00599   gtk_label_set_justify (GTK_LABEL (labelV4LChannel), GTK_JUSTIFY_LEFT);
00600   gtk_misc_set_alignment (GTK_MISC (labelV4LChannel), 0, 0.5);
00601 
00602   labelV4LNorm = gtk_label_new (_("Norm:"));
00603   gtk_widget_set_name (labelV4LNorm, "labelV4LNorm");
00604   gtk_widget_show (labelV4LNorm);
00605   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LNorm, 0, 1, 3, 4,
00606                     (GtkAttachOptions) (GTK_FILL),
00607                     (GtkAttachOptions) (0), 0, 0);
00608   gtk_label_set_justify (GTK_LABEL (labelV4LNorm), GTK_JUSTIFY_LEFT);
00609   gtk_misc_set_alignment (GTK_MISC (labelV4LNorm), 0, 0.5);
00610 
00611   labelV4LSize = gtk_label_new (_("Size:"));
00612   gtk_widget_set_name (labelV4LSize, "labelV4LSize");
00613   gtk_widget_show (labelV4LSize);
00614   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSize, 0, 1, 4, 5,
00615                     (GtkAttachOptions) (GTK_FILL),
00616                     (GtkAttachOptions) (0), 0, 0);
00617   gtk_label_set_justify (GTK_LABEL (labelV4LSize), GTK_JUSTIFY_LEFT);
00618   gtk_misc_set_alignment (GTK_MISC (labelV4LSize), 0, 0.5);
00619 
00620   labelV4LFrequency = gtk_label_new (_("Frequency:"));
00621   gtk_widget_set_name (labelV4LFrequency, "labelV4LFrequency");
00622   gtk_widget_show (labelV4LFrequency);
00623   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LFrequency, 0, 1, 5, 6,
00624                     (GtkAttachOptions) (GTK_FILL),
00625                     (GtkAttachOptions) (0), 0, 0);
00626   gtk_label_set_justify (GTK_LABEL (labelV4LFrequency), GTK_JUSTIFY_LEFT);
00627   gtk_misc_set_alignment (GTK_MISC (labelV4LFrequency), 0, 0.5);
00628 
00629   labelV4LSampleRate = gtk_label_new (_("Samplerate:"));
00630   gtk_widget_set_name (labelV4LSampleRate, "labelV4LSampleRate");
00631   gtk_widget_show (labelV4LSampleRate);
00632   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSampleRate, 0, 1, 6, 7,
00633                     (GtkAttachOptions) (GTK_FILL),
00634                     (GtkAttachOptions) (0), 0, 0);
00635   gtk_label_set_justify (GTK_LABEL (labelV4LSampleRate), GTK_JUSTIFY_LEFT);
00636   gtk_misc_set_alignment (GTK_MISC (labelV4LSampleRate), 0, 0.5);
00637 
00638   labelV4LQuality = gtk_label_new (_("Quality:"));
00639   gtk_widget_set_name (labelV4LQuality, "labelV4LQuality");
00640   gtk_widget_show (labelV4LQuality);
00641   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LQuality, 0, 1, 7, 8,
00642                     (GtkAttachOptions) (GTK_FILL),
00643                     (GtkAttachOptions) (0), 0, 0);
00644   gtk_label_set_justify (GTK_LABEL (labelV4LQuality), GTK_JUSTIFY_LEFT);
00645   gtk_misc_set_alignment (GTK_MISC (labelV4LQuality), 0, 0.5);
00646 
00647   labelV4LTuner = gtk_label_new (_("Tuner:"));
00648   gtk_widget_set_name (labelV4LTuner, "labelV4LTuner");
00649   gtk_widget_show (labelV4LTuner);
00650   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LTuner, 0, 1, 9, 10,
00651                     (GtkAttachOptions) (GTK_FILL),
00652                     (GtkAttachOptions) (0), 0, 0);
00653   gtk_label_set_justify (GTK_LABEL (labelV4LTuner), GTK_JUSTIFY_LEFT);
00654   gtk_misc_set_alignment (GTK_MISC (labelV4LTuner), 0, 0.5);
00655 
00656   labelV4LSoundDirection = gtk_label_new (_("Sound:"));
00657   gtk_widget_set_name (labelV4LSoundDirection, "labelV4LSoundDirection");
00658   gtk_widget_show (labelV4LSoundDirection);
00659   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSoundDirection, 0, 1, 8, 9,
00660                     (GtkAttachOptions) (GTK_FILL),
00661                     (GtkAttachOptions) (0), 0, 0);
00662   gtk_label_set_justify (GTK_LABEL (labelV4LSoundDirection), GTK_JUSTIFY_LEFT);
00663   gtk_misc_set_alignment (GTK_MISC (labelV4LSoundDirection), 0, 0.5);
00664 
00665   labelV4LMJPEG = gtk_label_new (_("MJPEG:"));
00666   gtk_widget_set_name (labelV4LMJPEG, "labelV4LMJPEG");
00667   gtk_widget_show (labelV4LMJPEG);
00668   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LMJPEG, 0, 1, 10, 11,
00669                     (GtkAttachOptions) (GTK_FILL),
00670                     (GtkAttachOptions) (0), 0, 0);
00671   gtk_label_set_justify (GTK_LABEL (labelV4LMJPEG), GTK_JUSTIFY_LEFT);
00672   gtk_misc_set_alignment (GTK_MISC (labelV4LMJPEG), 0, 0.5);
00673 
00674   labelV4LDecimation = gtk_label_new (_("Decimation:"));
00675   gtk_widget_set_name (labelV4LDecimation, "labelV4LDecimation");
00676   gtk_widget_show (labelV4LDecimation);
00677   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LDecimation, 0, 1, 11, 12,
00678                     (GtkAttachOptions) (GTK_FILL),
00679                     (GtkAttachOptions) (0), 0, 0);
00680   gtk_label_set_justify (GTK_LABEL (labelV4LDecimation), GTK_JUSTIFY_LEFT);
00681   gtk_misc_set_alignment (GTK_MISC (labelV4LDecimation), 0, 0.5);
00682 
00683   comboV4lVideoDevice = gtk_combo_new ();
00684   g_object_set_data (G_OBJECT (GTK_COMBO (comboV4lVideoDevice)->popwin),
00685                      "GladeParentKey", comboV4lVideoDevice);
00686   gtk_widget_set_name (comboV4lVideoDevice, "comboV4lVideoDevice");
00687   gtk_widget_show (comboV4lVideoDevice);
00688   gtk_table_attach (GTK_TABLE (tableV4L), comboV4lVideoDevice, 1, 2, 0, 1,
00689                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00690                     (GtkAttachOptions) (0), 0, 0);
00691   gtk_combo_set_value_in_list (GTK_COMBO (comboV4lVideoDevice), TRUE, TRUE);
00692   comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) "/dev/video");
00693   comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) "/dev/video0");
00694   comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) "/dev/video1");
00695   gtk_combo_set_popdown_strings (GTK_COMBO (comboV4lVideoDevice), comboV4lVideoDevice_items);
00696   g_list_free (comboV4lVideoDevice_items);
00697 
00698   entryV4LVideoDevice = GTK_COMBO (comboV4lVideoDevice)->entry;
00699   gtk_widget_set_name (entryV4LVideoDevice, "entryV4LVideoDevice");
00700   gtk_widget_show (entryV4LVideoDevice);
00701   gtk_entry_set_activates_default (GTK_ENTRY (entryV4LVideoDevice), TRUE);
00702 
00703   comboV4lAudioDevice = gtk_combo_new ();
00704   g_object_set_data (G_OBJECT (GTK_COMBO (comboV4lAudioDevice)->popwin),
00705                      "GladeParentKey", comboV4lAudioDevice);
00706   gtk_widget_set_name (comboV4lAudioDevice, "comboV4lAudioDevice");
00707   gtk_widget_show (comboV4lAudioDevice);
00708   gtk_table_attach (GTK_TABLE (tableV4L), comboV4lAudioDevice, 1, 2, 1, 2,
00709                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00710                     (GtkAttachOptions) (0), 0, 0);
00711   comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/dsp");
00712   comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/audio");
00713   comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/audio0");
00714   comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/audio1");
00715   gtk_combo_set_popdown_strings (GTK_COMBO (comboV4lAudioDevice), comboV4lAudioDevice_items);
00716   g_list_free (comboV4lAudioDevice_items);
00717 
00718   entryV4LAudioDevice = GTK_COMBO (comboV4lAudioDevice)->entry;
00719   gtk_widget_set_name (entryV4LAudioDevice, "entryV4LAudioDevice");
00720   gtk_widget_show (entryV4LAudioDevice);
00721   gtk_entry_set_activates_default (GTK_ENTRY (entryV4LAudioDevice), TRUE);
00722 
00723   entryV4LChannel_adj = gtk_adjustment_new (0, 0, 100, 1, 10, 10);
00724   entryV4LChannel = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LChannel_adj), 1, 0);
00725   gtk_widget_set_name (entryV4LChannel, "entryV4LChannel");
00726   gtk_widget_show (entryV4LChannel);
00727   gtk_table_attach (GTK_TABLE (tableV4L), entryV4LChannel, 1, 2, 2, 3,
00728                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00729                     (GtkAttachOptions) (0), 0, 0);
00730   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LChannel), TRUE);
00731 
00732   comboV4LNorm = gtk_combo_new ();
00733   g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LNorm)->popwin),
00734                      "GladeParentKey", comboV4LNorm);
00735   gtk_widget_set_name (comboV4LNorm, "comboV4LNorm");
00736   gtk_widget_show (comboV4LNorm);
00737   gtk_table_attach (GTK_TABLE (tableV4L), comboV4LNorm, 1, 2, 3, 4,
00738                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00739                     (GtkAttachOptions) (0), 0, 0);
00740   comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("pal"));
00741   comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("ntsc"));
00742   comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("secam"));
00743   comboV4LNorm_items = g_list_append (comboV4LNorm_items, (gpointer) _("auto"));
00744   gtk_combo_set_popdown_strings (GTK_COMBO (comboV4LNorm), comboV4LNorm_items);
00745   g_list_free (comboV4LNorm_items);
00746 
00747   entryV4LNorm = GTK_COMBO (comboV4LNorm)->entry;
00748   gtk_widget_set_name (entryV4LNorm, "entryV4LNorm");
00749   gtk_widget_show (entryV4LNorm);
00750   gtk_entry_set_activates_default (GTK_ENTRY (entryV4LNorm), TRUE);
00751 
00752   comboV4LSize = gtk_combo_new ();
00753   g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LSize)->popwin),
00754                      "GladeParentKey", comboV4LSize);
00755   gtk_widget_set_name (comboV4LSize, "comboV4LSize");
00756   gtk_widget_show (comboV4LSize);
00757   gtk_table_attach (GTK_TABLE (tableV4L), comboV4LSize, 1, 2, 4, 5,
00758                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00759                     (GtkAttachOptions) (0), 0, 0);
00760   comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("240x192"));
00761   comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("320x240"));
00762   comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("qsif"));
00763   comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("qcif"));
00764   comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("sif"));
00765   comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("cif"));
00766   comboV4LSize_items = g_list_append (comboV4LSize_items, (gpointer) _("vga"));
00767   gtk_combo_set_popdown_strings (GTK_COMBO (comboV4LSize), comboV4LSize_items);
00768   g_list_free (comboV4LSize_items);
00769 
00770   entryV4LSize = GTK_COMBO (comboV4LSize)->entry;
00771   gtk_widget_set_name (entryV4LSize, "entryV4LSize");
00772   gtk_widget_show (entryV4LSize);
00773   gtk_entry_set_activates_default (GTK_ENTRY (entryV4LSize), TRUE);
00774 
00775   entryV4LFrequency_adj = gtk_adjustment_new (8692, 0, 65535, 1, 10, 10);
00776   entryV4LFrequency = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LFrequency_adj), 1, 0);
00777   gtk_widget_set_name (entryV4LFrequency, "entryV4LFrequency");
00778   gtk_widget_show (entryV4LFrequency);
00779   gtk_table_attach (GTK_TABLE (tableV4L), entryV4LFrequency, 1, 2, 5, 6,
00780                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00781                     (GtkAttachOptions) (0), 0, 0);
00782   gtk_tooltips_set_tip (tooltips, entryV4LFrequency, _("kHz"), NULL);
00783   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LFrequency), TRUE);
00784 
00785   entryV4LSampleRate_adj = gtk_adjustment_new (44100, 0, 65535, 1, 10, 10);
00786   entryV4LSampleRate = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LSampleRate_adj), 1, 0);
00787   gtk_widget_set_name (entryV4LSampleRate, "entryV4LSampleRate");
00788   gtk_widget_show (entryV4LSampleRate);
00789   gtk_table_attach (GTK_TABLE (tableV4L), entryV4LSampleRate, 1, 2, 6, 7,
00790                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00791                     (GtkAttachOptions) (0), 0, 0);
00792   gtk_tooltips_set_tip (tooltips, entryV4LSampleRate, _("Hz/s"), NULL);
00793   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LSampleRate), TRUE);
00794 
00795   entryV4LQuality_adj = gtk_adjustment_new (100, 0, 65535, 1, 10, 10);
00796   entryV4LQuality = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LQuality_adj), 1, 0);
00797   gtk_widget_set_name (entryV4LQuality, "entryV4LQuality");
00798   gtk_widget_show (entryV4LQuality);
00799   gtk_table_attach (GTK_TABLE (tableV4L), entryV4LQuality, 1, 2, 7, 8,
00800                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00801                     (GtkAttachOptions) (0), 0, 0);
00802   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LQuality), TRUE);
00803 
00804   comboV4LSoundDirection = gtk_combo_new ();
00805   g_object_set_data (G_OBJECT (GTK_COMBO (comboV4LSoundDirection)->popwin),
00806                      "GladeParentKey", comboV4LSoundDirection);
00807   gtk_widget_set_name (comboV4LSoundDirection, "comboV4LSoundDirection");
00808   gtk_widget_show (comboV4LSoundDirection);
00809   gtk_table_attach (GTK_TABLE (tableV4L), comboV4LSoundDirection, 1, 2, 8, 9,
00810                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00811                     (GtkAttachOptions) (0), 0, 0);
00812   gtk_combo_set_value_in_list (GTK_COMBO (comboV4LSoundDirection), TRUE, TRUE);
00813   gtk_combo_set_use_arrows_always (GTK_COMBO (comboV4LSoundDirection), TRUE);
00814   comboV4LSoundDirection_items = g_list_append (comboV4LSoundDirection_items, (gpointer) _("mono"));
00815   comboV4LSoundDirection_items = g_list_append (comboV4LSoundDirection_items, (gpointer) _("stereo"));
00816   gtk_combo_set_popdown_strings (GTK_COMBO (comboV4LSoundDirection), comboV4LSoundDirection_items);
00817   g_list_free (comboV4LSoundDirection_items);
00818 
00819   entryV4LSoundDirection = GTK_COMBO (comboV4LSoundDirection)->entry;
00820   gtk_widget_set_name (entryV4LSoundDirection, "entryV4LSoundDirection");
00821   gtk_widget_show (entryV4LSoundDirection);
00822   gtk_entry_set_activates_default (GTK_ENTRY (entryV4LSoundDirection), TRUE);
00823 
00824   entryV4LTuner_adj = gtk_adjustment_new (0, -1, 100, 1, 10, 10);
00825   entryV4LTuner = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LTuner_adj), 1, 0);
00826   gtk_widget_set_name (entryV4LTuner, "entryV4LTuner");
00827   gtk_widget_show (entryV4LTuner);
00828   gtk_table_attach (GTK_TABLE (tableV4L), entryV4LTuner, 1, 2, 9, 10,
00829                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00830                     (GtkAttachOptions) (0), 0, 0);
00831   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryV4LTuner), TRUE);
00832 
00833   checkV4LMJPEG = gtk_check_button_new_with_mnemonic (_("enable"));
00834   gtk_widget_set_name (checkV4LMJPEG, "checkV4LMJPEG");
00835   gtk_widget_show (checkV4LMJPEG);
00836   gtk_table_attach (GTK_TABLE (tableV4L), checkV4LMJPEG, 1, 2, 10, 11,
00837                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00838                     (GtkAttachOptions) (0), 0, 0);
00839 
00840   entryV4LDecimation_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
00841   entryV4LDecimation = gtk_spin_button_new (GTK_ADJUSTMENT (entryV4LDecimation_adj), 1, 0);
00842   gtk_widget_set_name (entryV4LDecimation, "entryV4LDecimation");
00843   gtk_widget_show (entryV4LDecimation);
00844   gtk_table_attach (GTK_TABLE (tableV4L), entryV4LDecimation, 1, 2, 11, 12,
00845                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00846                     (GtkAttachOptions) (0), 0, 0);
00847 
00848   labelV4LTranscode = gtk_label_new (_("Transcode:"));
00849   gtk_widget_set_name (labelV4LTranscode, "labelV4LTranscode");
00850   gtk_widget_show (labelV4LTranscode);
00851   gtk_table_attach (GTK_TABLE (tableV4L), labelV4LTranscode, 0, 1, 12, 13,
00852                     (GtkAttachOptions) (GTK_FILL),
00853                     (GtkAttachOptions) (0), 0, 0);
00854   gtk_label_set_justify (GTK_LABEL (labelV4LTranscode), GTK_JUSTIFY_LEFT);
00855   gtk_misc_set_alignment (GTK_MISC (labelV4LTranscode), 0, 0.5);
00856 
00857   checkV4LTranscode = gtk_check_button_new_with_mnemonic (_("enable"));
00858   gtk_widget_set_name (checkV4LTranscode, "checkV4LTranscode");
00859   gtk_widget_show (checkV4LTranscode);
00860   gtk_table_attach (GTK_TABLE (tableV4L), checkV4LTranscode, 1, 2, 12, 13,
00861                     (GtkAttachOptions) (GTK_FILL),
00862                     (GtkAttachOptions) (0), 0, 0);
00863 
00864   hbox16 = gtk_hbox_new (FALSE, 0);
00865   gtk_widget_set_name (hbox16, "hbox16");
00866   gtk_widget_show (hbox16);
00867   gtk_box_pack_start (GTK_BOX (vbox7), hbox16, FALSE, FALSE, 0);
00868 
00869   AddCameraToPlaylist = gtk_button_new_with_mnemonic (_("Add to Playlist"));
00870   gtk_widget_set_name (AddCameraToPlaylist, "AddCameraToPlaylist");
00871   gtk_widget_show (AddCameraToPlaylist);
00872   gtk_box_pack_start (GTK_BOX (hbox16), AddCameraToPlaylist, FALSE, FALSE, 0);
00873 
00874   Camera = gtk_label_new (_("Camera"));
00875   gtk_widget_set_name (Camera, "Camera");
00876   gtk_widget_show (Camera);
00877   gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 2), Camera);
00878   gtk_label_set_justify (GTK_LABEL (Camera), GTK_JUSTIFY_LEFT);
00879 
00880   vbox1 = gtk_vbox_new (FALSE, 0);
00881   gtk_widget_set_name (vbox1, "vbox1");
00882   gtk_widget_show (vbox1);
00883   gtk_container_add (GTK_CONTAINER (notebook), vbox1);
00884 
00885   scrolledwindowTranscode = gtk_scrolled_window_new (NULL, NULL);
00886   gtk_widget_set_name (scrolledwindowTranscode, "scrolledwindowTranscode");
00887   gtk_widget_show (scrolledwindowTranscode);
00888   gtk_box_pack_start (GTK_BOX (vbox1), scrolledwindowTranscode, TRUE, TRUE, 0);
00889   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowTranscode), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
00890 
00891   viewport5 = gtk_viewport_new (NULL, NULL);
00892   gtk_widget_set_name (viewport5, "viewport5");
00893   gtk_widget_show (viewport5);
00894   gtk_container_add (GTK_CONTAINER (scrolledwindowTranscode), viewport5);
00895 
00896   tableTranscode = gtk_table_new (14, 2, FALSE);
00897   gtk_widget_set_name (tableTranscode, "tableTranscode");
00898   gtk_widget_show (tableTranscode);
00899   gtk_container_add (GTK_CONTAINER (viewport5), tableTranscode);
00900 
00901   labelVideoCodec = gtk_label_new (_("Video Codec:"));
00902   gtk_widget_set_name (labelVideoCodec, "labelVideoCodec");
00903   gtk_widget_show (labelVideoCodec);
00904   gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoCodec, 0, 1, 0, 1,
00905                     (GtkAttachOptions) (GTK_FILL),
00906                     (GtkAttachOptions) (0), 0, 0);
00907   gtk_label_set_justify (GTK_LABEL (labelVideoCodec), GTK_JUSTIFY_LEFT);
00908   gtk_misc_set_alignment (GTK_MISC (labelVideoCodec), 0, 0.5);
00909 
00910   comboVideoCodec = gtk_combo_new ();
00911   g_object_set_data (G_OBJECT (GTK_COMBO (comboVideoCodec)->popwin),
00912                      "GladeParentKey", comboVideoCodec);
00913   gtk_widget_set_name (comboVideoCodec, "comboVideoCodec");
00914   gtk_widget_show (comboVideoCodec);
00915   gtk_table_attach (GTK_TABLE (tableTranscode), comboVideoCodec, 1, 2, 0, 1,
00916                     (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
00917                     (GtkAttachOptions) (0), 0, 0);
00918   comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("huffyuv"));
00919   comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("mp1v"));
00920   comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("mp2v"));
00921   comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("mp4v"));
00922   comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("H263"));
00923   comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("WMV1"));
00924   comboVideoCodec_items = g_list_append (comboVideoCodec_items, (gpointer) _("WMV2"));
00925   gtk_combo_set_popdown_strings (GTK_COMBO (comboVideoCodec), comboVideoCodec_items);
00926   g_list_free (comboVideoCodec_items);
00927 
00928   entryVideoCodec = GTK_COMBO (comboVideoCodec)->entry;
00929   gtk_widget_set_name (entryVideoCodec, "entryVideoCodec");
00930   gtk_widget_show (entryVideoCodec);
00931   gtk_entry_set_activates_default (GTK_ENTRY (entryVideoCodec), TRUE);
00932 
00933   labelVideoBitrate = gtk_label_new (_("Video Bitrate:"));
00934   gtk_widget_set_name (labelVideoBitrate, "labelVideoBitrate");
00935   gtk_widget_show (labelVideoBitrate);
00936   gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoBitrate, 0, 1, 1, 2,
00937                     (GtkAttachOptions) (GTK_FILL),
00938                     (GtkAttachOptions) (0), 0, 0);
00939   gtk_label_set_justify (GTK_LABEL (labelVideoBitrate), GTK_JUSTIFY_LEFT);
00940   gtk_misc_set_alignment (GTK_MISC (labelVideoBitrate), 0, 0.5);
00941 
00942   labelVideoBitrateTolerance = gtk_label_new (_("Bitrate Tolerance:"));
00943   gtk_widget_set_name (labelVideoBitrateTolerance, "labelVideoBitrateTolerance");
00944   gtk_widget_show (labelVideoBitrateTolerance);
00945   gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoBitrateTolerance, 0, 1, 2, 3,
00946                     (GtkAttachOptions) (GTK_FILL),
00947                     (GtkAttachOptions) (0), 0, 0);
00948   gtk_label_set_justify (GTK_LABEL (labelVideoBitrateTolerance), GTK_JUSTIFY_LEFT);
00949   gtk_misc_set_alignment (GTK_MISC (labelVideoBitrateTolerance), 0, 0.5);
00950 
00951   labelVideoKeyInterval = gtk_label_new (_("Keyframe Interval:"));
00952   gtk_widget_set_name (labelVideoKeyInterval, "labelVideoKeyInterval");
00953   gtk_widget_show (labelVideoKeyInterval);
00954   gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoKeyInterval, 0, 1, 3, 4,
00955                     (GtkAttachOptions) (GTK_FILL),
00956                     (GtkAttachOptions) (0), 0, 0);
00957   gtk_label_set_justify (GTK_LABEL (labelVideoKeyInterval), GTK_JUSTIFY_LEFT);
00958   gtk_misc_set_alignment (GTK_MISC (labelVideoKeyInterval), 0, 0.5);
00959 
00960   labelAudioCodec = gtk_label_new (_("Audio Codec:"));
00961   gtk_widget_set_name (labelAudioCodec, "labelAudioCodec");
00962   gtk_widget_show (labelAudioCodec);
00963   gtk_table_attach (GTK_TABLE (tableTranscode), labelAudioCodec, 0, 1, 5, 6,
00964                     (GtkAttachOptions) (GTK_FILL),
00965                     (GtkAttachOptions) (0), 0, 0);
00966   gtk_label_set_justify (GTK_LABEL (labelAudioCodec), GTK_JUSTIFY_LEFT);
00967   gtk_misc_set_alignment (GTK_MISC (labelAudioCodec), 0, 0.5);
00968 
00969   labelVideoDeinterlace = gtk_label_new (_("Deinterlace:"));
00970   gtk_widget_set_name (labelVideoDeinterlace, "labelVideoDeinterlace");
00971   gtk_widget_show (labelVideoDeinterlace);
00972   gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoDeinterlace, 0, 1, 4, 5,
00973                     (GtkAttachOptions) (GTK_FILL),
00974                     (GtkAttachOptions) (0), 0, 0);
00975   gtk_label_set_justify (GTK_LABEL (labelVideoDeinterlace), GTK_JUSTIFY_LEFT);
00976   gtk_misc_set_alignment (GTK_MISC (labelVideoDeinterlace), 0, 0.5);
00977 
00978   labelStdAccess = gtk_label_new (_("Access:"));
00979   gtk_widget_set_name (labelStdAccess, "labelStdAccess");
00980   gtk_widget_show (labelStdAccess);
00981   gtk_table_attach (GTK_TABLE (tableTranscode), labelStdAccess, 0, 1, 7, 8,
00982                     (GtkAttachOptions) (GTK_FILL),
00983                     (GtkAttachOptions) (0), 0, 0);
00984   gtk_label_set_justify (GTK_LABEL (labelStdAccess), GTK_JUSTIFY_LEFT);
00985   gtk_misc_set_alignment (GTK_MISC (labelStdAccess), 0, 0.5);
00986 
00987   labelStdMuxer = gtk_label_new (_("Muxer:"));
00988   gtk_widget_set_name (labelStdMuxer, "labelStdMuxer");
00989   gtk_widget_show (labelStdMuxer);
00990   gtk_table_attach (GTK_TABLE (tableTranscode), labelStdMuxer, 0, 1, 8, 9,
00991                     (GtkAttachOptions) (GTK_FILL),
00992                     (GtkAttachOptions) (0), 0, 0);
00993   gtk_label_set_justify (GTK_LABEL (labelStdMuxer), GTK_JUSTIFY_LEFT);
00994   gtk_misc_set_alignment (GTK_MISC (labelStdMuxer), 0, 0.5);
00995 
00996   labelStdUrl = gtk_label_new (_("URL:"));
00997   gtk_widget_set_name (labelStdUrl, "labelStdUrl");
00998   gtk_widget_show (labelStdUrl);
00999   gtk_table_attach (GTK_TABLE (tableTranscode), labelStdUrl, 0, 1, 9, 10,
01000                     (GtkAttachOptions) (GTK_FILL),
01001                     (GtkAttachOptions) (0), 0, 0);
01002   gtk_label_set_justify (GTK_LABEL (labelStdUrl), GTK_JUSTIFY_LEFT);
01003   gtk_misc_set_alignment (GTK_MISC (labelStdUrl), 0, 0.5);
01004 
01005   labelStdTimeToLive = gtk_label_new (_("Time To Live (TTL):"));
01006   gtk_widget_set_name (labelStdTimeToLive, "labelStdTimeToLive");
01007   gtk_widget_show (labelStdTimeToLive);
01008   gtk_table_attach (GTK_TABLE (tableTranscode), labelStdTimeToLive, 0, 1, 10, 11,
01009                     (GtkAttachOptions) (GTK_FILL),
01010                     (GtkAttachOptions) (0), 0, 0);
01011   gtk_label_set_justify (GTK_LABEL (labelStdTimeToLive), GTK_JUSTIFY_LEFT);
01012   gtk_misc_set_alignment (GTK_MISC (labelStdTimeToLive), 0, 0.5);
01013 
01014   entryStdTTL_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
01015   entryStdTTL = gtk_spin_button_new (GTK_ADJUSTMENT (entryStdTTL_adj), 1, 0);
01016   gtk_widget_set_name (entryStdTTL, "entryStdTTL");
01017   gtk_widget_show (entryStdTTL);
01018   gtk_table_attach (GTK_TABLE (tableTranscode), entryStdTTL, 1, 2, 10, 11,
01019                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01020                     (GtkAttachOptions) (0), 0, 0);
01021 
01022   comboStdURL = gtk_combo_new ();
01023   g_object_set_data (G_OBJECT (GTK_COMBO (comboStdURL)->popwin),
01024                      "GladeParentKey", comboStdURL);
01025   gtk_widget_set_name (comboStdURL, "comboStdURL");
01026   gtk_widget_show (comboStdURL);
01027   gtk_table_attach (GTK_TABLE (tableTranscode), comboStdURL, 1, 2, 9, 10,
01028                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01029                     (GtkAttachOptions) (0), 0, 0);
01030   comboStdURL_items = g_list_append (comboStdURL_items, (gpointer) _("127.0.0.1"));
01031   comboStdURL_items = g_list_append (comboStdURL_items, (gpointer) _("localhost"));
01032   comboStdURL_items = g_list_append (comboStdURL_items, (gpointer) _("localhost.localdomain"));
01033   comboStdURL_items = g_list_append (comboStdURL_items, (gpointer) _("239.0.0.42"));
01034   gtk_combo_set_popdown_strings (GTK_COMBO (comboStdURL), comboStdURL_items);
01035   g_list_free (comboStdURL_items);
01036 
01037   entryStdURL = GTK_COMBO (comboStdURL)->entry;
01038   gtk_widget_set_name (entryStdURL, "entryStdURL");
01039   gtk_widget_show (entryStdURL);
01040   gtk_entry_set_activates_default (GTK_ENTRY (entryStdURL), TRUE);
01041 
01042   comboStdMuxer = gtk_combo_new ();
01043   g_object_set_data (G_OBJECT (GTK_COMBO (comboStdMuxer)->popwin),
01044                      "GladeParentKey", comboStdMuxer);
01045   gtk_widget_set_name (comboStdMuxer, "comboStdMuxer");
01046   gtk_widget_show (comboStdMuxer);
01047   gtk_table_attach (GTK_TABLE (tableTranscode), comboStdMuxer, 1, 2, 8, 9,
01048                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01049                     (GtkAttachOptions) (0), 0, 0);
01050   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("PS"));
01051   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("TS"));
01052   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("MPEG1"));
01053   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("AVI"));
01054   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("OGG"));
01055   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("MP4"));
01056   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("MOV"));
01057   comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("ASF"));
01058   gtk_combo_set_popdown_strings (GTK_COMBO (comboStdMuxer), comboStdMuxer_items);
01059   g_list_free (comboStdMuxer_items);
01060 
01061   entryStdMuxer = GTK_COMBO (comboStdMuxer)->entry;
01062   gtk_widget_set_name (entryStdMuxer, "entryStdMuxer");
01063   gtk_widget_show (entryStdMuxer);
01064   gtk_entry_set_activates_default (GTK_ENTRY (entryStdMuxer), TRUE);
01065 
01066   entryAudioBitrate_adj = gtk_adjustment_new (256, 0, 65535, 1, 10, 10);
01067   entryAudioBitrate = gtk_spin_button_new (GTK_ADJUSTMENT (entryAudioBitrate_adj), 1, 0);
01068   gtk_widget_set_name (entryAudioBitrate, "entryAudioBitrate");
01069   gtk_widget_show (entryAudioBitrate);
01070   gtk_table_attach (GTK_TABLE (tableTranscode), entryAudioBitrate, 1, 2, 6, 7,
01071                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01072                     (GtkAttachOptions) (0), 0, 0);
01073   gtk_tooltips_set_tip (tooltips, entryAudioBitrate, _("kbits/s"), NULL);
01074   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryAudioBitrate), TRUE);
01075 
01076   comboAudioCodec = gtk_combo_new ();
01077   g_object_set_data (G_OBJECT (GTK_COMBO (comboAudioCodec)->popwin),
01078                      "GladeParentKey", comboAudioCodec);
01079   gtk_widget_set_name (comboAudioCodec, "comboAudioCodec");
01080   gtk_widget_show (comboAudioCodec);
01081   gtk_table_attach (GTK_TABLE (tableTranscode), comboAudioCodec, 1, 2, 5, 6,
01082                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01083                     (GtkAttachOptions) (0), 0, 0);
01084   comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("alaw"));
01085   comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("ulaw"));
01086   comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("mpga"));
01087   comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("mp3"));
01088   comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("a52"));
01089   comboAudioCodec_items = g_list_append (comboAudioCodec_items, (gpointer) _("vorb"));
01090   gtk_combo_set_popdown_strings (GTK_COMBO (comboAudioCodec), comboAudioCodec_items);
01091   g_list_free (comboAudioCodec_items);
01092 
01093   entryAudioCodec = GTK_COMBO (comboAudioCodec)->entry;
01094   gtk_widget_set_name (entryAudioCodec, "entryAudioCodec");
01095   gtk_widget_show (entryAudioCodec);
01096   gtk_entry_set_activates_default (GTK_ENTRY (entryAudioCodec), TRUE);
01097 
01098   checkVideoDeinterlace = gtk_check_button_new_with_mnemonic (_("enable"));
01099   gtk_widget_set_name (checkVideoDeinterlace, "checkVideoDeinterlace");
01100   gtk_widget_show (checkVideoDeinterlace);
01101   gtk_table_attach (GTK_TABLE (tableTranscode), checkVideoDeinterlace, 1, 2, 4, 5,
01102                     (GtkAttachOptions) (GTK_FILL),
01103                     (GtkAttachOptions) (0), 0, 0);
01104 
01105   entryVideoKeyFrameInterval_adj = gtk_adjustment_new (80, 0, 65535, 1, 10, 10);
01106   entryVideoKeyFrameInterval = gtk_spin_button_new (GTK_ADJUSTMENT (entryVideoKeyFrameInterval_adj), 1, 0);
01107   gtk_widget_set_name (entryVideoKeyFrameInterval, "entryVideoKeyFrameInterval");
01108   gtk_widget_show (entryVideoKeyFrameInterval);
01109   gtk_table_attach (GTK_TABLE (tableTranscode), entryVideoKeyFrameInterval, 1, 2, 3, 4,
01110                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01111                     (GtkAttachOptions) (0), 0, 0);
01112   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryVideoKeyFrameInterval), TRUE);
01113 
01114   entryVideoBitrateTolerance_adj = gtk_adjustment_new (800000, 0, 1e+06, 1, 10, 10);
01115   entryVideoBitrateTolerance = gtk_spin_button_new (GTK_ADJUSTMENT (entryVideoBitrateTolerance_adj), 1, 0);
01116   gtk_widget_set_name (entryVideoBitrateTolerance, "entryVideoBitrateTolerance");
01117   gtk_widget_show (entryVideoBitrateTolerance);
01118   gtk_table_attach (GTK_TABLE (tableTranscode), entryVideoBitrateTolerance, 1, 2, 2, 3,
01119                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01120                     (GtkAttachOptions) (0), 0, 0);
01121   gtk_tooltips_set_tip (tooltips, entryVideoBitrateTolerance, _("bits/s"), NULL);
01122   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryVideoBitrateTolerance), TRUE);
01123 
01124   entryVideoBitrate_adj = gtk_adjustment_new (3000, 0, 65535, 1, 10, 10);
01125   entryVideoBitrate = gtk_spin_button_new (GTK_ADJUSTMENT (entryVideoBitrate_adj), 1, 0);
01126   gtk_widget_set_name (entryVideoBitrate, "entryVideoBitrate");
01127   gtk_widget_show (entryVideoBitrate);
01128   gtk_table_attach (GTK_TABLE (tableTranscode), entryVideoBitrate, 1, 2, 1, 2,
01129                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01130                     (GtkAttachOptions) (0), 0, 0);
01131   gtk_tooltips_set_tip (tooltips, entryVideoBitrate, _("kbits/s"), NULL);
01132   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryVideoBitrate), TRUE);
01133 
01134   labelAudioBitrate = gtk_label_new (_("Audio Bitrate :"));
01135   gtk_widget_set_name (labelAudioBitrate, "labelAudioBitrate");
01136   gtk_widget_show (labelAudioBitrate);
01137   gtk_table_attach (GTK_TABLE (tableTranscode), labelAudioBitrate, 0, 1, 6, 7,
01138                     (GtkAttachOptions) (GTK_FILL),
01139                     (GtkAttachOptions) (0), 0, 0);
01140   gtk_label_set_justify (GTK_LABEL (labelAudioBitrate), GTK_JUSTIFY_LEFT);
01141   gtk_misc_set_alignment (GTK_MISC (labelAudioBitrate), 0, 0.5);
01142 
01143   comboStdAccess = gtk_combo_new ();
01144   g_object_set_data (G_OBJECT (GTK_COMBO (comboStdAccess)->popwin),
01145                      "GladeParentKey", comboStdAccess);
01146   gtk_widget_set_name (comboStdAccess, "comboStdAccess");
01147   gtk_widget_show (comboStdAccess);
01148   gtk_table_attach (GTK_TABLE (tableTranscode), comboStdAccess, 1, 2, 7, 8,
01149                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01150                     (GtkAttachOptions) (0), 0, 0);
01151 
01152   entryStdAccess = GTK_COMBO (comboStdAccess)->entry;
01153   gtk_widget_set_name (entryStdAccess, "entryStdAccess");
01154   gtk_widget_show (entryStdAccess);
01155   gtk_entry_set_activates_default (GTK_ENTRY (entryStdAccess), TRUE);
01156 
01157   labelSAP = gtk_label_new (_("SAP Announce:"));
01158   gtk_widget_set_name (labelSAP, "labelSAP");
01159   gtk_widget_show (labelSAP);
01160   gtk_table_attach (GTK_TABLE (tableTranscode), labelSAP, 0, 1, 11, 12,
01161                     (GtkAttachOptions) (GTK_FILL),
01162                     (GtkAttachOptions) (0), 0, 0);
01163   gtk_label_set_justify (GTK_LABEL (labelSAP), GTK_JUSTIFY_LEFT);
01164   gtk_misc_set_alignment (GTK_MISC (labelSAP), 0, 0.5);
01165 
01166   checkSAP = gtk_check_button_new_with_mnemonic (_("enable"));
01167   gtk_widget_set_name (checkSAP, "checkSAP");
01168   gtk_widget_show (checkSAP);
01169   gtk_table_attach (GTK_TABLE (tableTranscode), checkSAP, 1, 2, 11, 12,
01170                     (GtkAttachOptions) (GTK_FILL),
01171                     (GtkAttachOptions) (0), 0, 0);
01172 
01173   checkSLP = gtk_check_button_new_with_mnemonic (_("enable"));
01174   gtk_widget_set_name (checkSLP, "checkSLP");
01175   gtk_widget_show (checkSLP);
01176   gtk_table_attach (GTK_TABLE (tableTranscode), checkSLP, 1, 2, 12, 13,
01177                     (GtkAttachOptions) (GTK_FILL),
01178                     (GtkAttachOptions) (0), 0, 0);
01179 
01180   labelSLP_ = gtk_label_new (_("SLP Announce:"));
01181   gtk_widget_set_name (labelSLP_, "labelSLP_");
01182   gtk_widget_show (labelSLP_);
01183   gtk_table_attach (GTK_TABLE (tableTranscode), labelSLP_, 0, 1, 12, 13,
01184                     (GtkAttachOptions) (GTK_FILL),
01185                     (GtkAttachOptions) (0), 0, 0);
01186   gtk_label_set_justify (GTK_LABEL (labelSLP_), GTK_JUSTIFY_LEFT);
01187   gtk_misc_set_alignment (GTK_MISC (labelSLP_), 0, 0.5);
01188 
01189   labelAnounceChannel = gtk_label_new (_("Announce Channel:"));
01190   gtk_widget_set_name (labelAnounceChannel, "labelAnounceChannel");
01191   gtk_widget_show (labelAnounceChannel);
01192   gtk_table_attach (GTK_TABLE (tableTranscode), labelAnounceChannel, 0, 1, 13, 14,
01193                     (GtkAttachOptions) (GTK_FILL),
01194                     (GtkAttachOptions) (0), 0, 0);
01195   gtk_label_set_justify (GTK_LABEL (labelAnounceChannel), GTK_JUSTIFY_LEFT);
01196   gtk_misc_set_alignment (GTK_MISC (labelAnounceChannel), 0, 0.5);
01197 
01198   comboAnnounceChannel = gtk_combo_new ();
01199   g_object_set_data (G_OBJECT (GTK_COMBO (comboAnnounceChannel)->popwin),
01200                      "GladeParentKey", comboAnnounceChannel);
01201   gtk_widget_set_name (comboAnnounceChannel, "comboAnnounceChannel");
01202   gtk_widget_show (comboAnnounceChannel);
01203   gtk_table_attach (GTK_TABLE (tableTranscode), comboAnnounceChannel, 1, 2, 13, 14,
01204                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01205                     (GtkAttachOptions) (0), 0, 0);
01206 
01207   entryAnnounceChannel = GTK_COMBO (comboAnnounceChannel)->entry;
01208   gtk_widget_set_name (entryAnnounceChannel, "entryAnnounceChannel");
01209   gtk_widget_show (entryAnnounceChannel);
01210 
01211   hbox14 = gtk_hbox_new (FALSE, 0);
01212   gtk_widget_set_name (hbox14, "hbox14");
01213   gtk_widget_show (hbox14);
01214   gtk_box_pack_start (GTK_BOX (vbox1), hbox14, FALSE, FALSE, 0);
01215 
01216   AddTranscodeToPlaylist = gtk_button_new_with_mnemonic (_("Add to Playlist"));
01217   gtk_widget_set_name (AddTranscodeToPlaylist, "AddTranscodeToPlaylist");
01218   gtk_widget_show (AddTranscodeToPlaylist);
01219   gtk_box_pack_start (GTK_BOX (hbox14), AddTranscodeToPlaylist, FALSE, FALSE, 0);
01220 
01221   Transcode = gtk_label_new (_("Transcode"));
01222   gtk_widget_set_name (Transcode, "Transcode");
01223   gtk_widget_show (Transcode);
01224   gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 3), Transcode);
01225 
01226   vbox4 = gtk_vbox_new (FALSE, 0);
01227   gtk_widget_set_name (vbox4, "vbox4");
01228   gtk_widget_show (vbox4);
01229   gtk_container_add (GTK_CONTAINER (notebook), vbox4);
01230 
01231   scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL);
01232   gtk_widget_set_name (scrolledwindow5, "scrolledwindow5");
01233   gtk_widget_show (scrolledwindow5);
01234   gtk_box_pack_start (GTK_BOX (vbox4), scrolledwindow5, TRUE, TRUE, 0);
01235   GTK_WIDGET_UNSET_FLAGS (scrolledwindow5, GTK_CAN_FOCUS);
01236   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
01237   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_SHADOW_IN);
01238 
01239   tvPlaylist = gtk_tree_view_new ();
01240   gtk_widget_set_name (tvPlaylist, "tvPlaylist");
01241   gtk_widget_show (tvPlaylist);
01242   gtk_container_add (GTK_CONTAINER (scrolledwindow5), tvPlaylist);
01243 
01244   hbox11 = gtk_hbox_new (TRUE, 0);
01245   gtk_widget_set_name (hbox11, "hbox11");
01246   gtk_widget_show (hbox11);
01247   gtk_box_pack_start (GTK_BOX (vbox4), hbox11, FALSE, FALSE, 2);
01248 
01249   UpdatePlaylist = gtk_button_new_with_mnemonic (_("Update"));
01250   gtk_widget_set_name (UpdatePlaylist, "UpdatePlaylist");
01251   gtk_widget_show (UpdatePlaylist);
01252   gtk_box_pack_start (GTK_BOX (hbox11), UpdatePlaylist, FALSE, FALSE, 0);
01253 
01254   DeletePlaylist = gtk_button_new_with_mnemonic (_("Delete"));
01255   gtk_widget_set_name (DeletePlaylist, "DeletePlaylist");
01256   gtk_widget_show (DeletePlaylist);
01257   gtk_box_pack_start (GTK_BOX (hbox11), DeletePlaylist, FALSE, FALSE, 5);
01258 
01259   ClearPlaylist = gtk_button_new_with_mnemonic (_(" Clear "));
01260   gtk_widget_set_name (ClearPlaylist, "ClearPlaylist");
01261   gtk_widget_show (ClearPlaylist);
01262   gtk_box_pack_start (GTK_BOX (hbox11), ClearPlaylist, FALSE, FALSE, 5);
01263 
01264   playlist = gtk_label_new (_("Playlist"));
01265   gtk_widget_set_name (playlist, "playlist");
01266   gtk_widget_show (playlist);
01267   gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 4), playlist);
01268 
01269   vbox2 = gtk_vbox_new (FALSE, 0);
01270   gtk_widget_set_name (vbox2, "vbox2");
01271   gtk_widget_show (vbox2);
01272   gtk_container_add (GTK_CONTAINER (notebook), vbox2);
01273 
01274   scrolledwindowPreference = gtk_scrolled_window_new (NULL, NULL);
01275   gtk_widget_set_name (scrolledwindowPreference, "scrolledwindowPreference");
01276   gtk_widget_show (scrolledwindowPreference);
01277   gtk_box_pack_start (GTK_BOX (vbox2), scrolledwindowPreference, TRUE, TRUE, 0);
01278 
01279   tvPreferences = gtk_tree_view_new ();
01280   gtk_widget_set_name (tvPreferences, "tvPreferences");
01281   gtk_widget_show (tvPreferences);
01282   gtk_container_add (GTK_CONTAINER (scrolledwindowPreference), tvPreferences);
01283   gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tvPreferences), FALSE);
01284 
01285   hbox2 = gtk_hbox_new (TRUE, 0);
01286   gtk_widget_set_name (hbox2, "hbox2");
01287   gtk_widget_show (hbox2);
01288   gtk_box_pack_end (GTK_BOX (vbox2), hbox2, FALSE, FALSE, 2);
01289 
01290   PreferenceSave = gtk_button_new_with_mnemonic (_(" Save "));
01291   gtk_widget_set_name (PreferenceSave, "PreferenceSave");
01292   gtk_widget_show (PreferenceSave);
01293   gtk_box_pack_start (GTK_BOX (hbox2), PreferenceSave, FALSE, FALSE, 0);
01294 
01295   PreferenceApply = gtk_button_new_with_mnemonic (_(" Apply "));
01296   gtk_widget_set_name (PreferenceApply, "PreferenceApply");
01297   gtk_widget_show (PreferenceApply);
01298   gtk_box_pack_start (GTK_BOX (hbox2), PreferenceApply, FALSE, FALSE, 0);
01299 
01300   PreferenceCancel = gtk_button_new_with_mnemonic (_(" Cancel "));
01301   gtk_widget_set_name (PreferenceCancel, "PreferenceCancel");
01302   gtk_widget_show (PreferenceCancel);
01303   gtk_box_pack_end (GTK_BOX (hbox2), PreferenceCancel, FALSE, FALSE, 0);
01304 
01305   preferences = gtk_label_new (_("Preference"));
01306   gtk_widget_set_name (preferences, "preferences");
01307   gtk_widget_show (preferences);
01308   gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 5), preferences);
01309 
01310   scrolledwindow3 = gtk_scrolled_window_new (NULL, NULL);
01311   gtk_widget_set_name (scrolledwindow3, "scrolledwindow3");
01312   gtk_widget_show (scrolledwindow3);
01313   gtk_container_add (GTK_CONTAINER (notebook), scrolledwindow3);
01314   GTK_WIDGET_UNSET_FLAGS (scrolledwindow3, GTK_CAN_FOCUS);
01315   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow3), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
01316 
01317   viewport1 = gtk_viewport_new (NULL, NULL);
01318   gtk_widget_set_name (viewport1, "viewport1");
01319   gtk_widget_show (viewport1);
01320   gtk_container_add (GTK_CONTAINER (scrolledwindow3), viewport1);
01321 
01322   fixed2 = gtk_fixed_new ();
01323   gtk_widget_set_name (fixed2, "fixed2");
01324   gtk_widget_show (fixed2);
01325   gtk_container_add (GTK_CONTAINER (viewport1), fixed2);
01326 
01327   aboutImage = create_pixmap (pda, "vlc48x48.png");
01328   gtk_widget_set_name (aboutImage, "aboutImage");
01329   gtk_widget_show (aboutImage);
01330   gtk_fixed_put (GTK_FIXED (fixed2), aboutImage, 0, 0);
01331   gtk_widget_set_size_request (aboutImage, 48, 48);
01332 
01333   labelDescription = gtk_label_new (_("VLC media player is an MPEG, MPEG 2, MP3 and DivX player that accepts input from local or network sources and is licensed under the GPL (http://www.gnu.org/copyleft/gpl.html)."));
01334   gtk_widget_set_name (labelDescription, "labelDescription");
01335   gtk_widget_show (labelDescription);
01336   gtk_fixed_put (GTK_FIXED (fixed2), labelDescription, 16, 112);
01337   gtk_widget_set_size_request (labelDescription, 200, 112);
01338   gtk_label_set_justify (GTK_LABEL (labelDescription), GTK_JUSTIFY_LEFT);
01339   gtk_label_set_line_wrap (GTK_LABEL (labelDescription), TRUE);
01340 
01341   labelAuthors = gtk_label_new (_("Authors: the VideoLAN Team, http://www.videolan.org/team/"));
01342   gtk_widget_set_name (labelAuthors, "labelAuthors");
01343   gtk_widget_show (labelAuthors);
01344   gtk_fixed_put (GTK_FIXED (fixed2), labelAuthors, 16, 72);
01345   gtk_widget_set_size_request (labelAuthors, 208, 32);
01346   gtk_label_set_justify (GTK_LABEL (labelAuthors), GTK_JUSTIFY_LEFT);
01347   gtk_label_set_line_wrap (GTK_LABEL (labelAuthors), TRUE);
01348 
01349   labelCopyright = gtk_label_new (_("(c) 1996-2004 the the VideoLAN team team"));
01350   gtk_widget_set_name (labelCopyright, "labelCopyright");
01351   gtk_widget_show (labelCopyright);
01352   gtk_fixed_put (GTK_FIXED (fixed2), labelCopyright, 16, 48);
01353   gtk_widget_set_size_request (labelCopyright, 208, 16);
01354 
01355   labelProgramName = gtk_label_new (_("VLC media player"));
01356   gtk_widget_set_name (labelProgramName, "labelProgramName");
01357   gtk_widget_show (labelProgramName);
01358   gtk_fixed_put (GTK_FIXED (fixed2), labelProgramName, 48, 16);
01359   gtk_widget_set_size_request (labelProgramName, 152, 16);
01360   gtk_label_set_line_wrap (GTK_LABEL (labelProgramName), TRUE);
01361 
01362   about = gtk_label_new (_("About"));
01363   gtk_widget_set_name (about, "about");
01364   gtk_widget_show (about);
01365   gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 6), about);
01366 
01367   g_signal_connect ((gpointer) pda, "delete_event",
01368                     G_CALLBACK (onPDADeleteEvent),
01369                     NULL);
01370   g_signal_connect ((gpointer) tbRewind, "clicked",
01371                     G_CALLBACK (onRewind),
01372                     NULL);
01373   g_signal_connect ((gpointer) tbPause, "clicked",
01374                     G_CALLBACK (onPause),
01375                     NULL);
01376   g_signal_connect ((gpointer) tbPlay, "clicked",
01377                     G_CALLBACK (onPlay),
01378                     NULL);
01379   g_signal_connect ((gpointer) tbStop, "clicked",
01380                     G_CALLBACK (onStop),
01381                     NULL);
01382   g_signal_connect ((gpointer) tbForward, "clicked",
01383                     G_CALLBACK (onForward),
01384                     NULL);
01385   g_signal_connect ((gpointer) tbAbout, "clicked",
01386                     G_CALLBACK (onAbout),
01387                     NULL);
01388   g_signal_connect ((gpointer) timeSlider, "button_release_event",
01389                     G_CALLBACK (SliderRelease),
01390                     NULL);
01391   g_signal_connect ((gpointer) timeSlider, "button_press_event",
01392                     G_CALLBACK (SliderPress),
01393                     NULL);
01394   g_signal_connect ((gpointer) timeSlider, "move_slider",
01395                     G_CALLBACK (SliderMove),
01396                     NULL);
01397   g_signal_connect ((gpointer) tvFileList, "row_activated",
01398                     G_CALLBACK (onFileListRow),
01399                     NULL);
01400   g_signal_connect ((gpointer) AddFileToPlaylist, "pressed",
01401                     G_CALLBACK (onAddFileToPlaylist),
01402                     NULL);
01403   g_signal_connect ((gpointer) entryNetworkPort, "changed",
01404                     G_CALLBACK (NetworkBuildMRL),
01405                     NULL);
01406   g_signal_connect ((gpointer) entryNetworkAddress, "changed",
01407                     G_CALLBACK (NetworkBuildMRL),
01408                     NULL);
01409   g_signal_connect ((gpointer) entryNetworkType, "changed",
01410                     G_CALLBACK (NetworkBuildMRL),
01411                     NULL);
01412   g_signal_connect ((gpointer) entryNetworkProtocolType, "changed",
01413                     G_CALLBACK (NetworkBuildMRL),
01414                     NULL);
01415   g_signal_connect ((gpointer) AddNetworkPlaylist, "pressed",
01416                     G_CALLBACK (onAddNetworkPlaylist),
01417                     NULL);
01418   g_signal_connect ((gpointer) AddCameraToPlaylist, "pressed",
01419                     G_CALLBACK (onAddCameraToPlaylist),
01420                     NULL);
01421   g_signal_connect ((gpointer) entryStdAccess, "changed",
01422                     G_CALLBACK (onEntryStdAccessChanged),
01423                     NULL);
01424   g_signal_connect ((gpointer) AddTranscodeToPlaylist, "pressed",
01425                     G_CALLBACK (onAddTranscodeToPlaylist),
01426                     NULL);
01427   g_signal_connect ((gpointer) tvPlaylist, "event",
01428                     G_CALLBACK (PlaylistEvent),
01429                     NULL);
01430   g_signal_connect ((gpointer) tvPlaylist, "columns_changed",
01431                     G_CALLBACK (onPlaylistColumnsChanged),
01432                     NULL);
01433   g_signal_connect ((gpointer) tvPlaylist, "select_cursor_row",
01434                     G_CALLBACK (onPlaylistRowSelected),
01435                     NULL);
01436   g_signal_connect ((gpointer) tvPlaylist, "row_activated",
01437                     G_CALLBACK (onPlaylistRow),
01438                     NULL);
01439   g_signal_connect ((gpointer) UpdatePlaylist, "pressed",
01440                     G_CALLBACK (onUpdatePlaylist),
01441                     NULL);
01442   g_signal_connect ((gpointer) DeletePlaylist, "pressed",
01443                     G_CALLBACK (onDeletePlaylist),
01444                     NULL);
01445   g_signal_connect ((gpointer) ClearPlaylist, "pressed",
01446                     G_CALLBACK (onClearPlaylist),
01447                     NULL);
01448   g_signal_connect ((gpointer) PreferenceSave, "pressed",
01449                     G_CALLBACK (onPreferenceSave),
01450                     NULL);
01451   g_signal_connect ((gpointer) PreferenceApply, "pressed",
01452                     G_CALLBACK (onPreferenceApply),
01453                     NULL);
01454   g_signal_connect ((gpointer) PreferenceCancel, "pressed",
01455                     G_CALLBACK (onPreferenceCancel),
01456                     NULL);
01457 
01458   /* Store pointers to all widgets, for use by lookup_widget(). */
01459   GLADE_HOOKUP_OBJECT_NO_REF (pda, pda, "pda");
01460   GLADE_HOOKUP_OBJECT (pda, vbox, "vbox");
01461   GLADE_HOOKUP_OBJECT (pda, toolbar, "toolbar");
01462   GLADE_HOOKUP_OBJECT (pda, tbRewind, "tbRewind");
01463   GLADE_HOOKUP_OBJECT (pda, tbPause, "tbPause");
01464   GLADE_HOOKUP_OBJECT (pda, tbPlay, "tbPlay");
01465   GLADE_HOOKUP_OBJECT (pda, tbStop, "tbStop");
01466   GLADE_HOOKUP_OBJECT (pda, tbForward, "tbForward");
01467   GLADE_HOOKUP_OBJECT (pda, tbAbout, "tbAbout");
01468   GLADE_HOOKUP_OBJECT (pda, timeLabel, "timeLabel");
01469   GLADE_HOOKUP_OBJECT (pda, timeSlider, "timeSlider");
01470   GLADE_HOOKUP_OBJECT (pda, notebook, "notebook");
01471   GLADE_HOOKUP_OBJECT (pda, scrolledwindow6, "scrolledwindow6");
01472   GLADE_HOOKUP_OBJECT (pda, viewport3, "viewport3");
01473   GLADE_HOOKUP_OBJECT (pda, vbox8, "vbox8");
01474   GLADE_HOOKUP_OBJECT (pda, scrolledwindow7, "scrolledwindow7");
01475   GLADE_HOOKUP_OBJECT (pda, tvFileList, "tvFileList");
01476   GLADE_HOOKUP_OBJECT (pda, hbox, "hbox");
01477   GLADE_HOOKUP_OBJECT (pda, AddFileToPlaylist, "AddFileToPlaylist");
01478   GLADE_HOOKUP_OBJECT (pda, File, "File");
01479   GLADE_HOOKUP_OBJECT (pda, vbox5, "vbox5");
01480   GLADE_HOOKUP_OBJECT (pda, hbox12, "hbox12");
01481   GLADE_HOOKUP_OBJECT (pda, labelNetworkMRL, "labelNetworkMRL");
01482   GLADE_HOOKUP_OBJECT (pda, comboMRL, "comboMRL");
01483   GLADE_HOOKUP_OBJECT (pda, entryMRL, "entryMRL");
01484   GLADE_HOOKUP_OBJECT (pda, hseparator15, "hseparator15");
01485   GLADE_HOOKUP_OBJECT (pda, table2, "table2");
01486   GLADE_HOOKUP_OBJECT (pda, labelNetworkPort, "labelNetworkPort");
01487   GLADE_HOOKUP_OBJECT (pda, labelNetworkAddress, "labelNetworkAddress");
01488   GLADE_HOOKUP_OBJECT (pda, entryNetworkPort, "entryNetworkPort");
01489   GLADE_HOOKUP_OBJECT (pda, comboNetworkAddress, "comboNetworkAddress");
01490   GLADE_HOOKUP_OBJECT (pda, entryNetworkAddress, "entryNetworkAddress");
01491   GLADE_HOOKUP_OBJECT (pda, comboNetworkType, "comboNetworkType");
01492   GLADE_HOOKUP_OBJECT (pda, entryNetworkType, "entryNetworkType");
01493   GLADE_HOOKUP_OBJECT (pda, labelNetworkType, "labelNetworkType");
01494   GLADE_HOOKUP_OBJECT (pda, comboNetworkProtocolType, "comboNetworkProtocolType");
01495   GLADE_HOOKUP_OBJECT (pda, entryNetworkProtocolType, "entryNetworkProtocolType");
01496   GLADE_HOOKUP_OBJECT (pda, labelNetworkProtocol, "labelNetworkProtocol");
01497   GLADE_HOOKUP_OBJECT (pda, labelNetworkTranscode, "labelNetworkTranscode");
01498   GLADE_HOOKUP_OBJECT (pda, checkNetworkTranscode, "checkNetworkTranscode");
01499   GLADE_HOOKUP_OBJECT (pda, hbox13, "hbox13");
01500   GLADE_HOOKUP_OBJECT (pda, AddNetworkPlaylist, "AddNetworkPlaylist");
01501   GLADE_HOOKUP_OBJECT (pda, Network, "Network");
01502   GLADE_HOOKUP_OBJECT (pda, vbox7, "vbox7");
01503   GLADE_HOOKUP_OBJECT (pda, scrolledV4Lwindow, "scrolledV4Lwindow");
01504   GLADE_HOOKUP_OBJECT (pda, viewportV4L, "viewportV4L");
01505   GLADE_HOOKUP_OBJECT (pda, tableV4L, "tableV4L");
01506   GLADE_HOOKUP_OBJECT (pda, labelV4lVideDevice, "labelV4lVideDevice");
01507   GLADE_HOOKUP_OBJECT (pda, labelV4LAudioDevice, "labelV4LAudioDevice");
01508   GLADE_HOOKUP_OBJECT (pda, labelV4LChannel, "labelV4LChannel");
01509   GLADE_HOOKUP_OBJECT (pda, labelV4LNorm, "labelV4LNorm");
01510   GLADE_HOOKUP_OBJECT (pda, labelV4LSize, "labelV4LSize");
01511   GLADE_HOOKUP_OBJECT (pda, labelV4LFrequency, "labelV4LFrequency");
01512   GLADE_HOOKUP_OBJECT (pda, labelV4LSampleRate, "labelV4LSampleRate");
01513   GLADE_HOOKUP_OBJECT (pda, labelV4LQuality, "labelV4LQuality");
01514   GLADE_HOOKUP_OBJECT (pda, labelV4LTuner, "labelV4LTuner");
01515   GLADE_HOOKUP_OBJECT (pda, labelV4LSoundDirection, "labelV4LSoundDirection");
01516   GLADE_HOOKUP_OBJECT (pda, labelV4LMJPEG, "labelV4LMJPEG");
01517   GLADE_HOOKUP_OBJECT (pda, labelV4LDecimation, "labelV4LDecimation");
01518   GLADE_HOOKUP_OBJECT (pda, comboV4lVideoDevice, "comboV4lVideoDevice");
01519   GLADE_HOOKUP_OBJECT (pda, entryV4LVideoDevice, "entryV4LVideoDevice");
01520   GLADE_HOOKUP_OBJECT (pda, comboV4lAudioDevice, "comboV4lAudioDevice");
01521   GLADE_HOOKUP_OBJECT (pda, entryV4LAudioDevice, "entryV4LAudioDevice");
01522   GLADE_HOOKUP_OBJECT (pda, entryV4LChannel, "entryV4LChannel");
01523   GLADE_HOOKUP_OBJECT (pda, comboV4LNorm, "comboV4LNorm");
01524   GLADE_HOOKUP_OBJECT (pda, entryV4LNorm, "entryV4LNorm");
01525   GLADE_HOOKUP_OBJECT (pda, comboV4LSize, "comboV4LSize");
01526   GLADE_HOOKUP_OBJECT (pda, entryV4LSize, "entryV4LSize");
01527   GLADE_HOOKUP_OBJECT (pda, entryV4LFrequency, "entryV4LFrequency");
01528   GLADE_HOOKUP_OBJECT (pda, entryV4LSampleRate, "entryV4LSampleRate");
01529   GLADE_HOOKUP_OBJECT (pda, entryV4LQuality, "entryV4LQuality");
01530   GLADE_HOOKUP_OBJECT (pda, comboV4LSoundDirection, "comboV4LSoundDirection");
01531   GLADE_HOOKUP_OBJECT (pda, entryV4LSoundDirection, "entryV4LSoundDirection");
01532   GLADE_HOOKUP_OBJECT (pda, entryV4LTuner, "entryV4LTuner");
01533   GLADE_HOOKUP_OBJECT (pda, checkV4LMJPEG, "checkV4LMJPEG");
01534   GLADE_HOOKUP_OBJECT (pda, entryV4LDecimation, "entryV4LDecimation");
01535   GLADE_HOOKUP_OBJECT (pda, labelV4LTranscode, "labelV4LTranscode");
01536   GLADE_HOOKUP_OBJECT (pda, checkV4LTranscode, "checkV4LTranscode");
01537   GLADE_HOOKUP_OBJECT (pda, hbox16, "hbox16");
01538   GLADE_HOOKUP_OBJECT (pda, AddCameraToPlaylist, "AddCameraToPlaylist");
01539   GLADE_HOOKUP_OBJECT (pda, Camera, "Camera");
01540   GLADE_HOOKUP_OBJECT (pda, vbox1, "vbox1");
01541   GLADE_HOOKUP_OBJECT (pda, scrolledwindowTranscode, "scrolledwindowTranscode");
01542   GLADE_HOOKUP_OBJECT (pda, viewport5, "viewport5");
01543   GLADE_HOOKUP_OBJECT (pda, tableTranscode, "tableTranscode");
01544   GLADE_HOOKUP_OBJECT (pda, labelVideoCodec, "labelVideoCodec");
01545   GLADE_HOOKUP_OBJECT (pda, comboVideoCodec, "comboVideoCodec");
01546   GLADE_HOOKUP_OBJECT (pda, entryVideoCodec, "entryVideoCodec");
01547   GLADE_HOOKUP_OBJECT (pda, labelVideoBitrate, "labelVideoBitrate");
01548   GLADE_HOOKUP_OBJECT (pda, labelVideoBitrateTolerance, "labelVideoBitrateTolerance");
01549   GLADE_HOOKUP_OBJECT (pda, labelVideoKeyInterval, "labelVideoKeyInterval");
01550   GLADE_HOOKUP_OBJECT (pda, labelAudioCodec, "labelAudioCodec");
01551   GLADE_HOOKUP_OBJECT (pda, labelVideoDeinterlace, "labelVideoDeinterlace");
01552   GLADE_HOOKUP_OBJECT (pda, labelStdAccess, "labelStdAccess");
01553   GLADE_HOOKUP_OBJECT (pda, labelStdMuxer, "labelStdMuxer");
01554   GLADE_HOOKUP_OBJECT (pda, labelStdUrl, "labelStdUrl");
01555   GLADE_HOOKUP_OBJECT (pda, labelStdTimeToLive, "labelStdTimeToLive");
01556   GLADE_HOOKUP_OBJECT (pda, entryStdTTL, "entryStdTTL");
01557   GLADE_HOOKUP_OBJECT (pda, comboStdURL, "comboStdURL");
01558   GLADE_HOOKUP_OBJECT (pda, entryStdURL, "entryStdURL");
01559   GLADE_HOOKUP_OBJECT (pda, comboStdMuxer, "comboStdMuxer");
01560   GLADE_HOOKUP_OBJECT (pda, entryStdMuxer, "entryStdMuxer");
01561   GLADE_HOOKUP_OBJECT (pda, entryAudioBitrate, "entryAudioBitrate");
01562   GLADE_HOOKUP_OBJECT (pda, comboAudioCodec, "comboAudioCodec");
01563   GLADE_HOOKUP_OBJECT (pda, entryAudioCodec, "entryAudioCodec");
01564   GLADE_HOOKUP_OBJECT (pda, checkVideoDeinterlace, "checkVideoDeinterlace");
01565   GLADE_HOOKUP_OBJECT (pda, entryVideoKeyFrameInterval, "entryVideoKeyFrameInterval");
01566   GLADE_HOOKUP_OBJECT (pda, entryVideoBitrateTolerance, "entryVideoBitrateTolerance");
01567   GLADE_HOOKUP_OBJECT (pda, entryVideoBitrate, "entryVideoBitrate");
01568   GLADE_HOOKUP_OBJECT (pda, labelAudioBitrate, "labelAudioBitrate");
01569   GLADE_HOOKUP_OBJECT (pda, comboStdAccess, "comboStdAccess");
01570   GLADE_HOOKUP_OBJECT (pda, entryStdAccess, "entryStdAccess");
01571   GLADE_HOOKUP_OBJECT (pda, labelSAP, "labelSAP");
01572   GLADE_HOOKUP_OBJECT (pda, checkSAP, "checkSAP");
01573   GLADE_HOOKUP_OBJECT (pda, checkSLP, "checkSLP");
01574   GLADE_HOOKUP_OBJECT (pda, labelSLP_, "labelSLP_");
01575   GLADE_HOOKUP_OBJECT (pda, labelAnounceChannel, "labelAnounceChannel");
01576   GLADE_HOOKUP_OBJECT (pda, comboAnnounceChannel, "comboAnnounceChannel");
01577   GLADE_HOOKUP_OBJECT (pda, entryAnnounceChannel, "entryAnnounceChannel");
01578   GLADE_HOOKUP_OBJECT (pda, hbox14, "hbox14");
01579   GLADE_HOOKUP_OBJECT (pda, AddTranscodeToPlaylist, "AddTranscodeToPlaylist");
01580   GLADE_HOOKUP_OBJECT (pda, Transcode, "Transcode");
01581   GLADE_HOOKUP_OBJECT (pda, vbox4, "vbox4");
01582   GLADE_HOOKUP_OBJECT (pda, scrolledwindow5, "scrolledwindow5");
01583   GLADE_HOOKUP_OBJECT (pda, tvPlaylist, "tvPlaylist");
01584   GLADE_HOOKUP_OBJECT (pda, hbox11, "hbox11");
01585   GLADE_HOOKUP_OBJECT (pda, UpdatePlaylist, "UpdatePlaylist");
01586   GLADE_HOOKUP_OBJECT (pda, DeletePlaylist, "DeletePlaylist");
01587   GLADE_HOOKUP_OBJECT (pda, ClearPlaylist, "ClearPlaylist");
01588   GLADE_HOOKUP_OBJECT (pda, playlist, "playlist");
01589   GLADE_HOOKUP_OBJECT (pda, vbox2, "vbox2");
01590   GLADE_HOOKUP_OBJECT (pda, scrolledwindowPreference, "scrolledwindowPreference");
01591   GLADE_HOOKUP_OBJECT (pda, tvPreferences, "tvPreferences");
01592   GLADE_HOOKUP_OBJECT (pda, hbox2, "hbox2");
01593   GLADE_HOOKUP_OBJECT (pda, PreferenceSave, "PreferenceSave");
01594   GLADE_HOOKUP_OBJECT (pda, PreferenceApply, "PreferenceApply");
01595   GLADE_HOOKUP_OBJECT (pda, PreferenceCancel, "PreferenceCancel");
01596   GLADE_HOOKUP_OBJECT (pda, preferences, "preferences");
01597   GLADE_HOOKUP_OBJECT (pda, scrolledwindow3, "scrolledwindow3");
01598   GLADE_HOOKUP_OBJECT (pda, viewport1, "viewport1");
01599   GLADE_HOOKUP_OBJECT (pda, fixed2, "fixed2");
01600   GLADE_HOOKUP_OBJECT (pda, aboutImage, "aboutImage");
01601   GLADE_HOOKUP_OBJECT (pda, labelDescription, "labelDescription");
01602   GLADE_HOOKUP_OBJECT (pda, labelAuthors, "labelAuthors");
01603   GLADE_HOOKUP_OBJECT (pda, labelCopyright, "labelCopyright");
01604   GLADE_HOOKUP_OBJECT (pda, labelProgramName, "labelProgramName");
01605   GLADE_HOOKUP_OBJECT (pda, about, "about");
01606   GLADE_HOOKUP_OBJECT_NO_REF (pda, tooltips, "tooltips");
01607 
01608   return pda;
01609 }
01610 

Generated on Tue Dec 20 10:14:41 2005 for vlc-0.8.4a by  doxygen 1.4.2