/*
 * DO NOT EDIT THIS FILE - it is generated by Glade.
 */

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>

#include <bonobo.h>
#include <gnome.h>

#include "callbacks.h"
#include "interface.h"
#include "support.h"

#define GLADE_HOOKUP_OBJECT(component,widget,name) \
  g_object_set_data_full (G_OBJECT (component), name, \
    gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)

#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
  g_object_set_data (G_OBJECT (component), name, widget)

GtkWidget*
create_main (void)
{
  GtkWidget *main;
  GdkPixbuf *main_icon_pixbuf;
  GtkWidget *vbox1;
  GtkWidget *toolbar1;
  GtkIconSize tmp_toolbar_icon_size;
  GtkWidget *proprietes;
  GtkWidget *ViewPiste;
  GtkWidget *tmp_image;
  GtkWidget *Evaluer;
  GtkWidget *Encoder;
  GtkWidget *About;
  GtkWidget *vbox2;
  GtkWidget *table2;
  GtkWidget *Qualite;
  GtkWidget *titre;
  GtkWidget *label12;
  GtkWidget *label3;
  GtkWidget *frame1;
  GtkWidget *alignment1;
  GtkWidget *scrolledwindow2;
  GtkWidget *PistesVideo;
  GtkWidget *label_video;
  GtkWidget *frame2;
  GtkWidget *alignment2;
  GtkWidget *scrolledwindow3;
  GtkWidget *PistesAudio;
  GtkWidget *label_audio;
  GtkWidget *frame3;
  GtkWidget *alignment3;
  GtkWidget *scrolledwindow4;
  GtkWidget *SousTitres;
  GtkWidget *label_subtitles;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  main = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_set_name (main, "main");
  gtk_window_set_title (GTK_WINDOW (main), _("DVD 9 to 5"));
  main_icon_pixbuf = create_pixbuf ("dvd95/dvd9548.png");
  if (main_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (main), main_icon_pixbuf);
      gdk_pixbuf_unref (main_icon_pixbuf);
    }

  vbox1 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox1, "vbox1");
  gtk_widget_show (vbox1);
  gtk_container_add (GTK_CONTAINER (main), vbox1);

  toolbar1 = gtk_toolbar_new ();
  gtk_widget_set_name (toolbar1, "toolbar1");
  gtk_widget_show (toolbar1);
  gtk_box_pack_start (GTK_BOX (vbox1), toolbar1, FALSE, TRUE, 0);
  gtk_toolbar_set_style (GTK_TOOLBAR (toolbar1), GTK_TOOLBAR_BOTH);
  gtk_toolbar_set_show_arrow (GTK_TOOLBAR (toolbar1), FALSE);
  tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar1));

  proprietes = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-properties");
  gtk_widget_set_name (proprietes, "proprietes");
  gtk_widget_show (proprietes);
  gtk_container_add (GTK_CONTAINER (toolbar1), proprietes);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (proprietes), tooltips, _("Ecran des propi\303\251t\303\251s"), NULL);
  gtk_tool_item_set_is_important (GTK_TOOL_ITEM (proprietes), TRUE);

  ViewPiste = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-media-play");
  gtk_widget_set_name (ViewPiste, "ViewPiste");
  gtk_widget_show (ViewPiste);
  gtk_container_add (GTK_CONTAINER (toolbar1), ViewPiste);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (ViewPiste), tooltips, _("Lecture du DVD"), NULL);

  tmp_image = gtk_image_new_from_stock ("gtk-dialog-info", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  Evaluer = (GtkWidget*) gtk_tool_button_new (tmp_image, _("\303\211valuer"));
  gtk_widget_set_name (Evaluer, "Evaluer");
  gtk_widget_show (Evaluer);
  gtk_container_add (GTK_CONTAINER (toolbar1), Evaluer);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (Evaluer), tooltips, _("Calculer la qualit\303\251 au mieux"), NULL);

  Encoder = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-convert");
  gtk_widget_set_name (Encoder, "Encoder");
  gtk_widget_show (Encoder);
  gtk_container_add (GTK_CONTAINER (toolbar1), Encoder);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (Encoder), tooltips, _("Convertir le DVD"), NULL);
  gtk_tool_item_set_is_important (GTK_TOOL_ITEM (Encoder), TRUE);

  About = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-about");
  gtk_widget_set_name (About, "About");
  gtk_widget_show (About);
  gtk_container_add (GTK_CONTAINER (toolbar1), About);

  vbox2 = gtk_vbox_new (FALSE, 12);
  gtk_widget_set_name (vbox2, "vbox2");
  gtk_widget_show (vbox2);
  gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox2), 12);

  table2 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table2, "table2");
  gtk_widget_show (table2);
  gtk_box_pack_start (GTK_BOX (vbox2), table2, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table2), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table2), 6);

  Qualite = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 110, 1, 10, 10)));
  gtk_widget_set_name (Qualite, "Qualite");
  gtk_widget_show (Qualite);
  gtk_table_attach (GTK_TABLE (table2), Qualite, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  GTK_WIDGET_UNSET_FLAGS (Qualite, GTK_CAN_FOCUS);
  gtk_scale_set_value_pos (GTK_SCALE (Qualite), GTK_POS_RIGHT);

  titre = gtk_entry_new ();
  gtk_widget_set_name (titre, "titre");
  gtk_widget_show (titre);
  gtk_table_attach (GTK_TABLE (table2), titre, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, titre, _("Nom du DVD et du fichier ISO"), NULL);
  gtk_entry_set_invisible_char (GTK_ENTRY (titre), 8226);

  label12 = gtk_label_new (_("\303\211valuation de qualit\303\251 :"));
  gtk_widget_set_name (label12, "label12");
  gtk_widget_show (label12);
  gtk_table_attach (GTK_TABLE (table2), label12, 0, 1, 1, 2,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label12), 1, 0);

  label3 = gtk_label_new (_("Titre du film :"));
  gtk_widget_set_name (label3, "label3");
  gtk_widget_show (label3);
  gtk_table_attach (GTK_TABLE (table2), label3, 0, 1, 0, 1,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label3), 1, 0);

  frame1 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame1, "frame1");
  gtk_widget_show (frame1);
  gtk_box_pack_start (GTK_BOX (vbox2), frame1, TRUE, TRUE, 0);
  gtk_widget_set_size_request (frame1, -1, 200);
  gtk_frame_set_label_align (GTK_FRAME (frame1), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_NONE);

  alignment1 = gtk_alignment_new (0, 0, 1, 1);
  gtk_widget_set_name (alignment1, "alignment1");
  gtk_widget_show (alignment1);
  gtk_container_add (GTK_CONTAINER (frame1), alignment1);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment1), 0, 0, 12, 0);

  scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow2, "scrolledwindow2");
  gtk_widget_show (scrolledwindow2);
  gtk_container_add (GTK_CONTAINER (alignment1), scrolledwindow2);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow2, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);

  PistesVideo = gtk_tree_view_new ();
  gtk_widget_set_name (PistesVideo, "PistesVideo");
  gtk_widget_show (PistesVideo);
  gtk_container_add (GTK_CONTAINER (scrolledwindow2), PistesVideo);
  gtk_tooltips_set_tip (tooltips, PistesVideo, _("Selectionner la piste a convertir"), NULL);
  gtk_tree_view_set_reorderable (GTK_TREE_VIEW (PistesVideo), TRUE);

  label_video = gtk_label_new (_("<b>Vid\303\251o</b>"));
  gtk_widget_set_name (label_video, "label_video");
  gtk_widget_show (label_video);
  gtk_frame_set_label_widget (GTK_FRAME (frame1), label_video);
  gtk_label_set_use_markup (GTK_LABEL (label_video), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_video), 0, 0);

  frame2 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame2, "frame2");
  gtk_widget_show (frame2);
  gtk_box_pack_start (GTK_BOX (vbox2), frame2, FALSE, TRUE, 0);
  gtk_widget_set_size_request (frame2, -1, 120);
  gtk_frame_set_label_align (GTK_FRAME (frame2), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame2), GTK_SHADOW_NONE);

  alignment2 = gtk_alignment_new (0, 0, 1, 1);
  gtk_widget_set_name (alignment2, "alignment2");
  gtk_widget_show (alignment2);
  gtk_container_add (GTK_CONTAINER (frame2), alignment2);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment2), 0, 0, 12, 0);

  scrolledwindow3 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow3, "scrolledwindow3");
  gtk_widget_show (scrolledwindow3);
  gtk_container_add (GTK_CONTAINER (alignment2), scrolledwindow3);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow3, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow3), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);

  PistesAudio = gtk_tree_view_new ();
  gtk_widget_set_name (PistesAudio, "PistesAudio");
  gtk_widget_show (PistesAudio);
  gtk_container_add (GTK_CONTAINER (scrolledwindow3), PistesAudio);
  gtk_tooltips_set_tip (tooltips, PistesAudio, _("Selectioner les pistes audio"), NULL);
  gtk_tree_view_set_reorderable (GTK_TREE_VIEW (PistesAudio), TRUE);

  label_audio = gtk_label_new (_("<b>Audio</b>"));
  gtk_widget_set_name (label_audio, "label_audio");
  gtk_widget_show (label_audio);
  gtk_frame_set_label_widget (GTK_FRAME (frame2), label_audio);
  gtk_label_set_use_markup (GTK_LABEL (label_audio), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_audio), 0, 0);

  frame3 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame3, "frame3");
  gtk_widget_show (frame3);
  gtk_box_pack_start (GTK_BOX (vbox2), frame3, FALSE, TRUE, 0);
  gtk_widget_set_size_request (frame3, -1, 150);
  gtk_frame_set_label_align (GTK_FRAME (frame3), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame3), GTK_SHADOW_NONE);

  alignment3 = gtk_alignment_new (0, 0, 1, 1);
  gtk_widget_set_name (alignment3, "alignment3");
  gtk_widget_show (alignment3);
  gtk_container_add (GTK_CONTAINER (frame3), alignment3);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment3), 0, 0, 12, 0);

  scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow4, "scrolledwindow4");
  gtk_widget_show (scrolledwindow4);
  gtk_container_add (GTK_CONTAINER (alignment3), scrolledwindow4);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow4, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);

  SousTitres = gtk_tree_view_new ();
  gtk_widget_set_name (SousTitres, "SousTitres");
  gtk_widget_show (SousTitres);
  gtk_container_add (GTK_CONTAINER (scrolledwindow4), SousTitres);
  gtk_tooltips_set_tip (tooltips, SousTitres, _("Selectioner les sous titres"), NULL);
  gtk_tree_view_set_reorderable (GTK_TREE_VIEW (SousTitres), TRUE);

  label_subtitles = gtk_label_new (_("<b>Sous-titres</b>"));
  gtk_widget_set_name (label_subtitles, "label_subtitles");
  gtk_widget_show (label_subtitles);
  gtk_frame_set_label_widget (GTK_FRAME (frame3), label_subtitles);
  gtk_label_set_use_markup (GTK_LABEL (label_subtitles), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_subtitles), 0, 0);

  g_signal_connect ((gpointer) main, "destroy",
                    G_CALLBACK (on_Dvd95_destroy),
                    NULL);
  g_signal_connect ((gpointer) main, "delete_event",
                    G_CALLBACK (on_Dvd95_delete),
                    NULL);
  g_signal_connect ((gpointer) proprietes, "clicked",
                    G_CALLBACK (on_proprietes_clicked),
                    NULL);
  g_signal_connect ((gpointer) ViewPiste, "clicked",
                    G_CALLBACK (on_ViewPiste_clicked),
                    NULL);
  g_signal_connect ((gpointer) Evaluer, "clicked",
                    G_CALLBACK (on_Evaluer_clicked),
                    NULL);
  g_signal_connect ((gpointer) Encoder, "clicked",
                    G_CALLBACK (on_Encoder_clicked),
                    NULL);
  g_signal_connect ((gpointer) About, "clicked",
                    G_CALLBACK (on_About_clicked),
                    NULL);
  g_signal_connect ((gpointer) PistesVideo, "button_press_event",
                    G_CALLBACK (on_PistesVideo_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) PistesVideo, "button_release_event",
                    G_CALLBACK (on_PistesVideo_button_release_event),
                    NULL);
  g_signal_connect ((gpointer) PistesAudio, "button_press_event",
                    G_CALLBACK (on_PistesAudio_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) PistesAudio, "button_release_event",
                    G_CALLBACK (on_PistesAudio_button_release_event),
                    NULL);
  g_signal_connect ((gpointer) SousTitres, "button_press_event",
                    G_CALLBACK (on_SousTitres_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) SousTitres, "button_release_event",
                    G_CALLBACK (on_SousTitres_button_release_event),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (main, main, "main");
  GLADE_HOOKUP_OBJECT (main, vbox1, "vbox1");
  GLADE_HOOKUP_OBJECT (main, toolbar1, "toolbar1");
  GLADE_HOOKUP_OBJECT (main, proprietes, "proprietes");
  GLADE_HOOKUP_OBJECT (main, ViewPiste, "ViewPiste");
  GLADE_HOOKUP_OBJECT (main, Evaluer, "Evaluer");
  GLADE_HOOKUP_OBJECT (main, Encoder, "Encoder");
  GLADE_HOOKUP_OBJECT (main, About, "About");
  GLADE_HOOKUP_OBJECT (main, vbox2, "vbox2");
  GLADE_HOOKUP_OBJECT (main, table2, "table2");
  GLADE_HOOKUP_OBJECT (main, Qualite, "Qualite");
  GLADE_HOOKUP_OBJECT (main, titre, "titre");
  GLADE_HOOKUP_OBJECT (main, label12, "label12");
  GLADE_HOOKUP_OBJECT (main, label3, "label3");
  GLADE_HOOKUP_OBJECT (main, frame1, "frame1");
  GLADE_HOOKUP_OBJECT (main, alignment1, "alignment1");
  GLADE_HOOKUP_OBJECT (main, scrolledwindow2, "scrolledwindow2");
  GLADE_HOOKUP_OBJECT (main, PistesVideo, "PistesVideo");
  GLADE_HOOKUP_OBJECT (main, label_video, "label_video");
  GLADE_HOOKUP_OBJECT (main, frame2, "frame2");
  GLADE_HOOKUP_OBJECT (main, alignment2, "alignment2");
  GLADE_HOOKUP_OBJECT (main, scrolledwindow3, "scrolledwindow3");
  GLADE_HOOKUP_OBJECT (main, PistesAudio, "PistesAudio");
  GLADE_HOOKUP_OBJECT (main, label_audio, "label_audio");
  GLADE_HOOKUP_OBJECT (main, frame3, "frame3");
  GLADE_HOOKUP_OBJECT (main, alignment3, "alignment3");
  GLADE_HOOKUP_OBJECT (main, scrolledwindow4, "scrolledwindow4");
  GLADE_HOOKUP_OBJECT (main, SousTitres, "SousTitres");
  GLADE_HOOKUP_OBJECT (main, label_subtitles, "label_subtitles");
  GLADE_HOOKUP_OBJECT_NO_REF (main, tooltips, "tooltips");

  return main;
}

