/*
 * 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 <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>

#include "clipdetails_callbacks.h"
#include "clipdetails_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_hxplayer_clip_details_dialog (void)
{
  GtkWidget *hxplayer_clip_details_dialog;
  GdkPixbuf *hxplayer_clip_details_dialog_icon_pixbuf;
  GtkWidget *dialog_vbox1;
  GtkWidget *frame1;
  GtkWidget *table1;
  GtkWidget *label2;
  GtkWidget *label12;
  GtkWidget *label13;
  GtkWidget *label14;
  GtkWidget *label15;
  GtkWidget *label16;
  GtkWidget *label17;
  GtkWidget *hcdd_url;
  GtkWidget *hcdd_keywords;
  GtkWidget *hcdd_author;
  GtkWidget *hcdd_description;
  GtkWidget *hcdd_abstract;
  GtkWidget *hcdd_copyright;
  GtkWidget *hcdd_title;
  GtkWidget *label1;
  GtkWidget *dialog_action_area1;
  GtkWidget *okbutton1;

  hxplayer_clip_details_dialog = gtk_dialog_new ();
  gtk_widget_set_name (hxplayer_clip_details_dialog, "hxplayer_clip_details_dialog");
  gtk_container_set_border_width (GTK_CONTAINER (hxplayer_clip_details_dialog), 12);
  gtk_window_set_title (GTK_WINDOW (hxplayer_clip_details_dialog), _("Clip Details"));
  gtk_window_set_default_size (GTK_WINDOW (hxplayer_clip_details_dialog), 260, -1);
  hxplayer_clip_details_dialog_icon_pixbuf = create_pixbuf ("icon.png");
  if (hxplayer_clip_details_dialog_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (hxplayer_clip_details_dialog), hxplayer_clip_details_dialog_icon_pixbuf);
      gdk_pixbuf_unref (hxplayer_clip_details_dialog_icon_pixbuf);
    }
  gtk_window_set_type_hint (GTK_WINDOW (hxplayer_clip_details_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);

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

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

  table1 = gtk_table_new (7, 2, FALSE);
  gtk_widget_set_name (table1, "table1");
  gtk_widget_show (table1);
  gtk_container_add (GTK_CONTAINER (frame1), 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);

  label2 = gtk_label_new (_("Title:"));
  gtk_widget_set_name (label2, "label2");
  gtk_widget_show (label2);
  gtk_table_attach (GTK_TABLE (table1), label2, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label2), 0, 0.5);

  label12 = gtk_label_new (_("Author:"));
  gtk_widget_set_name (label12, "label12");
  gtk_widget_show (label12);
  gtk_table_attach (GTK_TABLE (table1), label12, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label12), 0, 0.5);

  label13 = gtk_label_new (_("Copyright:"));
  gtk_widget_set_name (label13, "label13");
  gtk_widget_show (label13);
  gtk_table_attach (GTK_TABLE (table1), label13, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label13), 0, 0.5);

  label14 = gtk_label_new (_("Abstract:"));
  gtk_widget_set_name (label14, "label14");
  gtk_widget_show (label14);
  gtk_table_attach (GTK_TABLE (table1), label14, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label14), 0, 0.5);

  label15 = gtk_label_new (_("Description:"));
  gtk_widget_set_name (label15, "label15");
  gtk_widget_show (label15);
  gtk_table_attach (GTK_TABLE (table1), label15, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label15), 0, 0.5);

  label16 = gtk_label_new (_("Keywords:"));
  gtk_widget_set_name (label16, "label16");
  gtk_widget_show (label16);
  gtk_table_attach (GTK_TABLE (table1), label16, 0, 1, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label16), 0, 0.5);

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

  hcdd_url = gtk_label_new ("");
  gtk_widget_set_name (hcdd_url, "hcdd_url");
  gtk_widget_show (hcdd_url);
  gtk_table_attach (GTK_TABLE (table1), hcdd_url, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hcdd_url), 0, 0.5);

  hcdd_keywords = gtk_label_new ("");
  gtk_widget_set_name (hcdd_keywords, "hcdd_keywords");
  gtk_widget_show (hcdd_keywords);
  gtk_table_attach (GTK_TABLE (table1), hcdd_keywords, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hcdd_keywords), 0, 0.5);

  hcdd_author = gtk_label_new ("");
  gtk_widget_set_name (hcdd_author, "hcdd_author");
  gtk_widget_show (hcdd_author);
  gtk_table_attach (GTK_TABLE (table1), hcdd_author, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hcdd_author), 0, 0.5);

  hcdd_description = gtk_label_new ("");
  gtk_widget_set_name (hcdd_description, "hcdd_description");
  gtk_widget_show (hcdd_description);
  gtk_table_attach (GTK_TABLE (table1), hcdd_description, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hcdd_description), 0, 0.5);

  hcdd_abstract = gtk_label_new ("");
  gtk_widget_set_name (hcdd_abstract, "hcdd_abstract");
  gtk_widget_show (hcdd_abstract);
  gtk_table_attach (GTK_TABLE (table1), hcdd_abstract, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hcdd_abstract), 0, 0.5);

  hcdd_copyright = gtk_label_new ("");
  gtk_widget_set_name (hcdd_copyright, "hcdd_copyright");
  gtk_widget_show (hcdd_copyright);
  gtk_table_attach (GTK_TABLE (table1), hcdd_copyright, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hcdd_copyright), 0, 0.5);

  hcdd_title = gtk_label_new ("");
  gtk_widget_set_name (hcdd_title, "hcdd_title");
  gtk_widget_show (hcdd_title);
  gtk_table_attach (GTK_TABLE (table1), hcdd_title, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hcdd_title), 0, 0.5);

  label1 = gtk_label_new (_("<b>Clip Details</b>"));
  gtk_widget_set_name (label1, "label1");
  gtk_widget_show (label1);
  gtk_frame_set_label_widget (GTK_FRAME (frame1), label1);
  gtk_label_set_use_markup (GTK_LABEL (label1), TRUE);

  dialog_action_area1 = GTK_DIALOG (hxplayer_clip_details_dialog)->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);

  okbutton1 = gtk_button_new_from_stock ("gtk-close");
  gtk_widget_set_name (okbutton1, "okbutton1");
  gtk_widget_show (okbutton1);
  gtk_dialog_add_action_widget (GTK_DIALOG (hxplayer_clip_details_dialog), okbutton1, GTK_RESPONSE_CLOSE);
  GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_clip_details_dialog, hxplayer_clip_details_dialog, "hxplayer_clip_details_dialog");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_clip_details_dialog, dialog_vbox1, "dialog_vbox1");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, frame1, "frame1");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, table1, "table1");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label2, "label2");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label12, "label12");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label13, "label13");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label14, "label14");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label15, "label15");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label16, "label16");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label17, "label17");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, hcdd_url, "hcdd_url");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, hcdd_keywords, "hcdd_keywords");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, hcdd_author, "hcdd_author");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, hcdd_description, "hcdd_description");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, hcdd_abstract, "hcdd_abstract");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, hcdd_copyright, "hcdd_copyright");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, hcdd_title, "hcdd_title");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, label1, "label1");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_clip_details_dialog, dialog_action_area1, "dialog_action_area1");
  GLADE_HOOKUP_OBJECT (hxplayer_clip_details_dialog, okbutton1, "okbutton1");

  gtk_widget_grab_default (okbutton1);
  return hxplayer_clip_details_dialog;
}

