/*
 * 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 "plugins_callbacks.h"
#include "plugins_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_plugins_dialog (void)
{
  GtkWidget *hxplayer_plugins_dialog;
  GdkPixbuf *hxplayer_plugins_dialog_icon_pixbuf;
  GtkWidget *dialog_vbox1;
  GtkWidget *frame1;
  GtkWidget *scrolledwindow1;
  GtkWidget *hplgd_tree_view;
  GtkWidget *label1;
  GtkWidget *dialog_action_area1;
  GtkWidget *okbutton1;

  hxplayer_plugins_dialog = gtk_dialog_new ();
  gtk_widget_set_name (hxplayer_plugins_dialog, "hxplayer_plugins_dialog");
  gtk_window_set_title (GTK_WINDOW (hxplayer_plugins_dialog), _("Plugins"));
  gtk_window_set_default_size (GTK_WINDOW (hxplayer_plugins_dialog), 500, 300);
  hxplayer_plugins_dialog_icon_pixbuf = create_pixbuf ("icon.png");
  if (hxplayer_plugins_dialog_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (hxplayer_plugins_dialog), hxplayer_plugins_dialog_icon_pixbuf);
      gdk_pixbuf_unref (hxplayer_plugins_dialog_icon_pixbuf);
    }

  dialog_vbox1 = GTK_DIALOG (hxplayer_plugins_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_widget_set_size_request (frame1, 272, 176);
  gtk_container_set_border_width (GTK_CONTAINER (frame1), 12);
  gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_NONE);

  scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow1, "scrolledwindow1");
  gtk_widget_show (scrolledwindow1);
  gtk_container_add (GTK_CONTAINER (frame1), scrolledwindow1);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow1), 12);

  hplgd_tree_view = gtk_tree_view_new ();
  gtk_widget_set_name (hplgd_tree_view, "hplgd_tree_view");
  gtk_widget_show (hplgd_tree_view);
  gtk_container_add (GTK_CONTAINER (scrolledwindow1), hplgd_tree_view);

  label1 = gtk_label_new (_("<b>Plugins</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_plugins_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_plugins_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_plugins_dialog, hxplayer_plugins_dialog, "hxplayer_plugins_dialog");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_plugins_dialog, dialog_vbox1, "dialog_vbox1");
  GLADE_HOOKUP_OBJECT (hxplayer_plugins_dialog, frame1, "frame1");
  GLADE_HOOKUP_OBJECT (hxplayer_plugins_dialog, scrolledwindow1, "scrolledwindow1");
  GLADE_HOOKUP_OBJECT (hxplayer_plugins_dialog, hplgd_tree_view, "hplgd_tree_view");
  GLADE_HOOKUP_OBJECT (hxplayer_plugins_dialog, label1, "label1");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_plugins_dialog, dialog_action_area1, "dialog_action_area1");
  GLADE_HOOKUP_OBJECT (hxplayer_plugins_dialog, okbutton1, "okbutton1");

  gtk_widget_grab_default (okbutton1);
  return hxplayer_plugins_dialog;
}