GtkWidget*
create_propriete (void)
{
  GtkWidget *propriete;
  GtkWidget *dialog_vbox1;
  GtkWidget *frame4;
  GtkWidget *alignment4;
  GtkWidget *table5;
  GtkWidget *trace;
  GtkWidget *label6;
  GtkWidget *label7;
  GtkWidget *label8;
  GtkWidget *label9;
  GtkWidget *label10;
  GtkWidget *cfgtemp;
  GtkWidget *cfgiso;
  GtkWidget *cfgvisu;
  GtkWidget *comboboxentry_entry1;
  GtkWidget *cfgdev;
  GtkWidget *comboboxentry_entry3;
  GtkWidget *label16;
  GtkWidget *sound;
  GtkWidget *image5;
  GtkWidget *label17;
  GtkWidget *lang;
  GtkWidget *label4;
  GtkWidget *frame5;
  GtkWidget *alignment5;
  GtkWidget *table1;
  GtkWidget *UseMenu;
  GtkWidget *DoIso;
  GtkWidget *graver;
  GtkWidget *dynqual;
  GtkWidget *cfgmedia;
  GtkWidget *label11;
  GtkWidget *generique;
  GtkWidget *label5;
  GtkWidget *dialog_action_area1;
  GtkWidget *cfgsave;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  propriete = gtk_dialog_new ();
  gtk_widget_set_name (propriete, "propriete");
  gtk_container_set_border_width (GTK_CONTAINER (propriete), 5);
  gtk_window_set_title (GTK_WINDOW (propriete), _("Propri\303\251t\303\251s"));
  gtk_window_set_resizable (GTK_WINDOW (propriete), FALSE);
  gtk_window_set_icon_name (GTK_WINDOW (propriete), "gtk-properties");
  gtk_window_set_type_hint (GTK_WINDOW (propriete), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_dialog_set_has_separator (GTK_DIALOG (propriete), FALSE);

  dialog_vbox1 = GTK_DIALOG (propriete)->vbox;
  gtk_widget_set_name (dialog_vbox1, "dialog_vbox1");
  gtk_widget_show (dialog_vbox1);

  frame4 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame4, "frame4");
  gtk_widget_show (frame4);
  gtk_box_pack_start (GTK_BOX (dialog_vbox1), frame4, TRUE, TRUE, 0);
  gtk_frame_set_label_align (GTK_FRAME (frame4), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame4), GTK_SHADOW_NONE);

  alignment4 = gtk_alignment_new (0, 0, 1, 1);
  gtk_widget_set_name (alignment4, "alignment4");
  gtk_widget_show (alignment4);
  gtk_container_add (GTK_CONTAINER (frame4), alignment4);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment4), 0, 0, 12, 0);

  table5 = gtk_table_new (7, 2, FALSE);
  gtk_widget_set_name (table5, "table5");
  gtk_widget_show (table5);
  gtk_container_add (GTK_CONTAINER (alignment4), table5);
  gtk_container_set_border_width (GTK_CONTAINER (table5), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table5), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table5), 6);

  trace = gtk_entry_new ();
  gtk_widget_set_name (trace, "trace");
  gtk_widget_show (trace);
  gtk_table_attach (GTK_TABLE (table5), trace, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_entry_set_invisible_char (GTK_ENTRY (trace), 8226);

  label6 = gtk_label_new (_("P\303\251riph\303\251rique DVD :"));
  gtk_widget_set_name (label6, "label6");
  gtk_widget_show (label6);
  gtk_table_attach (GTK_TABLE (table5), label6, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label6), 0, 0.5);

  label7 = gtk_label_new (_("Espace temporaire :"));
  gtk_widget_set_name (label7, "label7");
  gtk_widget_show (label7);
  gtk_table_attach (GTK_TABLE (table5), label7, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label7), 0, 0.5);

  label8 = gtk_label_new (_("Espace des ISO :"));
  gtk_widget_set_name (label8, "label8");
  gtk_widget_show (label8);
  gtk_table_attach (GTK_TABLE (table5), label8, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label8), 0, 0.5);

  label9 = gtk_label_new (_("Lecteur multim\303\251dia :"));
  gtk_widget_set_name (label9, "label9");
  gtk_widget_show (label9);
  gtk_table_attach (GTK_TABLE (table5), label9, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label9), 0, 0.5);

  label10 = gtk_label_new (_("Niveau de trace :"));
  gtk_widget_set_name (label10, "label10");
  gtk_widget_show (label10);
  gtk_table_attach (GTK_TABLE (table5), label10, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label10), 0, 0.5);

  cfgtemp = gtk_file_chooser_button_new (_("S\303\251lectionner un dossier"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
  gtk_widget_set_name (cfgtemp, "cfgtemp");
  gtk_widget_show (cfgtemp);
  gtk_table_attach (GTK_TABLE (table5), cfgtemp, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  cfgiso = gtk_file_chooser_button_new (_("S\303\251lectionner un dossier"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
  gtk_widget_set_name (cfgiso, "cfgiso");
  gtk_widget_show (cfgiso);
  gtk_table_attach (GTK_TABLE (table5), cfgiso, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  cfgvisu = gtk_combo_box_entry_new_text ();
  gtk_widget_set_name (cfgvisu, "cfgvisu");
  gtk_widget_show (cfgvisu);
  gtk_table_attach (GTK_TABLE (table5), cfgvisu, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  comboboxentry_entry1 = gtk_entry_new ();
  gtk_widget_set_name (comboboxentry_entry1, "comboboxentry_entry1");
  gtk_widget_show (comboboxentry_entry1);
  gtk_container_add (GTK_CONTAINER (cfgvisu), comboboxentry_entry1);
  gtk_widget_set_events (comboboxentry_entry1, GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK);
  gtk_entry_set_text (GTK_ENTRY (comboboxentry_entry1), _("totem"));
  gtk_entry_set_invisible_char (GTK_ENTRY (comboboxentry_entry1), 8226);

  cfgdev = gtk_combo_box_entry_new_text ();
  gtk_widget_set_name (cfgdev, "cfgdev");
  gtk_widget_show (cfgdev);
  gtk_table_attach (GTK_TABLE (table5), cfgdev, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  comboboxentry_entry3 = gtk_entry_new ();
  gtk_widget_set_name (comboboxentry_entry3, "comboboxentry_entry3");
  gtk_widget_show (comboboxentry_entry3);
  gtk_container_add (GTK_CONTAINER (cfgdev), comboboxentry_entry3);
  gtk_widget_set_events (comboboxentry_entry3, GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK);
  gtk_entry_set_text (GTK_ENTRY (comboboxentry_entry3), _("/dev/dvd"));
  gtk_entry_set_invisible_char (GTK_ENTRY (comboboxentry_entry3), 8226);

  label16 = gtk_label_new (_("Indications sonores"));
  gtk_widget_set_name (label16, "label16");
  gtk_widget_show (label16);
  gtk_table_attach (GTK_TABLE (table5), label16, 0, 1, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label16), 0, 0.5);

  sound = gtk_check_button_new ();
  gtk_widget_set_name (sound, "sound");
  gtk_widget_show (sound);
  gtk_table_attach (GTK_TABLE (table5), sound, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image5 = gtk_image_new_from_stock ("gnome-stock-volume", GTK_ICON_SIZE_BUTTON);
  gtk_widget_set_name (image5, "image5");
  gtk_widget_show (image5);
  gtk_container_add (GTK_CONTAINER (sound), image5);

  label17 = gtk_label_new (_("Langue"));
  gtk_widget_set_name (label17, "label17");
  gtk_widget_show (label17);
  gtk_table_attach (GTK_TABLE (table5), label17, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label17), 0, 0.5);

  lang = gtk_combo_box_entry_new_text ();
  gtk_widget_set_name (lang, "lang");
  gtk_widget_show (lang);
  gtk_table_attach (GTK_TABLE (table5), lang, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Default"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Fran\303\247ais"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("English"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Deutsch"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Greek"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Estonian"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Hungarian"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Dutch"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Portuguese"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Czech"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Spanish"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (lang), _("Italian"));

  label4 = gtk_label_new (_("<b>Syst\303\250me</b>"));
  gtk_widget_set_name (label4, "label4");
  gtk_widget_show (label4);
  gtk_frame_set_label_widget (GTK_FRAME (frame4), label4);
  gtk_label_set_use_markup (GTK_LABEL (label4), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label4), 0, 0);

  frame5 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame5, "frame5");
  gtk_widget_show (frame5);
  gtk_box_pack_start (GTK_BOX (dialog_vbox1), frame5, TRUE, TRUE, 0);
  gtk_frame_set_label_align (GTK_FRAME (frame5), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame5), GTK_SHADOW_NONE);

  alignment5 = gtk_alignment_new (0, 0, 1, 1);
  gtk_widget_set_name (alignment5, "alignment5");
  gtk_widget_show (alignment5);
  gtk_container_add (GTK_CONTAINER (frame5), alignment5);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment5), 0, 0, 12, 0);

  table1 = gtk_table_new (4, 2, FALSE);
  gtk_widget_set_name (table1, "table1");
  gtk_widget_show (table1);
  gtk_container_add (GTK_CONTAINER (alignment5), table1);
  gtk_container_set_border_width (GTK_CONTAINER (table1), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table1), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table1), 6);

  UseMenu = gtk_check_button_new_with_mnemonic (_("Garder les menus"));
  gtk_widget_set_name (UseMenu, "UseMenu");
  gtk_widget_show (UseMenu);
  gtk_table_attach (GTK_TABLE (table1), UseMenu, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  GTK_WIDGET_UNSET_FLAGS (UseMenu, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, UseMenu, _("Conserver les menus du DVD"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (UseMenu), TRUE);

  DoIso = gtk_check_button_new_with_mnemonic (_("Cr\303\251er une image ISO"));
  gtk_widget_set_name (DoIso, "DoIso");
  gtk_widget_show (DoIso);
  gtk_table_attach (GTK_TABLE (table1), DoIso, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  GTK_WIDGET_UNSET_FLAGS (DoIso, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, DoIso, _("Cr\303\251er une image ISO apres convertion"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (DoIso), TRUE);

  graver = gtk_check_button_new_with_mnemonic (_("Graver le DVD"));
  gtk_widget_set_name (graver, "graver");
  gtk_widget_show (graver);
  gtk_table_attach (GTK_TABLE (table1), graver, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  GTK_WIDGET_UNSET_FLAGS (graver, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, graver, _("Graver un DVD apres convertion"), NULL);

  dynqual = gtk_check_button_new_with_mnemonic (_("Qualit\303\251 dynamique"));
  gtk_widget_set_name (dynqual, "dynqual");
  gtk_widget_show (dynqual);
  gtk_table_attach (GTK_TABLE (table1), dynqual, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  GTK_WIDGET_UNSET_FLAGS (dynqual, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, dynqual, _("Convertir avec une qualit\303\251 d'image dynamique"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dynqual), TRUE);

  cfgmedia = gtk_combo_box_new_text ();
  gtk_widget_set_name (cfgmedia, "cfgmedia");
  gtk_widget_show (cfgmedia);
  gtk_table_attach (GTK_TABLE (table1), cfgmedia, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label11 = gtk_label_new (_("Capacit\303\251 du DVD :"));
  gtk_widget_set_name (label11, "label11");
  gtk_widget_show (label11);
  gtk_table_attach (GTK_TABLE (table1), label11, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label11), 1, 0.5);

  generique = gtk_check_button_new_with_mnemonic (_("Couper le g\303\251n\303\251rique"));
  gtk_widget_set_name (generique, "generique");
  gtk_widget_show (generique);
  gtk_table_attach (GTK_TABLE (table1), generique, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  GTK_WIDGET_UNSET_FLAGS (generique, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, generique, _("Ne pas conserver le dernier chapitre de la piste vid\303\251o"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (generique), TRUE);

  label5 = gtk_label_new (_("<b>Param\303\250tres de cr\303\251ation</b>"));
  gtk_widget_set_name (label5, "label5");
  gtk_widget_show (label5);
  gtk_frame_set_label_widget (GTK_FRAME (frame5), label5);
  gtk_label_set_use_markup (GTK_LABEL (label5), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label5), 0, 0);

  dialog_action_area1 = GTK_DIALOG (propriete)->action_area;
  gtk_widget_set_name (dialog_action_area1, "dialog_action_area1");
  gtk_widget_show (dialog_action_area1);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);

  cfgsave = gtk_button_new_from_stock ("gtk-close");
  gtk_widget_set_name (cfgsave, "cfgsave");
  gtk_widget_show (cfgsave);
  gtk_dialog_add_action_widget (GTK_DIALOG (propriete), cfgsave, 0);
  GTK_WIDGET_UNSET_FLAGS (cfgsave, GTK_CAN_FOCUS);

  g_signal_connect ((gpointer) propriete, "destroy",
                    G_CALLBACK (on_propriete_destroy),
                    NULL);
  g_signal_connect ((gpointer) cfgvisu, "changed",
                    G_CALLBACK (on_cfgvisu_changed),
                    NULL);
  g_signal_connect ((gpointer) cfgdev, "changed",
                    G_CALLBACK (on_cfgdev_changed),
                    NULL);
  g_signal_connect ((gpointer) cfgsave, "clicked",
                    G_CALLBACK (on_cfgsave_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (propriete, propriete, "propriete");
  GLADE_HOOKUP_OBJECT_NO_REF (propriete, dialog_vbox1, "dialog_vbox1");
  GLADE_HOOKUP_OBJECT (propriete, frame4, "frame4");
  GLADE_HOOKUP_OBJECT (propriete, alignment4, "alignment4");
  GLADE_HOOKUP_OBJECT (propriete, table5, "table5");
  GLADE_HOOKUP_OBJECT (propriete, trace, "trace");
  GLADE_HOOKUP_OBJECT (propriete, label6, "label6");
  GLADE_HOOKUP_OBJECT (propriete, label7, "label7");
  GLADE_HOOKUP_OBJECT (propriete, label8, "label8");
  GLADE_HOOKUP_OBJECT (propriete, label9, "label9");
  GLADE_HOOKUP_OBJECT (propriete, label10, "label10");
  GLADE_HOOKUP_OBJECT (propriete, cfgtemp, "cfgtemp");
  GLADE_HOOKUP_OBJECT (propriete, cfgiso, "cfgiso");
  GLADE_HOOKUP_OBJECT (propriete, cfgvisu, "cfgvisu");
  GLADE_HOOKUP_OBJECT (propriete, comboboxentry_entry1, "comboboxentry_entry1");
  GLADE_HOOKUP_OBJECT (propriete, cfgdev, "cfgdev");
  GLADE_HOOKUP_OBJECT (propriete, comboboxentry_entry3, "comboboxentry_entry3");
  GLADE_HOOKUP_OBJECT (propriete, label16, "label16");
  GLADE_HOOKUP_OBJECT (propriete, sound, "sound");
  GLADE_HOOKUP_OBJECT (propriete, image5, "image5");
  GLADE_HOOKUP_OBJECT (propriete, label17, "label17");
  GLADE_HOOKUP_OBJECT (propriete, lang, "lang");
  GLADE_HOOKUP_OBJECT (propriete, label4, "label4");
  GLADE_HOOKUP_OBJECT (propriete, frame5, "frame5");
  GLADE_HOOKUP_OBJECT (propriete, alignment5, "alignment5");
  GLADE_HOOKUP_OBJECT (propriete, table1, "table1");
  GLADE_HOOKUP_OBJECT (propriete, UseMenu, "UseMenu");
  GLADE_HOOKUP_OBJECT (propriete, DoIso, "DoIso");
  GLADE_HOOKUP_OBJECT (propriete, graver, "graver");
  GLADE_HOOKUP_OBJECT (propriete, dynqual, "dynqual");
  GLADE_HOOKUP_OBJECT (propriete, cfgmedia, "cfgmedia");
  GLADE_HOOKUP_OBJECT (propriete, label11, "label11");
  GLADE_HOOKUP_OBJECT (propriete, generique, "generique");
  GLADE_HOOKUP_OBJECT (propriete, label5, "label5");
  GLADE_HOOKUP_OBJECT_NO_REF (propriete, dialog_action_area1, "dialog_action_area1");
  GLADE_HOOKUP_OBJECT (propriete, cfgsave, "cfgsave");
  GLADE_HOOKUP_OBJECT_NO_REF (propriete, tooltips, "tooltips");

  return propriete;
}

GtkWidget*
create_Avancement (void)
{
  GtkWidget *Avancement;
  GtkWidget *dialog_vbox3;
  GtkWidget *hbox5;
  GtkWidget *mpeg2image;
  GtkWidget *visumpeg;
  GtkWidget *totalprogress;
  GtkWidget *streamprogress;
  GtkWidget *expander1;
  GtkWidget *scrolledwindow1;
  GtkWidget *textview1;
  GtkWidget *label1;
  GtkWidget *dialog_action_area3;
  GtkWidget *Pause;
  GtkWidget *avCancel;

  Avancement = gtk_dialog_new ();
  gtk_widget_set_name (Avancement, "Avancement");
  gtk_container_set_border_width (GTK_CONTAINER (Avancement), 5);
  gtk_window_set_position (GTK_WINDOW (Avancement), GTK_WIN_POS_CENTER_ON_PARENT);
  gtk_window_set_modal (GTK_WINDOW (Avancement), TRUE);
  gtk_window_set_icon_name (GTK_WINDOW (Avancement), "gtk-convert");
  gtk_window_set_type_hint (GTK_WINDOW (Avancement), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_dialog_set_has_separator (GTK_DIALOG (Avancement), FALSE);

  dialog_vbox3 = GTK_DIALOG (Avancement)->vbox;
  gtk_widget_set_name (dialog_vbox3, "dialog_vbox3");
  gtk_widget_show (dialog_vbox3);

  hbox5 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox5, "hbox5");
  gtk_widget_show (hbox5);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), hbox5, TRUE, TRUE, 0);

  mpeg2image = gtk_image_new_from_stock ("gtk-zoom-in", GTK_ICON_SIZE_BUTTON);
  gtk_widget_set_name (mpeg2image, "mpeg2image");
  gtk_widget_show (mpeg2image);
  gtk_box_pack_start (GTK_BOX (hbox5), mpeg2image, TRUE, TRUE, 0);
  gtk_widget_set_size_request (mpeg2image, 180, 144);

  visumpeg = gtk_check_button_new_with_mnemonic ("");
  gtk_widget_set_name (visumpeg, "visumpeg");
  gtk_widget_show (visumpeg);
  gtk_box_pack_start (GTK_BOX (hbox5), visumpeg, FALSE, FALSE, 0);

  totalprogress = gtk_progress_bar_new ();
  gtk_widget_set_name (totalprogress, "totalprogress");
  gtk_widget_show (totalprogress);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), totalprogress, FALSE, TRUE, 0);
  gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (totalprogress), 0);

  streamprogress = gtk_progress_bar_new ();
  gtk_widget_set_name (streamprogress, "streamprogress");
  gtk_widget_show (streamprogress);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), streamprogress, FALSE, TRUE, 0);
  gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (streamprogress), 0);

  expander1 = gtk_expander_new (NULL);
  gtk_widget_set_name (expander1, "expander1");
  gtk_widget_show (expander1);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), expander1, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (expander1, GTK_CAN_FOCUS);

  scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow1, "scrolledwindow1");
  gtk_widget_show (scrolledwindow1);
  gtk_container_add (GTK_CONTAINER (expander1), scrolledwindow1);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow1, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  textview1 = gtk_text_view_new ();
  gtk_widget_set_name (textview1, "textview1");
  gtk_widget_show (textview1);
  gtk_container_add (GTK_CONTAINER (scrolledwindow1), textview1);
  GTK_WIDGET_UNSET_FLAGS (textview1, GTK_CAN_FOCUS);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (textview1), FALSE);
  gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (textview1), FALSE);

  label1 = gtk_label_new (_("D\303\251tails"));
  gtk_widget_set_name (label1, "label1");
  gtk_widget_show (label1);
  gtk_expander_set_label_widget (GTK_EXPANDER (expander1), label1);
  gtk_misc_set_alignment (GTK_MISC (label1), 0, 0);

  dialog_action_area3 = GTK_DIALOG (Avancement)->action_area;
  gtk_widget_set_name (dialog_action_area3, "dialog_action_area3");
  gtk_widget_show (dialog_action_area3);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_END);

  Pause = gtk_button_new_from_stock ("gtk-media-pause");
  gtk_widget_set_name (Pause, "Pause");
  gtk_widget_show (Pause);
  gtk_dialog_add_action_widget (GTK_DIALOG (Avancement), Pause, 0);
  GTK_WIDGET_UNSET_FLAGS (Pause, GTK_CAN_FOCUS);

  avCancel = gtk_button_new_from_stock ("gtk-stop");
  gtk_widget_set_name (avCancel, "avCancel");
  gtk_widget_show (avCancel);
  gtk_dialog_add_action_widget (GTK_DIALOG (Avancement), avCancel, 0);
  GTK_WIDGET_UNSET_FLAGS (avCancel, GTK_CAN_FOCUS);

  g_signal_connect ((gpointer) visumpeg, "toggled",
                    G_CALLBACK (on_visumpeg_toggled),
                    NULL);
  g_signal_connect ((gpointer) Pause, "clicked",
                    G_CALLBACK (on_Pause_clicked),
                    NULL);
  g_signal_connect ((gpointer) avCancel, "clicked",
                    G_CALLBACK (on_avCancel_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (Avancement, Avancement, "Avancement");
  GLADE_HOOKUP_OBJECT_NO_REF (Avancement, dialog_vbox3, "dialog_vbox3");
  GLADE_HOOKUP_OBJECT (Avancement, hbox5, "hbox5");
  GLADE_HOOKUP_OBJECT (Avancement, mpeg2image, "mpeg2image");
  GLADE_HOOKUP_OBJECT (Avancement, visumpeg, "visumpeg");
  GLADE_HOOKUP_OBJECT (Avancement, totalprogress, "totalprogress");
  GLADE_HOOKUP_OBJECT (Avancement, streamprogress, "streamprogress");
  GLADE_HOOKUP_OBJECT (Avancement, expander1, "expander1");
  GLADE_HOOKUP_OBJECT (Avancement, scrolledwindow1, "scrolledwindow1");
  GLADE_HOOKUP_OBJECT (Avancement, textview1, "textview1");
  GLADE_HOOKUP_OBJECT (Avancement, label1, "label1");
  GLADE_HOOKUP_OBJECT_NO_REF (Avancement, dialog_action_area3, "dialog_action_area3");
  GLADE_HOOKUP_OBJECT (Avancement, Pause, "Pause");
  GLADE_HOOKUP_OBJECT (Avancement, avCancel, "avCancel");

  return Avancement;
}

GtkWidget*
create_ChoixFichier (void)
{
  GtkWidget *ChoixFichier;
  GtkWidget *dialog_vbox4;
  GtkWidget *dialog_action_area4;
  GtkWidget *button1;
  GtkWidget *button2;

  ChoixFichier = gtk_file_chooser_dialog_new (_("Choix du fichier ISO"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL);
  gtk_widget_set_name (ChoixFichier, "ChoixFichier");
  gtk_container_set_border_width (GTK_CONTAINER (ChoixFichier), 5);
  gtk_window_set_type_hint (GTK_WINDOW (ChoixFichier), GDK_WINDOW_TYPE_HINT_DIALOG);

  dialog_vbox4 = GTK_DIALOG (ChoixFichier)->vbox;
  gtk_widget_set_name (dialog_vbox4, "dialog_vbox4");
  gtk_widget_show (dialog_vbox4);

  dialog_action_area4 = GTK_DIALOG (ChoixFichier)->action_area;
  gtk_widget_set_name (dialog_action_area4, "dialog_action_area4");
  gtk_widget_show (dialog_action_area4);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_END);

  button1 = gtk_button_new_from_stock ("gtk-cancel");
  gtk_widget_set_name (button1, "button1");
  gtk_widget_show (button1);
  gtk_dialog_add_action_widget (GTK_DIALOG (ChoixFichier), button1, GTK_RESPONSE_CANCEL);
  GTK_WIDGET_SET_FLAGS (button1, GTK_CAN_DEFAULT);

  button2 = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_set_name (button2, "button2");
  gtk_widget_show (button2);
  gtk_dialog_add_action_widget (GTK_DIALOG (ChoixFichier), button2, GTK_RESPONSE_OK);
  GTK_WIDGET_SET_FLAGS (button2, GTK_CAN_DEFAULT);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (ChoixFichier, ChoixFichier, "ChoixFichier");
  GLADE_HOOKUP_OBJECT_NO_REF (ChoixFichier, dialog_vbox4, "dialog_vbox4");
  GLADE_HOOKUP_OBJECT_NO_REF (ChoixFichier, dialog_action_area4, "dialog_action_area4");
  GLADE_HOOKUP_OBJECT (ChoixFichier, button1, "button1");
  GLADE_HOOKUP_OBJECT (ChoixFichier, button2, "button2");

  gtk_widget_grab_default (button2);
  return ChoixFichier;
}

GtkWidget*
create_alerte_medium (void)
{
  GtkWidget *alerte_medium;
  GtkWidget *dialog_vbox5;
  GtkWidget *hbox1;
  GtkWidget *image1;
  GtkWidget *label2;
  GtkWidget *dialog_action_area5;
  GtkWidget *choixiso;
  GtkWidget *quitter;
  GtkWidget *rafraichir;
  GtkWidget *config;

  alerte_medium = gtk_dialog_new ();
  gtk_widget_set_name (alerte_medium, "alerte_medium");
  gtk_container_set_border_width (GTK_CONTAINER (alerte_medium), 6);
  gtk_window_set_title (GTK_WINDOW (alerte_medium), _("Aucun medium d\303\251tect\303\251"));
  gtk_window_set_position (GTK_WINDOW (alerte_medium), GTK_WIN_POS_CENTER_ON_PARENT);
  gtk_window_set_modal (GTK_WINDOW (alerte_medium), TRUE);
  gtk_window_set_resizable (GTK_WINDOW (alerte_medium), FALSE);
  gtk_window_set_destroy_with_parent (GTK_WINDOW (alerte_medium), TRUE);
  gtk_window_set_icon_name (GTK_WINDOW (alerte_medium), "gtk-dialog-warning");
  gtk_window_set_type_hint (GTK_WINDOW (alerte_medium), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_window_set_urgency_hint (GTK_WINDOW (alerte_medium), TRUE);
  gtk_dialog_set_has_separator (GTK_DIALOG (alerte_medium), FALSE);

  dialog_vbox5 = GTK_DIALOG (alerte_medium)->vbox;
  gtk_widget_set_name (dialog_vbox5, "dialog_vbox5");
  gtk_widget_show (dialog_vbox5);

  hbox1 = gtk_hbox_new (FALSE, 12);
  gtk_widget_set_name (hbox1, "hbox1");
  gtk_widget_show (hbox1);
  gtk_box_pack_start (GTK_BOX (dialog_vbox5), hbox1, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox1), 6);

  image1 = gtk_image_new_from_stock ("gtk-dialog-warning", GTK_ICON_SIZE_DIALOG);
  gtk_widget_set_name (image1, "image1");
  gtk_widget_show (image1);
  gtk_box_pack_start (GTK_BOX (hbox1), image1, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (image1), 0, 0);

  label2 = gtk_label_new (_("<b><big>Aucun m\303\251dium d\303\251tect\303\251</big></b>\n\nVeuillez ins\303\251rer un DVD vid\303\251o dans le lecteur, ou sp\303\251cifier une image ISO \303\240 utiliser. "));
  gtk_widget_set_name (label2, "label2");
  gtk_widget_show (label2);
  gtk_box_pack_start (GTK_BOX (hbox1), label2, TRUE, TRUE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label2), TRUE);
  gtk_label_set_line_wrap (GTK_LABEL (label2), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label2), 0, 0);

  dialog_action_area5 = GTK_DIALOG (alerte_medium)->action_area;
  gtk_widget_set_name (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);

  choixiso = gtk_button_new_with_mnemonic (_("Fichier ISO"));
  gtk_widget_set_name (choixiso, "choixiso");
  gtk_widget_show (choixiso);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_medium), choixiso, GTK_RESPONSE_OK);
  GTK_WIDGET_UNSET_FLAGS (choixiso, GTK_CAN_FOCUS);

  quitter = gtk_button_new_from_stock ("gtk-quit");
  gtk_widget_set_name (quitter, "quitter");
  gtk_widget_show (quitter);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_medium), quitter, GTK_RESPONSE_CLOSE);
  GTK_WIDGET_UNSET_FLAGS (quitter, GTK_CAN_FOCUS);

  rafraichir = gtk_button_new_from_stock ("gtk-refresh");
  gtk_widget_set_name (rafraichir, "rafraichir");
  gtk_widget_show (rafraichir);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_medium), rafraichir, GTK_RESPONSE_OK);
  GTK_WIDGET_UNSET_FLAGS (rafraichir, GTK_CAN_FOCUS);

  config = gtk_button_new_from_stock ("gtk-preferences");
  gtk_widget_set_name (config, "config");
  gtk_widget_show (config);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_medium), config, 0);
  GTK_WIDGET_SET_FLAGS (config, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) choixiso, "clicked",
                    G_CALLBACK (on_choixiso_clicked),
                    NULL);
  g_signal_connect ((gpointer) quitter, "clicked",
                    G_CALLBACK (on_quitter_clicked),
                    NULL);
  g_signal_connect ((gpointer) rafraichir, "clicked",
                    G_CALLBACK (on_rafraichir_clicked),
                    NULL);
  g_signal_connect ((gpointer) config, "clicked",
                    G_CALLBACK (on_configbegin_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_medium, alerte_medium, "alerte_medium");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_medium, dialog_vbox5, "dialog_vbox5");
  GLADE_HOOKUP_OBJECT (alerte_medium, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (alerte_medium, image1, "image1");
  GLADE_HOOKUP_OBJECT (alerte_medium, label2, "label2");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_medium, dialog_action_area5, "dialog_action_area5");
  GLADE_HOOKUP_OBJECT (alerte_medium, choixiso, "choixiso");
  GLADE_HOOKUP_OBJECT (alerte_medium, quitter, "quitter");
  GLADE_HOOKUP_OBJECT (alerte_medium, rafraichir, "rafraichir");
  GLADE_HOOKUP_OBJECT (alerte_medium, config, "config");

  return alerte_medium;
}

