-/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
- */
+/* This file was created automatically by glade and fixed by fixfiles.sh */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <videolan/vlc.h>
#include <sys/types.h>
#include <sys/stat.h>
{
GNOME_APP_UI_ITEM, N_("_Network Stream..."),
N_("Select a Network Stream"),
- (gpointer) GnomeMenbarNetworkOpenActivate, NULL, NULL,
+ (gpointer) GnomeMenubarNetworkOpenActivate, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_REFRESH,
0, (GdkModifierType) 0, NULL
},
GNOMEUIINFO_SEPARATOR,
+ {
+ GNOME_APP_UI_ITEM, N_("_Eject Disc"),
+ N_("Eject disc"),
+ (gpointer) GnomeMenubarDiscEjectActivate, NULL, NULL,
+ GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_TOP,
+ 0, (GdkModifierType) 0, NULL
+ },
+ GNOMEUIINFO_SEPARATOR,
GNOMEUIINFO_MENU_EXIT_ITEM (GnomeMenubarExitActivate, NULL),
GNOMEUIINFO_END
};
},
GNOMEUIINFO_SEPARATOR,
{
- GNOME_APP_UI_ITEM, N_("_Title"),
- N_("Choose title"),
+ GNOME_APP_UI_ITEM, N_("Progr_am"),
+ N_("Choose the program"),
(gpointer) NULL, NULL, NULL,
GNOME_APP_PIXMAP_NONE, NULL,
0, (GdkModifierType) 0, NULL
},
{
- GNOME_APP_UI_ITEM, N_("_Chapter"),
- N_("Choose chapter"),
+ GNOME_APP_UI_ITEM, N_("_Title"),
+ N_("Choose title"),
(gpointer) NULL, NULL, NULL,
GNOME_APP_PIXMAP_NONE, NULL,
0, (GdkModifierType) 0, NULL
},
{
- GNOME_APP_UI_ITEM, N_("An_gle"),
- N_("Choose angle"),
+ GNOME_APP_UI_ITEM, N_("_Chapter"),
+ N_("Choose chapter"),
(gpointer) NULL, NULL, NULL,
GNOME_APP_PIXMAP_NONE, NULL,
0, (GdkModifierType) 0, NULL
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_ATTACH,
0, (GdkModifierType) 0, NULL
},
+ {
+ GNOME_APP_UI_ITEM, N_("Messages..."),
+ N_("Open the messages window"),
+ (gpointer) GnomeMenubarMessagesActivate, NULL, NULL,
+ GNOME_APP_PIXMAP_NONE, NULL,
+ 0, (GdkModifierType) 0, NULL
+ },
GNOMEUIINFO_END
};
},
{
GNOME_APP_UI_ITEM, N_("_Subtitles"),
- N_("Select subtitle unit"),
+ N_("Select subtitles channel"),
(gpointer) NULL, NULL, NULL,
GNOME_APP_PIXMAP_NONE, NULL,
0, (GdkModifierType) 0, NULL
GtkWidget *toolbar_file;
GtkWidget *toolbar_disc;
GtkWidget *toolbar_network;
+ GtkWidget *toolbar_sat;
GtkWidget *toolbar_back;
GtkWidget *toolbar_stop;
+ GtkWidget *toolbar_eject;
GtkWidget *toolbar_play;
GtkWidget *toolbar_pause;
GtkWidget *toolbar_slow;
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_ref (menubar_file_menu_uiinfo[4].widget);
- gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_exit",
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_eject",
menubar_file_menu_uiinfo[4].widget,
(GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_ref (menubar_file_menu_uiinfo[5].widget);
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "separator15",
+ menubar_file_menu_uiinfo[5].widget,
+ (GtkDestroyNotify) gtk_widget_unref);
+
+ gtk_widget_ref (menubar_file_menu_uiinfo[6].widget);
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_exit",
+ menubar_file_menu_uiinfo[6].widget,
+ (GtkDestroyNotify) gtk_widget_unref);
+
gtk_widget_ref (menubar_uiinfo[1].widget);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_view",
menubar_uiinfo[1].widget,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_ref (menubar_view_menu_uiinfo[3].widget);
- gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_title",
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_program",
menubar_view_menu_uiinfo[3].widget,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_set_sensitive (menubar_view_menu_uiinfo[3].widget, FALSE);
gtk_widget_ref (menubar_view_menu_uiinfo[4].widget);
- gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_chapter",
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_title",
menubar_view_menu_uiinfo[4].widget,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_set_sensitive (menubar_view_menu_uiinfo[4].widget, FALSE);
gtk_widget_ref (menubar_view_menu_uiinfo[5].widget);
- gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_angle",
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_chapter",
menubar_view_menu_uiinfo[5].widget,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_set_sensitive (menubar_view_menu_uiinfo[5].widget, FALSE);
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_set_sensitive (menubar_view_menu_uiinfo[8].widget, FALSE);
+ gtk_widget_ref (menubar_view_menu_uiinfo[9].widget);
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_messages",
+ menubar_view_menu_uiinfo[9].widget,
+ (GtkDestroyNotify) gtk_widget_unref);
+
gtk_widget_ref (menubar_uiinfo[2].widget);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "menubar_settings",
menubar_uiinfo[2].widget,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (toolbar_network);
+ tmp_toolbar_icon = gnome_stock_pixmap_widget (intf_window, GNOME_STOCK_PIXMAP_MIC);
+ toolbar_sat = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
+ GTK_TOOLBAR_CHILD_BUTTON,
+ NULL,
+ _("Sat"),
+ _("Open a Satellite Card"), NULL,
+ tmp_toolbar_icon, NULL, NULL);
+ gtk_widget_ref (toolbar_sat);
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_sat", toolbar_sat,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (toolbar_sat);
+
gtk_toolbar_append_space (GTK_TOOLBAR (toolbar));
tmp_toolbar_icon = gnome_stock_pixmap_widget (intf_window, GNOME_STOCK_PIXMAP_BACK);
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (toolbar_stop);
+ tmp_toolbar_icon = gnome_stock_pixmap_widget (intf_window, GNOME_STOCK_PIXMAP_TOP);
+ toolbar_eject = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
+ GTK_TOOLBAR_CHILD_BUTTON,
+ NULL,
+ _("Eject"),
+ _("Eject disc"), NULL,
+ tmp_toolbar_icon, NULL, NULL);
+ gtk_widget_ref (toolbar_eject);
+ gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_eject", toolbar_eject,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (toolbar_eject);
+
tmp_toolbar_icon = gnome_stock_pixmap_widget (intf_window, GNOME_STOCK_PIXMAP_FORWARD);
toolbar_play = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
GTK_TOOLBAR_CHILD_BUTTON,
gtk_widget_show (toolbar_pause);
gtk_widget_set_sensitive (toolbar_pause, FALSE);
+ gtk_toolbar_append_space (GTK_TOOLBAR (toolbar));
+
tmp_toolbar_icon = gnome_stock_pixmap_widget (intf_window, GNOME_STOCK_PIXMAP_TIMER_STOP);
toolbar_slow = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
GTK_TOOLBAR_CHILD_BUTTON,
gtk_widget_show (toolbar_fast);
gtk_widget_set_sensitive (toolbar_fast, FALSE);
- gtk_toolbar_append_space (GTK_TOOLBAR (toolbar));
-
tmp_toolbar_icon = gnome_stock_pixmap_widget (intf_window, GNOME_STOCK_PIXMAP_INDEX);
toolbar_playlist = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
GTK_TOOLBAR_CHILD_BUTTON,
gtk_widget_show (button_title_prev);
gtk_box_pack_start (GTK_BOX (title_chapter_box), button_title_prev, FALSE, FALSE, 0);
gtk_tooltips_set_tip (tooltips, button_title_prev, _("Select previous title"), NULL);
- gtk_button_set_relief (GTK_BUTTON (button_title_prev), GTK_RELIEF_NONE);
button_title_next = gnome_stock_button (GNOME_STOCK_BUTTON_NEXT);
gtk_widget_ref (button_title_next);
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (button_title_next);
gtk_box_pack_start (GTK_BOX (title_chapter_box), button_title_next, FALSE, FALSE, 0);
- gtk_button_set_relief (GTK_BUTTON (button_title_next), GTK_RELIEF_NONE);
vseparator1 = gtk_vseparator_new ();
gtk_widget_ref (vseparator1);
gtk_widget_show (button_chapter_prev);
gtk_box_pack_start (GTK_BOX (dvd_chapter_box), button_chapter_prev, FALSE, FALSE, 0);
gtk_tooltips_set_tip (tooltips, button_chapter_prev, _("Select previous chapter"), NULL);
- gtk_button_set_relief (GTK_BUTTON (button_chapter_prev), GTK_RELIEF_NONE);
button_chapter_next = gnome_stock_button (GNOME_STOCK_BUTTON_UP);
gtk_widget_ref (button_chapter_next);
gtk_widget_show (button_chapter_next);
gtk_box_pack_start (GTK_BOX (dvd_chapter_box), button_chapter_next, FALSE, FALSE, 0);
gtk_tooltips_set_tip (tooltips, button_chapter_next, _("Select next chapter"), NULL);
- gtk_button_set_relief (GTK_BUTTON (button_chapter_next), GTK_RELIEF_NONE);
network_box = gtk_hbox_new (TRUE, 0);
gtk_widget_ref (network_box);
gtk_widget_show (label_network);
gtk_box_pack_start (GTK_BOX (network_channel_box), label_network, TRUE, FALSE, 5);
- network_channel_spinbutton_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
+ network_channel_spinbutton_adj = gtk_adjustment_new (0, 0, 100, 1, 10, 10);
network_channel_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (network_channel_spinbutton_adj), 1, 0);
gtk_widget_ref (network_channel_spinbutton);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "network_channel_spinbutton", network_channel_spinbutton,
gtk_signal_connect (GTK_OBJECT (toolbar_network), "button_press_event",
GTK_SIGNAL_FUNC (GtkNetworkOpenShow),
"intf_window");
+ gtk_signal_connect (GTK_OBJECT (toolbar_sat), "button_press_event",
+ GTK_SIGNAL_FUNC (GtkSatOpenShow),
+ "intf_window");
gtk_signal_connect (GTK_OBJECT (toolbar_back), "button_press_event",
GTK_SIGNAL_FUNC (GtkControlBack),
"intf_window");
gtk_signal_connect (GTK_OBJECT (toolbar_stop), "button_press_event",
GTK_SIGNAL_FUNC (GtkControlStop),
"intf_window");
+ gtk_signal_connect (GTK_OBJECT (toolbar_eject), "button_press_event",
+ GTK_SIGNAL_FUNC (GtkDiscEject),
+ "intf_window");
gtk_signal_connect (GTK_OBJECT (toolbar_play), "button_press_event",
GTK_SIGNAL_FUNC (GtkControlPlay),
"intf_window");
0, (GdkModifierType) 0, NULL
},
{
- GNOME_APP_UI_ITEM, N_("_Navigation"),
- N_("Navigate through titles and chapters"),
+ GNOME_APP_UI_ITEM, N_("Program"),
+ N_("Switch program"),
(gpointer) NULL, NULL, NULL,
- GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SEARCH,
+ GNOME_APP_PIXMAP_NONE, NULL,
0, (GdkModifierType) 0, NULL
},
{
- GNOME_APP_UI_ITEM, N_("An_gle"),
- NULL,
+ GNOME_APP_UI_ITEM, N_("_Navigation"),
+ N_("Navigate through titles and chapters"),
(gpointer) NULL, NULL, NULL,
- GNOME_APP_PIXMAP_NONE, NULL,
+ GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SEARCH,
0, (GdkModifierType) 0, NULL
},
{
},
{
GNOME_APP_UI_ITEM, N_("_Subtitles"),
- N_("Select subtitle channel"),
+ N_("Select subtitles channel"),
(gpointer) NULL, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_FONT,
0, (GdkModifierType) 0, NULL
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_ref (intf_popup_uiinfo[13].widget);
- gtk_object_set_data_full (GTK_OBJECT (intf_popup), "popup_navigation",
+ gtk_object_set_data_full (GTK_OBJECT (intf_popup), "popup_program",
intf_popup_uiinfo[13].widget,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_set_sensitive (intf_popup_uiinfo[13].widget, FALSE);
gtk_widget_ref (intf_popup_uiinfo[14].widget);
- gtk_object_set_data_full (GTK_OBJECT (intf_popup), "popup_angle",
+ gtk_object_set_data_full (GTK_OBJECT (intf_popup), "popup_navigation",
intf_popup_uiinfo[14].widget,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_set_sensitive (intf_popup_uiinfo[14].widget, FALSE);
create_intf_about (void)
{
const gchar *authors[] = {
- "Régis Duchesne <regis@via.ecp.fr>",
- "Michel Lespinasse <walken@zoy.org>",
- "Olivier Pomel <pomel@via.ecp.fr>",
- "Pierre Baillet <oct@zoy.org>",
- "Jean-Philippe Grimaldi <jeanphi@via.ecp.fr>",
- "Andres Krapf <dae@via.ecp.fr>",
- "Christophe Massiot <massiot@via.ecp.fr>",
- "Vincent Seguin <seguin@via.ecp.fr>",
- "Benoit Steiner <benny@via.ecp.fr>",
- "Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>",
- "Jean-Marc Dressler <polux@via.ecp.fr>",
- "Gaël Hendryckx <jimmy@via.ecp.fr>",
- "Samuel Hocevar <sam@zoy.org>",
- "Brieuc Jeunhomme <bbp@via.ecp.fr>",
- "Michel Kaempf <maxx@via.ecp.fr>",
- "Stéphane Borel <stef@via.ecp.fr>",
- "Renaud Dartus <reno@via.ecp.fr>",
- "Henri Fallon <henri@via.ecp.fr>",
+ "the VideoLAN team <videolan@videolan.org>",
+ "http://www.videolan.org/",
NULL
};
GtkWidget *intf_about;
intf_about = gnome_about_new ("VideoLAN Client", VERSION,
- _("(C) 1996, 1997, 1998, 1999, 2000, 2001 - the VideoLAN Team"),
+ _("(C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 - the VideoLAN Team"),
authors,
_("This is the VideoLAN client, a DVD and MPEG player. It can play MPEG and MPEG 2 files from a file or from a network source."),
NULL);
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (disc_name);
gtk_box_pack_start (GTK_BOX (hbox1), disc_name, TRUE, TRUE, 0);
- gtk_entry_set_text (GTK_ENTRY (disc_name), _("/dev/dvd"));
+ gtk_entry_set_text (GTK_ENTRY (disc_name), config_GetPszVariable( "dvd_device" ));
dialog_action_area4 = GNOME_DIALOG (intf_disc)->action_area;
gtk_object_set_data (GTK_OBJECT (intf_disc), "dialog_action_area4", dialog_action_area4);
GtkWidget *network_http;
GtkWidget *frame4;
GtkWidget *table2;
- GtkWidget *label17;
- GtkWidget *label18;
+ GtkWidget *network_server_label;
+ GtkWidget *network_port_label;
GtkObject *network_port_adj;
GtkWidget *network_port;
GtkWidget *network_broadcast_check;
GtkWidget *network_channel_check;
GtkWidget *network_channel_combo;
GtkWidget *network_channel;
- GtkWidget *channel_port;
+ GtkWidget *network_channel_port_label;
GtkObject *network_channel_port_adj;
GtkWidget *network_channel_port;
GtkWidget *hbuttonbox1;
gtk_table_set_row_spacings (GTK_TABLE (table2), 5);
gtk_table_set_col_spacings (GTK_TABLE (table2), 5);
- label17 = gtk_label_new (_("Address"));
- gtk_widget_ref (label17);
- gtk_object_set_data_full (GTK_OBJECT (intf_network), "label17", label17,
+ network_server_label = gtk_label_new (_("Address"));
+ gtk_widget_ref (network_server_label);
+ gtk_object_set_data_full (GTK_OBJECT (intf_network), "network_server_label", network_server_label,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (label17);
- gtk_table_attach (GTK_TABLE (table2), label17, 0, 1, 0, 1,
+ gtk_widget_show (network_server_label);
+ gtk_table_attach (GTK_TABLE (table2), network_server_label, 0, 1, 0, 1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (label17), 0, 0.5);
+ gtk_misc_set_alignment (GTK_MISC (network_server_label), 0, 0.5);
- label18 = gtk_label_new (_("Port"));
- gtk_widget_ref (label18);
- gtk_object_set_data_full (GTK_OBJECT (intf_network), "label18", label18,
+ network_port_label = gtk_label_new (_("Port"));
+ gtk_widget_ref (network_port_label);
+ gtk_object_set_data_full (GTK_OBJECT (intf_network), "network_port_label", network_port_label,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (label18);
- gtk_table_attach (GTK_TABLE (table2), label18, 0, 1, 1, 2,
+ gtk_widget_show (network_port_label);
+ gtk_table_attach (GTK_TABLE (table2), network_port_label, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (label18), 0, 0.5);
+ gtk_misc_set_alignment (GTK_MISC (network_port_label), 0, 0.5);
network_port_adj = gtk_adjustment_new (1234, 1024, 65535, 1, 10, 10);
network_port = gtk_spin_button_new (GTK_ADJUSTMENT (network_port_adj), 1, 0);
gtk_widget_show (network_channel);
gtk_entry_set_text (GTK_ENTRY (network_channel), _("138.195.143.120"));
- channel_port = gtk_label_new (_("port:"));
- gtk_widget_ref (channel_port);
- gtk_object_set_data_full (GTK_OBJECT (intf_network), "channel_port", channel_port,
+ network_channel_port_label = gtk_label_new (_("port:"));
+ gtk_widget_ref (network_channel_port_label);
+ gtk_object_set_data_full (GTK_OBJECT (intf_network), "network_channel_port_label", network_channel_port_label,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (channel_port);
- gtk_box_pack_start (GTK_BOX (hbox4), channel_port, FALSE, FALSE, 5);
+ gtk_widget_show (network_channel_port_label);
+ gtk_box_pack_start (GTK_BOX (hbox4), network_channel_port_label, FALSE, FALSE, 5);
network_channel_port_adj = gtk_adjustment_new (6010, 1024, 65535, 1, 10, 10);
network_channel_port = gtk_spin_button_new (GTK_ADJUSTMENT (network_channel_port_adj), 1, 0);
}
GtkWidget*
-create_intf_preferences (void)
+create_intf_open (void)
{
- GtkWidget *intf_preferences;
- GtkWidget *preferences_vbox;
- GtkWidget *preferences_frame;
- GtkWidget *preferences_notebook;
- GtkWidget *preferences_file_table;
- GtkWidget *preferences_file_combo;
- GtkWidget *preferences_file_path_entry;
- GtkWidget *preferences_file_path_label;
- GtkWidget *preferences_file;
- GtkWidget *preferences_disc_table;
- GtkWidget *preferences_disc_dvd_combo;
- GtkWidget *preferences_disc_dvd_entry;
- GtkWidget *preferences_file_vcd_combo;
- GtkWidget *preferences_disc_vcd_entry;
- GtkWidget *preferences_disc_dvd_label;
- GtkWidget *preferences_disc_vcd_label;
- GtkWidget *preferences_disc;
- GtkWidget *preferences_network_table;
- GtkWidget *preferences_network_server_label;
- GtkObject *preferences_network_port_spinbutton_adj;
- GtkWidget *preferences_network_port_spinbutton;
- GtkWidget *preferences_network_broadcast_label;
- GtkWidget *preferences_network_port_label;
- GtkWidget *preferences_network_server_combo;
- GtkWidget *preferences_network_server_entry;
- GtkWidget *preferences_network_broadcast_combo;
- GtkWidget *preferences_network_broadcast_entry;
- GtkWidget *preferences_network_broadcast_checkbutton;
- GSList *preferences_network_protocol_group_group = NULL;
- GtkWidget *preferences_network_ts_radiobutton;
- GtkWidget *preferences_network_rtp_radiobutton;
- GtkWidget *preferences_network_http_radiobutton;
- GtkWidget *preferences_network_protocol_label;
- GtkWidget *preferences_network;
- GtkWidget *preferences_network_interface_table;
- GtkWidget *preferences_interface_label;
- GtkWidget *preferences_interface_combo;
- GtkWidget *preferences_interface_entry;
- GtkWidget *preferences_interface;
- GtkWidget *preferences_video_table;
- GtkWidget *preferences_video_output_label;
- GtkWidget *preferences_video_height;
- GtkObject *preferences_video_height_spinbutton_adj;
- GtkWidget *preferences_video_height_spinbutton;
- GtkObject *preferences_video_width_spinbutton_adj;
- GtkWidget *preferences_video_width_spinbutton;
- GtkWidget *preferences_video_width_label;
- GtkWidget *preferences_video_output_combo;
- GtkWidget *preferences_video_output_entry;
- GtkWidget *preferences_video_depth;
- GtkWidget *preferences_video_depth_optionmenu;
- GtkWidget *preferences_video_depth_optionmenu_menu;
- GtkWidget *glade_menuitem;
- GtkWidget *preferences_video_fullscreen_depth;
- GtkWidget *preferences_video_fullscreen_depth_optionmenu;
- GtkWidget *preferences_video_fullscreen_depth_optionmenu_menu;
- GtkWidget *preferences_video_fullscreen_checkbutton;
- GtkWidget *preferences_video_grayscale_checkbutton;
- GtkWidget *preferences_video_gamma_label;
- GtkObject *spinbutton4_adj;
- GtkWidget *spinbutton4;
- GtkWidget *preferences_video;
- GtkWidget *preference_audio_table;
- GtkWidget *preferences_audio_spdif_checkbutton;
- GtkWidget *preferences_audio_output_label;
- GtkWidget *preferences_audio_output_combo;
- GtkWidget *preferences_audio_output_entry;
- GtkWidget *preferences_audio_frequency_label;
- GtkWidget *preferences_audio_frequency_optionmenu;
- GtkWidget *preferences_audio_frequency_optionmenu_menu;
- GtkWidget *preferences_audio_quality_label;
- GtkWidget *preferences_audio_quality_optionmenu;
- GtkWidget *preferences_audio_quality_optionmenu_menu;
- GtkWidget *preferences_audio_channels_label;
- GtkWidget *preferences_audio_channels_optionmenu;
- GtkWidget *preferences_audio_channels_optionmenu_menu;
- GtkWidget *preferences_audio_device_label;
- GtkWidget *preferences_audio_device_combo;
- GtkWidget *preferences_audio_device_entry;
- GtkWidget *preferences_audio;
- GtkWidget *preference_playlist_table;
- GtkWidget *preferences_playlist_startup_checkbutton;
- GtkWidget *preferences_playlist_loop_checkbutton;
- GtkWidget *preferences_playlist_enqueue_checkbutton;
- GtkWidget *preferences_playlist;
- GtkWidget *preferences_misc_table;
- GtkWidget *preferences_misc_associated_files_frame;
- GtkWidget *preferences_misc_associated_table;
- GtkWidget *preferences_misc_ts_checkbutton;
- GtkWidget *preferences_misc_vob_checkbutton;
- GtkWidget *preferences_misc_mp2_checkbutton;
- GtkWidget *preferences_misc_mpeg_checkbutton;
- GtkWidget *preferences_misc_message_frame;
- GtkWidget *preferences_misc_message_table;
- GtkWidget *preferences_misc_messages_label;
- GtkObject *preferences_misc_messages_spinbutton_adj;
- GtkWidget *preferences_misc_messages_spinbutton;
- GtkWidget *preferences_misc;
- GtkWidget *preferences_dialog;
- GtkWidget *preferences_ok;
- GtkWidget *preferences_apply;
- GtkWidget *preferences_cancel;
-
- intf_preferences = gnome_dialog_new (_("Preferences"), NULL);
- gtk_object_set_data (GTK_OBJECT (intf_preferences), "intf_preferences", intf_preferences);
- gtk_window_set_default_size (GTK_WINDOW (intf_preferences), 450, 350);
- gtk_window_set_policy (GTK_WINDOW (intf_preferences), TRUE, TRUE, FALSE);
-
- preferences_vbox = GNOME_DIALOG (intf_preferences)->vbox;
- gtk_object_set_data (GTK_OBJECT (intf_preferences), "preferences_vbox", preferences_vbox);
- gtk_widget_show (preferences_vbox);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_vbox), 5);
-
- preferences_frame = gtk_frame_new (_("Preferences"));
- gtk_widget_ref (preferences_frame);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_frame", preferences_frame,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_frame);
- gtk_box_pack_start (GTK_BOX (preferences_vbox), preferences_frame, TRUE, TRUE, 0);
- gtk_frame_set_label_align (GTK_FRAME (preferences_frame), 0.05, 0.5);
-
- preferences_notebook = gtk_notebook_new ();
- gtk_widget_ref (preferences_notebook);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_notebook", preferences_notebook,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_notebook);
- gtk_container_add (GTK_CONTAINER (preferences_frame), preferences_notebook);
-
- preferences_file_table = gtk_table_new (1, 2, FALSE);
- gtk_widget_ref (preferences_file_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_file_table", preferences_file_table,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_file_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_file_table);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_file_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preferences_file_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preferences_file_table), 5);
-
- preferences_file_combo = gnome_file_entry_new (NULL, NULL);
- gtk_widget_ref (preferences_file_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_file_combo", preferences_file_combo,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_file_combo);
- gtk_table_attach (GTK_TABLE (preferences_file_table), preferences_file_combo, 1, 2, 0, 1,
+ GtkWidget *intf_open;
+ GtkWidget *dialog_vbox5;
+ GtkWidget *tab_open;
+ GtkWidget *vbox10;
+ GtkWidget *hbox5;
+ GtkWidget *frame6;
+ GtkWidget *vbox11;
+ GSList *vbox11_group = NULL;
+ GtkWidget *radiobutton1;
+ GtkWidget *radiobutton2;
+ GtkWidget *frame7;
+ GtkWidget *table3;
+ GtkWidget *label24;
+ GtkWidget *label25;
+ GtkObject *spinbutton5_adj;
+ GtkWidget *spinbutton5;
+ GtkObject *spinbutton6_adj;
+ GtkWidget *spinbutton6;
+ GtkWidget *hbox6;
+ GtkWidget *label29;
+ GtkWidget *entry1;
+ GtkWidget *tab_disc;
+ GtkWidget *vbox12;
+ GtkWidget *hbox7;
+ GtkWidget *frame8;
+ GtkWidget *vbox13;
+ GSList *vbox13_group = NULL;
+ GtkWidget *radiobutton3;
+ GtkWidget *radiobutton4;
+ GtkWidget *radiobutton5;
+ GtkWidget *frame9;
+ GtkWidget *vbox14;
+ GtkWidget *table4;
+ GtkWidget *label26;
+ GtkWidget *label27;
+ GtkWidget *combo1;
+ GtkWidget *combo_entry1;
+ GtkObject *spinbutton7_adj;
+ GtkWidget *spinbutton7;
+ GtkWidget *frame10;
+ GtkWidget *hbox8;
+ GtkWidget *checkbutton2;
+ GtkWidget *combo3;
+ GtkWidget *combo_entry3;
+ GtkWidget *frame11;
+ GtkWidget *hbox9;
+ GtkWidget *checkbutton1;
+ GtkWidget *combo2;
+ GtkWidget *combo_entry2;
+ GtkWidget *label28;
+ GtkObject *spinbutton8_adj;
+ GtkWidget *spinbutton8;
+ GtkWidget *tab_network;
+ GtkWidget *dialog_action_area5;
+ GtkWidget *button1;
+ GtkWidget *button3;
+
+ intf_open = gnome_dialog_new (_("Open Stream"), NULL);
+ gtk_object_set_data (GTK_OBJECT (intf_open), "intf_open", intf_open);
+ gtk_window_set_modal (GTK_WINDOW (intf_open), TRUE);
+ gtk_window_set_policy (GTK_WINDOW (intf_open), FALSE, FALSE, FALSE);
+
+ dialog_vbox5 = GNOME_DIALOG (intf_open)->vbox;
+ gtk_object_set_data (GTK_OBJECT (intf_open), "dialog_vbox5", dialog_vbox5);
+ gtk_widget_show (dialog_vbox5);
+
+ tab_open = gtk_notebook_new ();
+ gtk_widget_ref (tab_open);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "tab_open", tab_open,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (tab_open);
+ gtk_box_pack_start (GTK_BOX (dialog_vbox5), tab_open, TRUE, TRUE, 0);
+
+ vbox10 = gtk_vbox_new (FALSE, 5);
+ gtk_widget_ref (vbox10);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "vbox10", vbox10,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (vbox10);
+ gtk_container_add (GTK_CONTAINER (tab_open), vbox10);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox10), 5);
+
+ hbox5 = gtk_hbox_new (FALSE, 5);
+ gtk_widget_ref (hbox5);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "hbox5", hbox5,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (hbox5);
+ gtk_box_pack_start (GTK_BOX (vbox10), hbox5, TRUE, TRUE, 0);
+
+ frame6 = gtk_frame_new (_("Disc type"));
+ gtk_widget_ref (frame6);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "frame6", frame6,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (frame6);
+ gtk_box_pack_start (GTK_BOX (hbox5), frame6, TRUE, TRUE, 0);
+
+ vbox11 = gtk_vbox_new (FALSE, 0);
+ gtk_widget_ref (vbox11);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "vbox11", vbox11,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (vbox11);
+ gtk_container_add (GTK_CONTAINER (frame6), vbox11);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox11), 5);
+
+ radiobutton1 = gtk_radio_button_new_with_label (vbox11_group, _("DVD"));
+ vbox11_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton1));
+ gtk_widget_ref (radiobutton1);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "radiobutton1", radiobutton1,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (radiobutton1);
+ gtk_box_pack_start (GTK_BOX (vbox11), radiobutton1, FALSE, FALSE, 0);
+
+ radiobutton2 = gtk_radio_button_new_with_label (vbox11_group, _("VCD"));
+ vbox11_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton2));
+ gtk_widget_ref (radiobutton2);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "radiobutton2", radiobutton2,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (radiobutton2);
+ gtk_box_pack_start (GTK_BOX (vbox11), radiobutton2, FALSE, FALSE, 0);
+
+ frame7 = gtk_frame_new (_("Starting position"));
+ gtk_widget_ref (frame7);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "frame7", frame7,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (frame7);
+ gtk_box_pack_start (GTK_BOX (hbox5), frame7, TRUE, TRUE, 0);
+
+ table3 = gtk_table_new (2, 2, FALSE);
+ gtk_widget_ref (table3);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "table3", table3,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (table3);
+ gtk_container_add (GTK_CONTAINER (frame7), table3);
+ gtk_container_set_border_width (GTK_CONTAINER (table3), 5);
+ gtk_table_set_row_spacings (GTK_TABLE (table3), 5);
+ gtk_table_set_col_spacings (GTK_TABLE (table3), 5);
+
+ label24 = gtk_label_new (_("Title"));
+ gtk_widget_ref (label24);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "label24", label24,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (label24);
+ gtk_table_attach (GTK_TABLE (table3), label24, 0, 1, 0, 1,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label24), 0, 0.5);
+
+ label25 = gtk_label_new (_("Chapter"));
+ gtk_widget_ref (label25);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "label25", label25,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (label25);
+ gtk_table_attach (GTK_TABLE (table3), label25, 0, 1, 1, 2,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label25), 0, 0.5);
+
+ spinbutton5_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
+ spinbutton5 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton5_adj), 1, 0);
+ gtk_widget_ref (spinbutton5);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "spinbutton5", spinbutton5,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (spinbutton5);
+ gtk_table_attach (GTK_TABLE (table3), spinbutton5, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ (GtkAttachOptions) (0), 0, 0);
- preferences_file_path_entry = gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (preferences_file_combo));
- gtk_widget_ref (preferences_file_path_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_file_path_entry", preferences_file_path_entry,
+ spinbutton6_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
+ spinbutton6 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton6_adj), 1, 0);
+ gtk_widget_ref (spinbutton6);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "spinbutton6", spinbutton6,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_file_path_entry);
+ gtk_widget_show (spinbutton6);
+ gtk_table_attach (GTK_TABLE (table3), spinbutton6, 1, 2, 1, 2,
+ (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
- preferences_file_path_label = gtk_label_new (_("Default path: "));
- gtk_widget_ref (preferences_file_path_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_file_path_label", preferences_file_path_label,
+ hbox6 = gtk_hbox_new (FALSE, 5);
+ gtk_widget_ref (hbox6);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "hbox6", hbox6,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_file_path_label);
- gtk_table_attach (GTK_TABLE (preferences_file_table), preferences_file_path_label, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_file_path_label), 0, 0.5);
+ gtk_widget_show (hbox6);
+ gtk_box_pack_start (GTK_BOX (vbox10), hbox6, TRUE, TRUE, 0);
- preferences_file = gtk_label_new (_("File"));
- gtk_widget_ref (preferences_file);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_file", preferences_file,
+ label29 = gtk_label_new (_("Device name:"));
+ gtk_widget_ref (label29);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "label29", label29,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_file);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 0), preferences_file);
+ gtk_widget_show (label29);
+ gtk_box_pack_start (GTK_BOX (hbox6), label29, FALSE, FALSE, 0);
- preferences_disc_table = gtk_table_new (2, 2, FALSE);
- gtk_widget_ref (preferences_disc_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_disc_table", preferences_disc_table,
+ entry1 = gtk_entry_new ();
+ gtk_widget_ref (entry1);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "entry1", entry1,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_disc_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_disc_table);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_disc_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preferences_disc_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preferences_disc_table), 5);
+ gtk_widget_show (entry1);
+ gtk_box_pack_start (GTK_BOX (hbox6), entry1, TRUE, TRUE, 0);
+ gtk_entry_set_text (GTK_ENTRY (entry1), config_GetPszVariable( "dvd_device" ));
- preferences_disc_dvd_combo = gnome_file_entry_new (NULL, NULL);
- gtk_widget_ref (preferences_disc_dvd_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_disc_dvd_combo", preferences_disc_dvd_combo,
+ tab_disc = gtk_label_new (_("Disc"));
+ gtk_widget_ref (tab_disc);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "tab_disc", tab_disc,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_disc_dvd_combo);
- gtk_table_attach (GTK_TABLE (preferences_disc_table), preferences_disc_dvd_combo, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ gtk_widget_show (tab_disc);
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (tab_open), gtk_notebook_get_nth_page (GTK_NOTEBOOK (tab_open), 0), tab_disc);
- preferences_disc_dvd_entry = gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (preferences_disc_dvd_combo));
- gtk_widget_ref (preferences_disc_dvd_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_disc_dvd_entry", preferences_disc_dvd_entry,
+ vbox12 = gtk_vbox_new (FALSE, 5);
+ gtk_widget_ref (vbox12);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "vbox12", vbox12,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_disc_dvd_entry);
+ gtk_widget_show (vbox12);
+ gtk_container_add (GTK_CONTAINER (tab_open), vbox12);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox12), 5);
- preferences_file_vcd_combo = gnome_file_entry_new (NULL, NULL);
- gtk_widget_ref (preferences_file_vcd_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_file_vcd_combo", preferences_file_vcd_combo,
+ hbox7 = gtk_hbox_new (FALSE, 5);
+ gtk_widget_ref (hbox7);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "hbox7", hbox7,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_file_vcd_combo);
- gtk_table_attach (GTK_TABLE (preferences_disc_table), preferences_file_vcd_combo, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_disc_vcd_entry = gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (preferences_file_vcd_combo));
- gtk_widget_ref (preferences_disc_vcd_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_disc_vcd_entry", preferences_disc_vcd_entry,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_disc_vcd_entry);
-
- preferences_disc_dvd_label = gtk_label_new (_("Default DVD path: "));
- gtk_widget_ref (preferences_disc_dvd_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_disc_dvd_label", preferences_disc_dvd_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_disc_dvd_label);
- gtk_table_attach (GTK_TABLE (preferences_disc_table), preferences_disc_dvd_label, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_disc_dvd_label), 0, 0.5);
-
- preferences_disc_vcd_label = gtk_label_new (_("Default VCD path: "));
- gtk_widget_ref (preferences_disc_vcd_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_disc_vcd_label", preferences_disc_vcd_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_disc_vcd_label);
- gtk_table_attach (GTK_TABLE (preferences_disc_table), preferences_disc_vcd_label, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_disc_vcd_label), 0, 0.5);
-
- preferences_disc = gtk_label_new (_("Disc"));
- gtk_widget_ref (preferences_disc);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_disc", preferences_disc,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_disc);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 1), preferences_disc);
-
- preferences_network_table = gtk_table_new (7, 2, FALSE);
- gtk_widget_ref (preferences_network_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_table", preferences_network_table,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_network_table);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_network_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preferences_network_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preferences_network_table), 5);
-
- preferences_network_server_label = gtk_label_new (_("Default server: "));
- gtk_widget_ref (preferences_network_server_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_server_label", preferences_network_server_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_server_label);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_server_label, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_network_server_label), 0, 0.5);
-
- preferences_network_port_spinbutton_adj = gtk_adjustment_new (1234, 0, 65535, 1, 10, 10);
- preferences_network_port_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (preferences_network_port_spinbutton_adj), 1, 0);
- gtk_widget_ref (preferences_network_port_spinbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_port_spinbutton", preferences_network_port_spinbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_port_spinbutton);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_port_spinbutton, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_network_broadcast_label = gtk_label_new (_("Broadcast address: "));
- gtk_widget_ref (preferences_network_broadcast_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_broadcast_label", preferences_network_broadcast_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_broadcast_label);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_broadcast_label, 0, 1, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_network_broadcast_label), 0, 0.5);
-
- preferences_network_port_label = gtk_label_new (_("Default port: "));
- gtk_widget_ref (preferences_network_port_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_port_label", preferences_network_port_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_port_label);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_port_label, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_network_port_label), 0, 0.5);
-
- preferences_network_server_combo = gnome_entry_new (NULL);
- gtk_widget_ref (preferences_network_server_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_server_combo", preferences_network_server_combo,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_server_combo);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_server_combo, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ gtk_widget_show (hbox7);
+ gtk_box_pack_start (GTK_BOX (vbox12), hbox7, TRUE, TRUE, 0);
- preferences_network_server_entry = gnome_entry_gtk_entry (GNOME_ENTRY (preferences_network_server_combo));
- gtk_widget_ref (preferences_network_server_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_server_entry", preferences_network_server_entry,
+ frame8 = gtk_frame_new (_("Protocol"));
+ gtk_widget_ref (frame8);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "frame8", frame8,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_server_entry);
- gtk_entry_set_text (GTK_ENTRY (preferences_network_server_entry), _("vls"));
+ gtk_widget_show (frame8);
+ gtk_box_pack_start (GTK_BOX (hbox7), frame8, TRUE, TRUE, 0);
- preferences_network_broadcast_combo = gnome_entry_new (NULL);
- gtk_widget_ref (preferences_network_broadcast_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_broadcast_combo", preferences_network_broadcast_combo,
+ vbox13 = gtk_vbox_new (FALSE, 0);
+ gtk_widget_ref (vbox13);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "vbox13", vbox13,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_broadcast_combo);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_broadcast_combo, 1, 2, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ gtk_widget_show (vbox13);
+ gtk_container_add (GTK_CONTAINER (frame8), vbox13);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox13), 5);
- preferences_network_broadcast_entry = gnome_entry_gtk_entry (GNOME_ENTRY (preferences_network_broadcast_combo));
- gtk_widget_ref (preferences_network_broadcast_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_broadcast_entry", preferences_network_broadcast_entry,
+ radiobutton3 = gtk_radio_button_new_with_label (vbox13_group, _("UDP stream"));
+ vbox13_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton3));
+ gtk_widget_ref (radiobutton3);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "radiobutton3", radiobutton3,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_broadcast_entry);
+ gtk_widget_show (radiobutton3);
+ gtk_box_pack_start (GTK_BOX (vbox13), radiobutton3, FALSE, FALSE, 0);
- preferences_network_broadcast_checkbutton = gtk_check_button_new_with_label (_("Broadcast mode"));
- gtk_widget_ref (preferences_network_broadcast_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_broadcast_checkbutton", preferences_network_broadcast_checkbutton,
+ radiobutton4 = gtk_radio_button_new_with_label (vbox13_group, _("HTTP"));
+ vbox13_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton4));
+ gtk_widget_ref (radiobutton4);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "radiobutton4", radiobutton4,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_broadcast_checkbutton);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_broadcast_checkbutton, 0, 1, 3, 4,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ gtk_widget_show (radiobutton4);
+ gtk_box_pack_start (GTK_BOX (vbox13), radiobutton4, FALSE, FALSE, 0);
- preferences_network_ts_radiobutton = gtk_radio_button_new_with_label (preferences_network_protocol_group_group, _("TS"));
- preferences_network_protocol_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (preferences_network_ts_radiobutton));
- gtk_widget_ref (preferences_network_ts_radiobutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_ts_radiobutton", preferences_network_ts_radiobutton,
+ radiobutton5 = gtk_radio_button_new_with_label (vbox13_group, _("RTP"));
+ vbox13_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton5));
+ gtk_widget_ref (radiobutton5);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "radiobutton5", radiobutton5,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_ts_radiobutton);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_ts_radiobutton, 1, 2, 4, 5,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (GTK_SHRINK), 0, 0);
+ gtk_widget_show (radiobutton5);
+ gtk_box_pack_start (GTK_BOX (vbox13), radiobutton5, FALSE, FALSE, 0);
+
+ frame9 = gtk_frame_new (_("Server"));
+ gtk_widget_ref (frame9);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "frame9", frame9,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (frame9);
+ gtk_box_pack_start (GTK_BOX (hbox7), frame9, TRUE, TRUE, 0);
+
+ vbox14 = gtk_vbox_new (FALSE, 0);
+ gtk_widget_ref (vbox14);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "vbox14", vbox14,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (vbox14);
+ gtk_container_add (GTK_CONTAINER (frame9), vbox14);
+
+ table4 = gtk_table_new (2, 2, FALSE);
+ gtk_widget_ref (table4);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "table4", table4,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (table4);
+ gtk_box_pack_start (GTK_BOX (vbox14), table4, TRUE, TRUE, 0);
+ gtk_container_set_border_width (GTK_CONTAINER (table4), 5);
+ gtk_table_set_row_spacings (GTK_TABLE (table4), 5);
+ gtk_table_set_col_spacings (GTK_TABLE (table4), 5);
- preferences_network_rtp_radiobutton = gtk_radio_button_new_with_label (preferences_network_protocol_group_group, _("RTP"));
- preferences_network_protocol_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (preferences_network_rtp_radiobutton));
- gtk_widget_ref (preferences_network_rtp_radiobutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_rtp_radiobutton", preferences_network_rtp_radiobutton,
+ label26 = gtk_label_new (_("Address"));
+ gtk_widget_ref (label26);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "label26", label26,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_rtp_radiobutton);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_rtp_radiobutton, 1, 2, 5, 6,
+ gtk_widget_show (label26);
+ gtk_table_attach (GTK_TABLE (table4), label26, 0, 1, 0, 1,
(GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (GTK_SHRINK), 0, 0);
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label26), 0, 0.5);
- preferences_network_http_radiobutton = gtk_radio_button_new_with_label (preferences_network_protocol_group_group, _("HTTP"));
- preferences_network_protocol_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (preferences_network_http_radiobutton));
- gtk_widget_ref (preferences_network_http_radiobutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_http_radiobutton", preferences_network_http_radiobutton,
+ label27 = gtk_label_new (_("Port"));
+ gtk_widget_ref (label27);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "label27", label27,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_http_radiobutton);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_http_radiobutton, 1, 2, 6, 7,
+ gtk_widget_show (label27);
+ gtk_table_attach (GTK_TABLE (table4), label27, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (GTK_SHRINK), 0, 0);
-
- preferences_network_protocol_label = gtk_label_new (_("Default protocol: "));
- gtk_widget_ref (preferences_network_protocol_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_protocol_label", preferences_network_protocol_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_protocol_label);
- gtk_table_attach (GTK_TABLE (preferences_network_table), preferences_network_protocol_label, 0, 1, 4, 7,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_network_protocol_label), 0, 0.5);
-
- preferences_network = gtk_label_new (_("Network"));
- gtk_widget_ref (preferences_network);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network", preferences_network,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 2), preferences_network);
-
- preferences_network_interface_table = gtk_table_new (1, 2, FALSE);
- gtk_widget_ref (preferences_network_interface_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_network_interface_table", preferences_network_interface_table,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_network_interface_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_network_interface_table);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_network_interface_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preferences_network_interface_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preferences_network_interface_table), 5);
-
- preferences_interface_label = gtk_label_new (_("Default interface: "));
- gtk_widget_ref (preferences_interface_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_interface_label", preferences_interface_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_interface_label);
- gtk_table_attach (GTK_TABLE (preferences_network_interface_table), preferences_interface_label, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_interface_label), 0, 0.5);
-
- preferences_interface_combo = gnome_entry_new (NULL);
- gtk_widget_ref (preferences_interface_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_interface_combo", preferences_interface_combo,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_interface_combo);
- gtk_table_attach (GTK_TABLE (preferences_network_interface_table), preferences_interface_combo, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_interface_entry = gnome_entry_gtk_entry (GNOME_ENTRY (preferences_interface_combo));
- gtk_widget_ref (preferences_interface_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_interface_entry", preferences_interface_entry,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_interface_entry);
-
- preferences_interface = gtk_label_new (_("Interface"));
- gtk_widget_ref (preferences_interface);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_interface", preferences_interface,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_interface);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 3), preferences_interface);
-
- preferences_video_table = gtk_table_new (7, 2, FALSE);
- gtk_widget_ref (preferences_video_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_table", preferences_video_table,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_video_table);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_video_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preferences_video_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preferences_video_table), 5);
-
- preferences_video_output_label = gtk_label_new (_("Default output: "));
- gtk_widget_ref (preferences_video_output_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_output_label", preferences_video_output_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_output_label);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_output_label, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_video_output_label), 0, 0.5);
-
- preferences_video_height = gtk_label_new (_("Default height: "));
- gtk_widget_ref (preferences_video_height);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_height", preferences_video_height,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_height);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_height, 0, 1, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_video_height), 0, 0.5);
-
- preferences_video_height_spinbutton_adj = gtk_adjustment_new (576, 0, 1600, 1, 10, 10);
- preferences_video_height_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (preferences_video_height_spinbutton_adj), 1, 0);
- gtk_widget_ref (preferences_video_height_spinbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_height_spinbutton", preferences_video_height_spinbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_height_spinbutton);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_height_spinbutton, 1, 2, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label27), 0, 0.5);
- preferences_video_width_spinbutton_adj = gtk_adjustment_new (720, 100, 1600, 1, 10, 10);
- preferences_video_width_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (preferences_video_width_spinbutton_adj), 1, 0);
- gtk_widget_ref (preferences_video_width_spinbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_width_spinbutton", preferences_video_width_spinbutton,
+ combo1 = gtk_combo_new ();
+ gtk_widget_ref (combo1);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "combo1", combo1,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_width_spinbutton);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_width_spinbutton, 1, 2, 1, 2,
+ gtk_widget_show (combo1);
+ gtk_table_attach (GTK_TABLE (table4), combo1, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ (GtkAttachOptions) (0), 0, 0);
- preferences_video_width_label = gtk_label_new (_("Default width: "));
- gtk_widget_ref (preferences_video_width_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_width_label", preferences_video_width_label,
+ combo_entry1 = GTK_COMBO (combo1)->entry;
+ gtk_widget_ref (combo_entry1);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "combo_entry1", combo_entry1,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_width_label);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_width_label, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_video_width_label), 0, 0.5);
+ gtk_widget_show (combo_entry1);
- preferences_video_output_combo = gnome_entry_new (NULL);
- gtk_widget_ref (preferences_video_output_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_output_combo", preferences_video_output_combo,
+ spinbutton7_adj = gtk_adjustment_new (0, 0, 100, 1, 10, 10);
+ spinbutton7 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton7_adj), 1, 0);
+ gtk_widget_ref (spinbutton7);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "spinbutton7", spinbutton7,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_output_combo);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_output_combo, 1, 2, 0, 1,
+ gtk_widget_show (spinbutton7);
+ gtk_table_attach (GTK_TABLE (table4), spinbutton7, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ (GtkAttachOptions) (0), 0, 0);
- preferences_video_output_entry = gnome_entry_gtk_entry (GNOME_ENTRY (preferences_video_output_combo));
- gtk_widget_ref (preferences_video_output_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_output_entry", preferences_video_output_entry,
+ frame10 = gtk_frame_new (_("Broadcast"));
+ gtk_widget_ref (frame10);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "frame10", frame10,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_output_entry);
+ gtk_widget_show (frame10);
+ gtk_box_pack_start (GTK_BOX (vbox12), frame10, TRUE, TRUE, 0);
- preferences_video_depth = gtk_label_new (_("Default depth:"));
- gtk_widget_ref (preferences_video_depth);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_depth", preferences_video_depth,
+ hbox8 = gtk_hbox_new (FALSE, 5);
+ gtk_widget_ref (hbox8);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "hbox8", hbox8,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_depth);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_depth, 0, 1, 3, 4,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_video_depth), 0, 0.5);
+ gtk_widget_show (hbox8);
+ gtk_container_add (GTK_CONTAINER (frame10), hbox8);
+ gtk_container_set_border_width (GTK_CONTAINER (hbox8), 5);
- preferences_video_depth_optionmenu = gtk_option_menu_new ();
- gtk_widget_ref (preferences_video_depth_optionmenu);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_depth_optionmenu", preferences_video_depth_optionmenu,
+ checkbutton2 = gtk_check_button_new_with_label (_("Broadcast"));
+ gtk_widget_ref (checkbutton2);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "checkbutton2", checkbutton2,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_depth_optionmenu);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_depth_optionmenu, 1, 2, 3, 4,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- preferences_video_depth_optionmenu_menu = gtk_menu_new ();
- glade_menuitem = gtk_menu_item_new_with_label (_("15 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_video_depth_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("16 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_video_depth_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("32 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_video_depth_optionmenu_menu), glade_menuitem);
- gtk_option_menu_set_menu (GTK_OPTION_MENU (preferences_video_depth_optionmenu), preferences_video_depth_optionmenu_menu);
- gtk_option_menu_set_history (GTK_OPTION_MENU (preferences_video_depth_optionmenu), 1);
-
- preferences_video_fullscreen_depth = gtk_label_new (_("Fullscreen depth:"));
- gtk_widget_ref (preferences_video_fullscreen_depth);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_fullscreen_depth", preferences_video_fullscreen_depth,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_fullscreen_depth);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_fullscreen_depth, 0, 1, 4, 5,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_video_fullscreen_depth), 0, 0.5);
-
- preferences_video_fullscreen_depth_optionmenu = gtk_option_menu_new ();
- gtk_widget_ref (preferences_video_fullscreen_depth_optionmenu);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_fullscreen_depth_optionmenu", preferences_video_fullscreen_depth_optionmenu,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_fullscreen_depth_optionmenu);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_fullscreen_depth_optionmenu, 1, 2, 4, 5,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
- preferences_video_fullscreen_depth_optionmenu_menu = gtk_menu_new ();
- glade_menuitem = gtk_menu_item_new_with_label (_("15 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_video_fullscreen_depth_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("16 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_video_fullscreen_depth_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("32 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_video_fullscreen_depth_optionmenu_menu), glade_menuitem);
- gtk_option_menu_set_menu (GTK_OPTION_MENU (preferences_video_fullscreen_depth_optionmenu), preferences_video_fullscreen_depth_optionmenu_menu);
- gtk_option_menu_set_history (GTK_OPTION_MENU (preferences_video_fullscreen_depth_optionmenu), 2);
-
- preferences_video_fullscreen_checkbutton = gtk_check_button_new_with_label (_("Fullscreen on play"));
- gtk_widget_ref (preferences_video_fullscreen_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_fullscreen_checkbutton", preferences_video_fullscreen_checkbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_fullscreen_checkbutton);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_fullscreen_checkbutton, 0, 1, 6, 7,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_video_grayscale_checkbutton = gtk_check_button_new_with_label (_("Grayscale"));
- gtk_widget_ref (preferences_video_grayscale_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_grayscale_checkbutton", preferences_video_grayscale_checkbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_grayscale_checkbutton);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_grayscale_checkbutton, 1, 2, 6, 7,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_video_gamma_label = gtk_label_new (_("Gamma:"));
- gtk_widget_ref (preferences_video_gamma_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video_gamma_label", preferences_video_gamma_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video_gamma_label);
- gtk_table_attach (GTK_TABLE (preferences_video_table), preferences_video_gamma_label, 0, 1, 5, 6,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_video_gamma_label), 0, 0.5);
-
- spinbutton4_adj = gtk_adjustment_new (0, 0, 5, 0.1, 10, 10);
- spinbutton4 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton4_adj), 1, 1);
- gtk_widget_ref (spinbutton4);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "spinbutton4", spinbutton4,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (spinbutton4);
- gtk_table_attach (GTK_TABLE (preferences_video_table), spinbutton4, 1, 2, 5, 6,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
+ gtk_widget_show (checkbutton2);
+ gtk_box_pack_start (GTK_BOX (hbox8), checkbutton2, FALSE, FALSE, 0);
- preferences_video = gtk_label_new (_("Video"));
- gtk_widget_ref (preferences_video);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_video", preferences_video,
+ combo3 = gtk_combo_new ();
+ gtk_widget_ref (combo3);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "combo3", combo3,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_video);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 4), preferences_video);
+ gtk_widget_show (combo3);
+ gtk_box_pack_start (GTK_BOX (hbox8), combo3, TRUE, TRUE, 0);
- preference_audio_table = gtk_table_new (6, 2, FALSE);
- gtk_widget_ref (preference_audio_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preference_audio_table", preference_audio_table,
+ combo_entry3 = GTK_COMBO (combo3)->entry;
+ gtk_widget_ref (combo_entry3);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "combo_entry3", combo_entry3,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preference_audio_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preference_audio_table);
- gtk_container_set_border_width (GTK_CONTAINER (preference_audio_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preference_audio_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preference_audio_table), 5);
+ gtk_widget_show (combo_entry3);
- preferences_audio_spdif_checkbutton = gtk_check_button_new_with_label (_("Spdif output"));
- gtk_widget_ref (preferences_audio_spdif_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_spdif_checkbutton", preferences_audio_spdif_checkbutton,
+ frame11 = gtk_frame_new (_("Channels"));
+ gtk_widget_ref (frame11);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "frame11", frame11,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_spdif_checkbutton);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_spdif_checkbutton, 0, 2, 5, 6,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ gtk_widget_show (frame11);
+ gtk_box_pack_start (GTK_BOX (vbox12), frame11, TRUE, TRUE, 0);
- preferences_audio_output_label = gtk_label_new (_("Default output: "));
- gtk_widget_ref (preferences_audio_output_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_output_label", preferences_audio_output_label,
+ hbox9 = gtk_hbox_new (FALSE, 5);
+ gtk_widget_ref (hbox9);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "hbox9", hbox9,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_output_label);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_output_label, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_audio_output_label), 0, 0.5);
+ gtk_widget_show (hbox9);
+ gtk_container_add (GTK_CONTAINER (frame11), hbox9);
+ gtk_container_set_border_width (GTK_CONTAINER (hbox9), 5);
- preferences_audio_output_combo = gnome_entry_new (NULL);
- gtk_widget_ref (preferences_audio_output_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_output_combo", preferences_audio_output_combo,
+ checkbutton1 = gtk_check_button_new_with_label (_("Channel server"));
+ gtk_widget_ref (checkbutton1);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "checkbutton1", checkbutton1,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_output_combo);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_output_combo, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
+ gtk_widget_show (checkbutton1);
+ gtk_box_pack_start (GTK_BOX (hbox9), checkbutton1, FALSE, FALSE, 0);
- preferences_audio_output_entry = gnome_entry_gtk_entry (GNOME_ENTRY (preferences_audio_output_combo));
- gtk_widget_ref (preferences_audio_output_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_output_entry", preferences_audio_output_entry,
+ combo2 = gtk_combo_new ();
+ gtk_widget_ref (combo2);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "combo2", combo2,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_output_entry);
+ gtk_widget_show (combo2);
+ gtk_box_pack_start (GTK_BOX (hbox9), combo2, TRUE, TRUE, 0);
- preferences_audio_frequency_label = gtk_label_new (_("Frequency: "));
- gtk_widget_ref (preferences_audio_frequency_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_frequency_label", preferences_audio_frequency_label,
+ combo_entry2 = GTK_COMBO (combo2)->entry;
+ gtk_widget_ref (combo_entry2);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "combo_entry2", combo_entry2,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_frequency_label);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_frequency_label, 0, 1, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_audio_frequency_label), 0, 0.5);
+ gtk_widget_show (combo_entry2);
- preferences_audio_frequency_optionmenu = gtk_option_menu_new ();
- gtk_widget_ref (preferences_audio_frequency_optionmenu);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_frequency_optionmenu", preferences_audio_frequency_optionmenu,
+ label28 = gtk_label_new (_("Port"));
+ gtk_widget_ref (label28);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "label28", label28,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_frequency_optionmenu);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_frequency_optionmenu, 1, 2, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- preferences_audio_frequency_optionmenu_menu = gtk_menu_new ();
- glade_menuitem = gtk_menu_item_new_with_label (_("48000 Hz"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_frequency_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("44100 Hz"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_frequency_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("32000 Hz"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_frequency_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("22050 Hz"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_frequency_optionmenu_menu), glade_menuitem);
- gtk_option_menu_set_menu (GTK_OPTION_MENU (preferences_audio_frequency_optionmenu), preferences_audio_frequency_optionmenu_menu);
-
- preferences_audio_quality_label = gtk_label_new (_("Quality: "));
- gtk_widget_ref (preferences_audio_quality_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_quality_label", preferences_audio_quality_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_quality_label);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_quality_label, 0, 1, 3, 4,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_audio_quality_label), 0, 0.5);
-
- preferences_audio_quality_optionmenu = gtk_option_menu_new ();
- gtk_widget_ref (preferences_audio_quality_optionmenu);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_quality_optionmenu", preferences_audio_quality_optionmenu,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_quality_optionmenu);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_quality_optionmenu, 1, 2, 3, 4,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- preferences_audio_quality_optionmenu_menu = gtk_menu_new ();
- glade_menuitem = gtk_menu_item_new_with_label (_("16 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_quality_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("8 bits"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_quality_optionmenu_menu), glade_menuitem);
- gtk_option_menu_set_menu (GTK_OPTION_MENU (preferences_audio_quality_optionmenu), preferences_audio_quality_optionmenu_menu);
-
- preferences_audio_channels_label = gtk_label_new (_("Channels: "));
- gtk_widget_ref (preferences_audio_channels_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_channels_label", preferences_audio_channels_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_channels_label);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_channels_label, 0, 1, 4, 5,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_audio_channels_label), 0, 0.5);
-
- preferences_audio_channels_optionmenu = gtk_option_menu_new ();
- gtk_widget_ref (preferences_audio_channels_optionmenu);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_channels_optionmenu", preferences_audio_channels_optionmenu,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_channels_optionmenu);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_channels_optionmenu, 1, 2, 4, 5,
+ gtk_widget_show (label28);
+ gtk_box_pack_start (GTK_BOX (hbox9), label28, FALSE, FALSE, 0);
+
+ spinbutton8_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
+ spinbutton8 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton8_adj), 1, 0);
+ gtk_widget_ref (spinbutton8);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "spinbutton8", spinbutton8,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (spinbutton8);
+ gtk_box_pack_start (GTK_BOX (hbox9), spinbutton8, TRUE, TRUE, 0);
+
+ tab_network = gtk_label_new (_("Network"));
+ gtk_widget_ref (tab_network);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "tab_network", tab_network,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (tab_network);
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (tab_open), gtk_notebook_get_nth_page (GTK_NOTEBOOK (tab_open), 1), tab_network);
+
+ dialog_action_area5 = GNOME_DIALOG (intf_open)->action_area;
+ gtk_object_set_data (GTK_OBJECT (intf_open), "dialog_action_area5", dialog_action_area5);
+ gtk_widget_show (dialog_action_area5);
+ gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area5), GTK_BUTTONBOX_END);
+ gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area5), 8);
+
+ gnome_dialog_append_button (GNOME_DIALOG (intf_open), GNOME_STOCK_BUTTON_OK);
+ button1 = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_open)->buttons)->data);
+ gtk_widget_ref (button1);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "button1", button1,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (button1);
+ GTK_WIDGET_SET_FLAGS (button1, GTK_CAN_DEFAULT);
+
+ gnome_dialog_append_button (GNOME_DIALOG (intf_open), GNOME_STOCK_BUTTON_CANCEL);
+ button3 = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_open)->buttons)->data);
+ gtk_widget_ref (button3);
+ gtk_object_set_data_full (GTK_OBJECT (intf_open), "button3", button3,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (button3);
+ GTK_WIDGET_SET_FLAGS (button3, GTK_CAN_DEFAULT);
+
+ return intf_open;
+}
+
+GtkWidget*
+create_intf_messages (void)
+{
+ GtkWidget *intf_messages;
+ GtkWidget *dialog_vbox6;
+ GtkWidget *scrolledwindow1;
+ GtkWidget *messages_textbox;
+ GtkWidget *dialog_action_area6;
+ GtkWidget *messages_ok;
+
+ intf_messages = gnome_dialog_new (_("Messages"), NULL);
+ gtk_object_set_data (GTK_OBJECT (intf_messages), "intf_messages", intf_messages);
+ gtk_window_set_policy (GTK_WINDOW (intf_messages), TRUE, TRUE, FALSE);
+ gnome_dialog_close_hides (GNOME_DIALOG (intf_messages), TRUE);
+
+ dialog_vbox6 = GNOME_DIALOG (intf_messages)->vbox;
+ gtk_object_set_data (GTK_OBJECT (intf_messages), "dialog_vbox6", dialog_vbox6);
+ gtk_widget_show (dialog_vbox6);
+
+ scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
+ gtk_widget_ref (scrolledwindow1);
+ gtk_object_set_data_full (GTK_OBJECT (intf_messages), "scrolledwindow1", scrolledwindow1,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (scrolledwindow1);
+ gtk_box_pack_start (GTK_BOX (dialog_vbox6), scrolledwindow1, TRUE, TRUE, 0);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+
+ messages_textbox = gtk_text_new (NULL, NULL);
+ gtk_widget_ref (messages_textbox);
+ gtk_object_set_data_full (GTK_OBJECT (intf_messages), "messages_textbox", messages_textbox,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (messages_textbox);
+ gtk_container_add (GTK_CONTAINER (scrolledwindow1), messages_textbox);
+ gtk_widget_set_usize (messages_textbox, 600, 400);
+
+ dialog_action_area6 = GNOME_DIALOG (intf_messages)->action_area;
+ gtk_object_set_data (GTK_OBJECT (intf_messages), "dialog_action_area6", dialog_action_area6);
+ gtk_widget_show (dialog_action_area6);
+ gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area6), GTK_BUTTONBOX_END);
+ gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area6), 8);
+
+ gnome_dialog_append_button (GNOME_DIALOG (intf_messages), GNOME_STOCK_BUTTON_OK);
+ messages_ok = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_messages)->buttons)->data);
+ gtk_widget_ref (messages_ok);
+ gtk_object_set_data_full (GTK_OBJECT (intf_messages), "messages_ok", messages_ok,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (messages_ok);
+ GTK_WIDGET_SET_FLAGS (messages_ok, GTK_CAN_DEFAULT);
+
+ gtk_signal_connect (GTK_OBJECT (intf_messages), "destroy",
+ GTK_SIGNAL_FUNC (gtk_widget_hide),
+ "intf_playlist");
+ gtk_signal_connect (GTK_OBJECT (intf_messages), "delete_event",
+ GTK_SIGNAL_FUNC (gtk_widget_hide),
+ "intf_playlist");
+ gtk_signal_connect (GTK_OBJECT (messages_ok), "clicked",
+ GTK_SIGNAL_FUNC (GtkMessagesOk),
+ "intf_messages");
+
+ return intf_messages;
+}
+
+GtkWidget*
+create_intf_sat (void)
+{
+ GtkWidget *intf_sat;
+ GtkWidget *vbox15;
+ GtkWidget *hbox10;
+ GtkWidget *frame13;
+ GtkWidget *table5;
+ GtkWidget *label30;
+ GtkObject *sat_freq_adj;
+ GtkWidget *sat_freq;
+ GtkWidget *label31;
+ GSList *pol_group = NULL;
+ GtkWidget *sat_pol_hor;
+ GtkWidget *sat_pol_vert;
+ GtkWidget *label33;
+ GtkObject *sat_srate_adj;
+ GtkWidget *sat_srate;
+ GtkWidget *label35;
+ GtkWidget *sat_fec;
+ GList *sat_fec_items = NULL;
+ GtkWidget *combo_entry4;
+ GtkWidget *hbuttonbox2;
+ GtkWidget *sat_ok;
+ GtkWidget *sat_cancel;
+
+ intf_sat = gnome_dialog_new (_("Open Satellite Card"), NULL);
+ gtk_object_set_data (GTK_OBJECT (intf_sat), "intf_sat", intf_sat);
+ gtk_window_set_modal (GTK_WINDOW (intf_sat), TRUE);
+ gtk_window_set_policy (GTK_WINDOW (intf_sat), FALSE, FALSE, FALSE);
+
+ vbox15 = GNOME_DIALOG (intf_sat)->vbox;
+ gtk_object_set_data (GTK_OBJECT (intf_sat), "vbox15", vbox15);
+ gtk_widget_show (vbox15);
+
+ hbox10 = gtk_hbox_new (FALSE, 5);
+ gtk_widget_ref (hbox10);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "hbox10", hbox10,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (hbox10);
+ gtk_box_pack_start (GTK_BOX (vbox15), hbox10, TRUE, TRUE, 0);
+
+ frame13 = gtk_frame_new (_("Transponder settings"));
+ gtk_widget_ref (frame13);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "frame13", frame13,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (frame13);
+ gtk_box_pack_start (GTK_BOX (hbox10), frame13, TRUE, TRUE, 0);
+
+ table5 = gtk_table_new (5, 2, FALSE);
+ gtk_widget_ref (table5);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "table5", table5,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (table5);
+ gtk_container_add (GTK_CONTAINER (frame13), table5);
+ gtk_container_set_border_width (GTK_CONTAINER (table5), 5);
+ gtk_table_set_row_spacings (GTK_TABLE (table5), 5);
+ gtk_table_set_col_spacings (GTK_TABLE (table5), 5);
+
+ label30 = gtk_label_new (_("Frequency"));
+ gtk_widget_ref (label30);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "label30", label30,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (label30);
+ gtk_table_attach (GTK_TABLE (table5), label30, 0, 1, 0, 1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- preferences_audio_channels_optionmenu_menu = gtk_menu_new ();
- glade_menuitem = gtk_menu_item_new_with_label (_("Mono"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_channels_optionmenu_menu), glade_menuitem);
- glade_menuitem = gtk_menu_item_new_with_label (_("Stereo"));
- gtk_widget_show (glade_menuitem);
- gtk_menu_append (GTK_MENU (preferences_audio_channels_optionmenu_menu), glade_menuitem);
- gtk_option_menu_set_menu (GTK_OPTION_MENU (preferences_audio_channels_optionmenu), preferences_audio_channels_optionmenu_menu);
- gtk_option_menu_set_history (GTK_OPTION_MENU (preferences_audio_channels_optionmenu), 1);
-
- preferences_audio_device_label = gtk_label_new (_("Default device:"));
- gtk_widget_ref (preferences_audio_device_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_device_label", preferences_audio_device_label,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_device_label);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_device_label, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (preferences_audio_device_label), 0, 0.5);
-
- preferences_audio_device_combo = gnome_entry_new (NULL);
- gtk_widget_ref (preferences_audio_device_combo);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_device_combo", preferences_audio_device_combo,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_device_combo);
- gtk_table_attach (GTK_TABLE (preference_audio_table), preferences_audio_device_combo, 1, 2, 1, 2,
+ gtk_misc_set_alignment (GTK_MISC (label30), 0, 0.5);
+
+ sat_freq_adj = gtk_adjustment_new (11954, 10000, 12999, 1, 10, 10);
+ sat_freq = gtk_spin_button_new (GTK_ADJUSTMENT (sat_freq_adj), 1, 0);
+ gtk_widget_ref (sat_freq);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_freq", sat_freq,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (sat_freq);
+ gtk_table_attach (GTK_TABLE (table5), sat_freq, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_audio_device_entry = gnome_entry_gtk_entry (GNOME_ENTRY (preferences_audio_device_combo));
- gtk_widget_ref (preferences_audio_device_entry);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio_device_entry", preferences_audio_device_entry,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio_device_entry);
-
- preferences_audio = gtk_label_new (_("Audio"));
- gtk_widget_ref (preferences_audio);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_audio", preferences_audio,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_audio);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 5), preferences_audio);
-
- preference_playlist_table = gtk_table_new (3, 1, FALSE);
- gtk_widget_ref (preference_playlist_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preference_playlist_table", preference_playlist_table,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preference_playlist_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preference_playlist_table);
- gtk_container_set_border_width (GTK_CONTAINER (preference_playlist_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preference_playlist_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preference_playlist_table), 5);
-
- preferences_playlist_startup_checkbutton = gtk_check_button_new_with_label (_("Launch on startup"));
- gtk_widget_ref (preferences_playlist_startup_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_playlist_startup_checkbutton", preferences_playlist_startup_checkbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_playlist_startup_checkbutton);
- gtk_table_attach (GTK_TABLE (preference_playlist_table), preferences_playlist_startup_checkbutton, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_playlist_loop_checkbutton = gtk_check_button_new_with_label (_("Loop on playlist end"));
- gtk_widget_ref (preferences_playlist_loop_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_playlist_loop_checkbutton", preferences_playlist_loop_checkbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_playlist_loop_checkbutton);
- gtk_table_attach (GTK_TABLE (preference_playlist_table), preferences_playlist_loop_checkbutton, 0, 1, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_playlist_enqueue_checkbutton = gtk_check_button_new_with_label (_("Enqueue as default"));
- gtk_widget_ref (preferences_playlist_enqueue_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_playlist_enqueue_checkbutton", preferences_playlist_enqueue_checkbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_playlist_enqueue_checkbutton);
- gtk_table_attach (GTK_TABLE (preference_playlist_table), preferences_playlist_enqueue_checkbutton, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
-
- preferences_playlist = gtk_label_new (_("Playlist"));
- gtk_widget_ref (preferences_playlist);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_playlist", preferences_playlist,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_playlist);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 6), preferences_playlist);
-
- preferences_misc_table = gtk_table_new (1, 2, FALSE);
- gtk_widget_ref (preferences_misc_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_table", preferences_misc_table,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_table);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_misc_table);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_misc_table), 5);
- gtk_table_set_row_spacings (GTK_TABLE (preferences_misc_table), 5);
- gtk_table_set_col_spacings (GTK_TABLE (preferences_misc_table), 5);
-
- preferences_misc_associated_files_frame = gtk_frame_new (_("Files associated with vlc"));
- gtk_widget_ref (preferences_misc_associated_files_frame);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_associated_files_frame", preferences_misc_associated_files_frame,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_associated_files_frame);
- gtk_table_attach (GTK_TABLE (preferences_misc_table), preferences_misc_associated_files_frame, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_FILL), 0, 0);
- gtk_widget_set_sensitive (preferences_misc_associated_files_frame, FALSE);
- gtk_frame_set_label_align (GTK_FRAME (preferences_misc_associated_files_frame), 0.05, 0.5);
-
- preferences_misc_associated_table = gtk_table_new (4, 1, FALSE);
- gtk_widget_ref (preferences_misc_associated_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_associated_table", preferences_misc_associated_table,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_associated_table);
- gtk_container_add (GTK_CONTAINER (preferences_misc_associated_files_frame), preferences_misc_associated_table);
-
- preferences_misc_ts_checkbutton = gtk_check_button_new_with_label (_("ts"));
- gtk_widget_ref (preferences_misc_ts_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_ts_checkbutton", preferences_misc_ts_checkbutton,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_ts_checkbutton);
- gtk_table_attach (GTK_TABLE (preferences_misc_associated_table), preferences_misc_ts_checkbutton, 0, 1, 3, 4,
- (GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- preferences_misc_vob_checkbutton = gtk_check_button_new_with_label (_("vob"));
- gtk_widget_ref (preferences_misc_vob_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_vob_checkbutton", preferences_misc_vob_checkbutton,
+ label31 = gtk_label_new (_("Polarization"));
+ gtk_widget_ref (label31);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "label31", label31,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_vob_checkbutton);
- gtk_table_attach (GTK_TABLE (preferences_misc_associated_table), preferences_misc_vob_checkbutton, 0, 1, 2, 3,
+ gtk_widget_show (label31);
+ gtk_table_attach (GTK_TABLE (table5), label31, 0, 1, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label31), 0, 0.5);
- preferences_misc_mp2_checkbutton = gtk_check_button_new_with_label (_("mp2"));
- gtk_widget_ref (preferences_misc_mp2_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_mp2_checkbutton", preferences_misc_mp2_checkbutton,
+ sat_pol_hor = gtk_radio_button_new_with_label (pol_group, _("Horizontal"));
+ pol_group = gtk_radio_button_group (GTK_RADIO_BUTTON (sat_pol_hor));
+ gtk_widget_ref (sat_pol_hor);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_pol_hor", sat_pol_hor,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_mp2_checkbutton);
- gtk_table_attach (GTK_TABLE (preferences_misc_associated_table), preferences_misc_mp2_checkbutton, 0, 1, 1, 2,
+ gtk_widget_show (sat_pol_hor);
+ gtk_table_attach (GTK_TABLE (table5), sat_pol_hor, 1, 2, 3, 4,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- preferences_misc_mpeg_checkbutton = gtk_check_button_new_with_label (_("mpeg"));
- gtk_widget_ref (preferences_misc_mpeg_checkbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_mpeg_checkbutton", preferences_misc_mpeg_checkbutton,
+ sat_pol_vert = gtk_radio_button_new_with_label (pol_group, _("Vertical"));
+ pol_group = gtk_radio_button_group (GTK_RADIO_BUTTON (sat_pol_vert));
+ gtk_widget_ref (sat_pol_vert);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_pol_vert", sat_pol_vert,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_mpeg_checkbutton);
- gtk_table_attach (GTK_TABLE (preferences_misc_associated_table), preferences_misc_mpeg_checkbutton, 0, 1, 0, 1,
+ gtk_widget_show (sat_pol_vert);
+ gtk_table_attach (GTK_TABLE (table5), sat_pol_vert, 1, 2, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (sat_pol_vert), TRUE);
- preferences_misc_message_frame = gtk_frame_new (_("Messages"));
- gtk_widget_ref (preferences_misc_message_frame);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_message_frame", preferences_misc_message_frame,
+ label33 = gtk_label_new (_("Symbol Rate"));
+ gtk_widget_ref (label33);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "label33", label33,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_message_frame);
- gtk_table_attach (GTK_TABLE (preferences_misc_table), preferences_misc_message_frame, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND),
- (GtkAttachOptions) (GTK_FILL), 0, 0);
- gtk_frame_set_label_align (GTK_FRAME (preferences_misc_message_frame), 0.05, 0.5);
+ gtk_widget_show (label33);
+ gtk_table_attach (GTK_TABLE (table5), label33, 0, 1, 1, 2,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label33), 0, 0.5);
- preferences_misc_message_table = gtk_table_new (1, 2, FALSE);
- gtk_widget_ref (preferences_misc_message_table);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_message_table", preferences_misc_message_table,
+ sat_srate_adj = gtk_adjustment_new (27500, 1000, 30000, 1, 10, 10);
+ sat_srate = gtk_spin_button_new (GTK_ADJUSTMENT (sat_srate_adj), 1, 0);
+ gtk_widget_ref (sat_srate);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_srate", sat_srate,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_message_table);
- gtk_container_add (GTK_CONTAINER (preferences_misc_message_frame), preferences_misc_message_table);
+ gtk_widget_show (sat_srate);
+ gtk_table_attach (GTK_TABLE (table5), sat_srate, 1, 2, 1, 2,
+ (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
- preferences_misc_messages_label = gtk_label_new (_("Warning level: "));
- gtk_widget_ref (preferences_misc_messages_label);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_messages_label", preferences_misc_messages_label,
+ label35 = gtk_label_new (_("FEC"));
+ gtk_widget_ref (label35);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "label35", label35,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_messages_label);
- gtk_table_attach (GTK_TABLE (preferences_misc_message_table), preferences_misc_messages_label, 0, 1, 0, 1,
+ gtk_widget_show (label35);
+ gtk_table_attach (GTK_TABLE (table5), label35, 0, 1, 4, 5,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label35), 0, 0.5);
- preferences_misc_messages_spinbutton_adj = gtk_adjustment_new (0, 0, 100, 1, 10, 10);
- preferences_misc_messages_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (preferences_misc_messages_spinbutton_adj), 1, 0);
- gtk_widget_ref (preferences_misc_messages_spinbutton);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc_messages_spinbutton", preferences_misc_messages_spinbutton,
+ sat_fec = gtk_combo_new ();
+ gtk_widget_ref (sat_fec);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_fec", sat_fec,
(GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc_messages_spinbutton);
- gtk_table_attach (GTK_TABLE (preferences_misc_message_table), preferences_misc_messages_spinbutton, 1, 2, 0, 1,
+ gtk_widget_show (sat_fec);
+ gtk_table_attach (GTK_TABLE (table5), sat_fec, 1, 2, 4, 5,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
+ sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("1/2"));
+ sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("2/3"));
+ sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("3/4"));
+ sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("4/5"));
+ sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("5/6"));
+ sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("6/7"));
+ sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("7/8"));
+ gtk_combo_set_popdown_strings (GTK_COMBO (sat_fec), sat_fec_items);
+ g_list_free (sat_fec_items);
+
+ combo_entry4 = GTK_COMBO (sat_fec)->entry;
+ gtk_widget_ref (combo_entry4);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "combo_entry4", combo_entry4,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (combo_entry4);
+ gtk_entry_set_text (GTK_ENTRY (combo_entry4), _("3/4"));
+
+ hbuttonbox2 = GNOME_DIALOG (intf_sat)->action_area;
+ gtk_object_set_data (GTK_OBJECT (intf_sat), "hbuttonbox2", hbuttonbox2);
+ gtk_widget_show (hbuttonbox2);
+ gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox2), GTK_BUTTONBOX_END);
+ gtk_button_box_set_spacing (GTK_BUTTON_BOX (hbuttonbox2), 8);
+
+ gnome_dialog_append_button (GNOME_DIALOG (intf_sat), GNOME_STOCK_BUTTON_OK);
+ sat_ok = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_sat)->buttons)->data);
+ gtk_widget_ref (sat_ok);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_ok", sat_ok,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (sat_ok);
+ GTK_WIDGET_SET_FLAGS (sat_ok, GTK_CAN_DEFAULT);
+
+ gnome_dialog_append_button (GNOME_DIALOG (intf_sat), GNOME_STOCK_BUTTON_CANCEL);
+ sat_cancel = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_sat)->buttons)->data);
+ gtk_widget_ref (sat_cancel);
+ gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_cancel", sat_cancel,
+ (GtkDestroyNotify) gtk_widget_unref);
+ gtk_widget_show (sat_cancel);
+ GTK_WIDGET_SET_FLAGS (sat_cancel, GTK_CAN_DEFAULT);
+
+ gtk_signal_connect (GTK_OBJECT (sat_ok), "clicked",
+ GTK_SIGNAL_FUNC (GtkSatOpenOk),
+ "intf_disc");
+ gtk_signal_connect (GTK_OBJECT (sat_cancel), "clicked",
+ GTK_SIGNAL_FUNC (GtkSatOpenCancel),
+ "intf_disc");
- preferences_misc = gtk_label_new (_("Misc"));
- gtk_widget_ref (preferences_misc);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_misc", preferences_misc,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_misc);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 7), preferences_misc);
-
- preferences_dialog = GNOME_DIALOG (intf_preferences)->action_area;
- gtk_object_set_data (GTK_OBJECT (intf_preferences), "preferences_dialog", preferences_dialog);
- gtk_widget_show (preferences_dialog);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (preferences_dialog), GTK_BUTTONBOX_END);
- gtk_button_box_set_spacing (GTK_BUTTON_BOX (preferences_dialog), 8);
-
- gnome_dialog_append_button (GNOME_DIALOG (intf_preferences), GNOME_STOCK_BUTTON_OK);
- preferences_ok = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_preferences)->buttons)->data);
- gtk_widget_ref (preferences_ok);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_ok", preferences_ok,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_ok);
- GTK_WIDGET_SET_FLAGS (preferences_ok, GTK_CAN_DEFAULT);
-
- gnome_dialog_append_button (GNOME_DIALOG (intf_preferences), GNOME_STOCK_BUTTON_APPLY);
- preferences_apply = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_preferences)->buttons)->data);
- gtk_widget_ref (preferences_apply);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_apply", preferences_apply,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_apply);
- GTK_WIDGET_SET_FLAGS (preferences_apply, GTK_CAN_DEFAULT);
-
- gnome_dialog_append_button (GNOME_DIALOG (intf_preferences), GNOME_STOCK_BUTTON_CANCEL);
- preferences_cancel = GTK_WIDGET (g_list_last (GNOME_DIALOG (intf_preferences)->buttons)->data);
- gtk_widget_ref (preferences_cancel);
- gtk_object_set_data_full (GTK_OBJECT (intf_preferences), "preferences_cancel", preferences_cancel,
- (GtkDestroyNotify) gtk_widget_unref);
- gtk_widget_show (preferences_cancel);
- GTK_WIDGET_SET_FLAGS (preferences_cancel, GTK_CAN_DEFAULT);
-
- gtk_signal_connect (GTK_OBJECT (preferences_ok), "clicked",
- GTK_SIGNAL_FUNC (GtkPreferencesOk),
- "intf_preferences");
- gtk_signal_connect (GTK_OBJECT (preferences_apply), "clicked",
- GTK_SIGNAL_FUNC (GtkPreferencesApply),
- "intf_preferences");
- gtk_signal_connect (GTK_OBJECT (preferences_cancel), "clicked",
- GTK_SIGNAL_FUNC (GtkPreferencesCancel),
- "intf_preferences");
-
- return intf_preferences;
+ return intf_sat;
}