GtkWidget*
create_alerte_deuxiemephase (void)
{
  GtkWidget *alerte_deuxiemephase;
  GtkWidget *dialog_vbox6;
  GtkWidget *hbox2;
  GtkWidget *image2;
  GtkWidget *label13;
  GtkWidget *dialog_action_area6;
  GtkWidget *lecture;
  GtkWidget *revenir;
  GtkWidget *avancer;

  alerte_deuxiemephase = gtk_dialog_new ();
  gtk_widget_set_name (alerte_deuxiemephase, "alerte_deuxiemephase");
  gtk_container_set_border_width (GTK_CONTAINER (alerte_deuxiemephase), 6);
  gtk_window_set_title (GTK_WINDOW (alerte_deuxiemephase), _("Premi\303\250re phase termin\303\251e"));
  gtk_window_set_position (GTK_WINDOW (alerte_deuxiemephase), GTK_WIN_POS_CENTER_ON_PARENT);
  gtk_window_set_modal (GTK_WINDOW (alerte_deuxiemephase), TRUE);
  gtk_window_set_resizable (GTK_WINDOW (alerte_deuxiemephase), FALSE);
  gtk_window_set_destroy_with_parent (GTK_WINDOW (alerte_deuxiemephase), TRUE);
  gtk_window_set_icon_name (GTK_WINDOW (alerte_deuxiemephase), "gtk-dialog-info");
  gtk_window_set_type_hint (GTK_WINDOW (alerte_deuxiemephase), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_window_set_urgency_hint (GTK_WINDOW (alerte_deuxiemephase), TRUE);
  gtk_dialog_set_has_separator (GTK_DIALOG (alerte_deuxiemephase), FALSE);

  dialog_vbox6 = GTK_DIALOG (alerte_deuxiemephase)->vbox;
  gtk_widget_set_name (dialog_vbox6, "dialog_vbox6");
  gtk_widget_show (dialog_vbox6);

  hbox2 = gtk_hbox_new (FALSE, 12);
  gtk_widget_set_name (hbox2, "hbox2");
  gtk_widget_show (hbox2);
  gtk_box_pack_start (GTK_BOX (dialog_vbox6), hbox2, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2), 6);

  image2 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_DIALOG);
  gtk_widget_set_name (image2, "image2");
  gtk_widget_show (image2);
  gtk_box_pack_start (GTK_BOX (hbox2), image2, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (image2), 0, 0);

  label13 = gtk_label_new (_("<b><big>Extraction du contenu termin\303\251e</big></b>\n\nAvant de proc\303\251der \303\240 la construction d'une image ISO ou une gravure, vous pouvez pr\303\251visualiser le r\303\251sultat."));
  gtk_widget_set_name (label13, "label13");
  gtk_widget_show (label13);
  gtk_box_pack_start (GTK_BOX (hbox2), label13, TRUE, TRUE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label13), TRUE);
  gtk_label_set_line_wrap (GTK_LABEL (label13), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label13), 0, 0);

  dialog_action_area6 = GTK_DIALOG (alerte_deuxiemephase)->action_area;
  gtk_widget_set_name (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);

  lecture = gtk_button_new_from_stock ("gtk-media-play");
  gtk_widget_set_name (lecture, "lecture");
  gtk_widget_show (lecture);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_deuxiemephase), lecture, 0);
  GTK_WIDGET_UNSET_FLAGS (lecture, GTK_CAN_FOCUS);

  revenir = gtk_button_new_from_stock ("gtk-go-back");
  gtk_widget_set_name (revenir, "revenir");
  gtk_widget_show (revenir);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_deuxiemephase), revenir, 1);
  GTK_WIDGET_UNSET_FLAGS (revenir, GTK_CAN_FOCUS);

  avancer = gtk_button_new_from_stock ("gtk-go-forward");
  gtk_widget_set_name (avancer, "avancer");
  gtk_widget_show (avancer);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_deuxiemephase), avancer, 2);
  GTK_WIDGET_UNSET_FLAGS (avancer, GTK_CAN_FOCUS);

  g_signal_connect ((gpointer) lecture, "clicked",
                    G_CALLBACK (on_lecture_clicked),
                    NULL);
  g_signal_connect ((gpointer) revenir, "clicked",
                    G_CALLBACK (on_revenir_clicked),
                    NULL);
  g_signal_connect ((gpointer) avancer, "clicked",
                    G_CALLBACK (on_avancer_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_deuxiemephase, alerte_deuxiemephase, "alerte_deuxiemephase");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_deuxiemephase, dialog_vbox6, "dialog_vbox6");
  GLADE_HOOKUP_OBJECT (alerte_deuxiemephase, hbox2, "hbox2");
  GLADE_HOOKUP_OBJECT (alerte_deuxiemephase, image2, "image2");
  GLADE_HOOKUP_OBJECT (alerte_deuxiemephase, label13, "label13");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_deuxiemephase, dialog_action_area6, "dialog_action_area6");
  GLADE_HOOKUP_OBJECT (alerte_deuxiemephase, lecture, "lecture");
  GLADE_HOOKUP_OBJECT (alerte_deuxiemephase, revenir, "revenir");
  GLADE_HOOKUP_OBJECT (alerte_deuxiemephase, avancer, "avancer");

  return alerte_deuxiemephase;
}

GtkWidget*
create_alerte_analyse (void)
{
  GtkWidget *alerte_analyse;
  GtkWidget *vbox3;
  GtkWidget *hbox3;
  GtkWidget *image3;
  GtkWidget *label14;
  GtkWidget *hbuttonbox1;
  GtkWidget *arreter;

  alerte_analyse = gtk_dialog_new ();
  gtk_widget_set_name (alerte_analyse, "alerte_analyse");
  gtk_container_set_border_width (GTK_CONTAINER (alerte_analyse), 6);
  gtk_window_set_title (GTK_WINDOW (alerte_analyse), _("Analyse en cours"));
  gtk_window_set_position (GTK_WINDOW (alerte_analyse), GTK_WIN_POS_CENTER_ON_PARENT);
  gtk_window_set_modal (GTK_WINDOW (alerte_analyse), TRUE);
  gtk_window_set_resizable (GTK_WINDOW (alerte_analyse), FALSE);
  gtk_window_set_destroy_with_parent (GTK_WINDOW (alerte_analyse), TRUE);
  gtk_window_set_icon_name (GTK_WINDOW (alerte_analyse), "gtk-dialog-info");
  gtk_window_set_type_hint (GTK_WINDOW (alerte_analyse), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_window_set_urgency_hint (GTK_WINDOW (alerte_analyse), TRUE);
  gtk_dialog_set_has_separator (GTK_DIALOG (alerte_analyse), FALSE);

  vbox3 = GTK_DIALOG (alerte_analyse)->vbox;
  gtk_widget_set_name (vbox3, "vbox3");
  gtk_widget_show (vbox3);

  hbox3 = gtk_hbox_new (FALSE, 12);
  gtk_widget_set_name (hbox3, "hbox3");
  gtk_widget_show (hbox3);
  gtk_box_pack_start (GTK_BOX (vbox3), hbox3, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox3), 6);

  image3 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_DIALOG);
  gtk_widget_set_name (image3, "image3");
  gtk_widget_show (image3);
  gtk_box_pack_start (GTK_BOX (hbox3), image3, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (image3), 0, 0);

  label14 = gtk_label_new (_("<b><big>Analyse en cours</big></b>\n\nVeuillez patienter pendant le parcours du DVD afin d'analyser sa structure."));
  gtk_widget_set_name (label14, "label14");
  gtk_widget_show (label14);
  gtk_box_pack_start (GTK_BOX (hbox3), label14, TRUE, TRUE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label14), TRUE);
  gtk_label_set_line_wrap (GTK_LABEL (label14), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label14), 0, 0);

  hbuttonbox1 = GTK_DIALOG (alerte_analyse)->action_area;
  gtk_widget_set_name (hbuttonbox1, "hbuttonbox1");
  gtk_widget_show (hbuttonbox1);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_END);

  arreter = gtk_button_new_from_stock ("gtk-stop");
  gtk_widget_set_name (arreter, "arreter");
  gtk_widget_show (arreter);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_analyse), arreter, 0);
  GTK_WIDGET_UNSET_FLAGS (arreter, GTK_CAN_FOCUS);

  g_signal_connect ((gpointer) arreter, "clicked",
                    G_CALLBACK (on_arreter_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_analyse, alerte_analyse, "alerte_analyse");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_analyse, vbox3, "vbox3");
  GLADE_HOOKUP_OBJECT (alerte_analyse, hbox3, "hbox3");
  GLADE_HOOKUP_OBJECT (alerte_analyse, image3, "image3");
  GLADE_HOOKUP_OBJECT (alerte_analyse, label14, "label14");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_analyse, hbuttonbox1, "hbuttonbox1");
  GLADE_HOOKUP_OBJECT (alerte_analyse, arreter, "arreter");

  return alerte_analyse;
}

GtkWidget*
create_alerte_termine (void)
{
  GtkWidget *alerte_termine;
  GtkWidget *vbox4;
  GtkWidget *hbox4;
  GtkWidget *image4;
  GtkWidget *label15;
  GtkWidget *hbuttonbox2;
  GtkWidget *fermer;

  alerte_termine = gtk_dialog_new ();
  gtk_widget_set_name (alerte_termine, "alerte_termine");
  gtk_container_set_border_width (GTK_CONTAINER (alerte_termine), 6);
  gtk_window_set_title (GTK_WINDOW (alerte_termine), _("Termin\303\251"));
  gtk_window_set_position (GTK_WINDOW (alerte_termine), GTK_WIN_POS_CENTER_ON_PARENT);
  gtk_window_set_modal (GTK_WINDOW (alerte_termine), TRUE);
  gtk_window_set_resizable (GTK_WINDOW (alerte_termine), FALSE);
  gtk_window_set_destroy_with_parent (GTK_WINDOW (alerte_termine), TRUE);
  gtk_window_set_icon_name (GTK_WINDOW (alerte_termine), "gtk-dialog-info");
  gtk_window_set_type_hint (GTK_WINDOW (alerte_termine), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_window_set_urgency_hint (GTK_WINDOW (alerte_termine), TRUE);
  gtk_dialog_set_has_separator (GTK_DIALOG (alerte_termine), FALSE);

  vbox4 = GTK_DIALOG (alerte_termine)->vbox;
  gtk_widget_set_name (vbox4, "vbox4");
  gtk_widget_show (vbox4);

  hbox4 = gtk_hbox_new (FALSE, 12);
  gtk_widget_set_name (hbox4, "hbox4");
  gtk_widget_show (hbox4);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox4, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox4), 6);

  image4 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_DIALOG);
  gtk_widget_set_name (image4, "image4");
  gtk_widget_show (image4);
  gtk_box_pack_start (GTK_BOX (hbox4), image4, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (image4), 0, 0);

  label15 = gtk_label_new (_("<b><big>Encodage termin\303\251</big></b>\n\nLa conversion s'est d\303\251roul\303\251e avec succ\303\250s."));
  gtk_widget_set_name (label15, "label15");
  gtk_widget_show (label15);
  gtk_box_pack_start (GTK_BOX (hbox4), label15, TRUE, TRUE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label15), TRUE);
  gtk_label_set_line_wrap (GTK_LABEL (label15), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label15), 0, 0);

  hbuttonbox2 = GTK_DIALOG (alerte_termine)->action_area;
  gtk_widget_set_name (hbuttonbox2, "hbuttonbox2");
  gtk_widget_show (hbuttonbox2);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox2), GTK_BUTTONBOX_END);

  fermer = gtk_button_new_from_stock ("gtk-close");
  gtk_widget_set_name (fermer, "fermer");
  gtk_widget_show (fermer);
  gtk_dialog_add_action_widget (GTK_DIALOG (alerte_termine), fermer, GTK_RESPONSE_CLOSE);
  GTK_WIDGET_UNSET_FLAGS (fermer, GTK_CAN_FOCUS);

  g_signal_connect ((gpointer) fermer, "clicked",
                    G_CALLBACK (on_fermer_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_termine, alerte_termine, "alerte_termine");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_termine, vbox4, "vbox4");
  GLADE_HOOKUP_OBJECT (alerte_termine, hbox4, "hbox4");
  GLADE_HOOKUP_OBJECT (alerte_termine, image4, "image4");
  GLADE_HOOKUP_OBJECT (alerte_termine, label15, "label15");
  GLADE_HOOKUP_OBJECT_NO_REF (alerte_termine, hbuttonbox2, "hbuttonbox2");
  GLADE_HOOKUP_OBJECT (alerte_termine, fermer, "fermer");

  return alerte_termine;
}

GtkWidget*
create_about (void)
{
  GtkWidget *about;
  const gchar *authors[] = {
    "JF Coulon",
    NULL
  };
  const gchar *documenters[] = {
    "JF Fortin",
    NULL
  };
  const gchar *artists[] = {
    "JF Fortin",
    NULL
  };
  /* TRANSLATORS: Replace this string with your names, one name per line. */
  gchar *translators = _("translator-credits");
  GdkPixbuf *about_logo_pixbuf;

  about = gtk_about_dialog_new ();
  gtk_widget_set_name (about, "about");
  gtk_container_set_border_width (GTK_CONTAINER (about), 5);
  gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (about), VERSION);
  gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (about), _("Dvd95"));
  gtk_about_dialog_set_comments (GTK_ABOUT_DIALOG (about), _("a GNOME application to convert DVD9 to DVD5"));
  gtk_about_dialog_set_license (GTK_ABOUT_DIALOG (about), _("Dvd95 is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\nDvd95 is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty\nof MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. \nSee the GNU General Public License for more details.\nYou should have received a copy of the GNU General Public License\nalong with Dvd95;\nif not, write to the Free Software Foundation, Inc.,\n59 Temple Place, Suite 330, Boston, MA 2111-1307  USA\n"));
  gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about), "http://dvd95.sourceforge.net");
  gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (about), _("Dvd95"));
  gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about), authors);
  gtk_about_dialog_set_documenters (GTK_ABOUT_DIALOG (about), documenters);
  gtk_about_dialog_set_artists (GTK_ABOUT_DIALOG (about), artists);
  gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (about), translators);
  about_logo_pixbuf = create_pixbuf ("dvd95/dvd9548.png");
  gtk_about_dialog_set_logo (GTK_ABOUT_DIALOG (about), about_logo_pixbuf);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (about, about, "about");

  return about;
}

