Commit c350d930 authored by Bastien Nocera's avatar Bastien Nocera Committed by Bastien Nocera

Patch from Philip Withnall <pwithnall@svn.gnome.org> to use GtkBuilder

2007-07-05  Bastien Nocera  <hadess@hadess.net>

	* Load of files: Patch from Philip Withnall <pwithnall@svn.gnome.org>
	to use GtkBuilder instead of libglade (Closes: #450635)


svn path=/trunk/; revision=4427
parent af1add6c
2007-07-05 Bastien Nocera <hadess@hadess.net>
* Load of files: Patch from Philip Withnall <pwithnall@svn.gnome.org>
to use GtkBuilder instead of libglade (Closes: #450635)
2007-07-03 Bastien Nocera <hadess@hadess.net>
* configure.in:
......
......@@ -31,7 +31,6 @@
#include <glib/gi18n.h>
#include <gdk/gdkx.h>
#include <gtk/gtk.h>
#include <glade/glade.h>
#include <gconf/gconf-client.h>
#define SN_API_NOT_YET_FROZEN
......@@ -96,7 +95,7 @@ typedef struct _TotemEmbedded {
GObject parent;
GtkWidget *window;
GladeXML *menuxml, *xml;
GtkBuilder *menuxml, *xml;
GtkWidget *about;
GtkWidget *pp_button;
TotemStatusbar *statusbar;
......@@ -1005,7 +1004,8 @@ totem_embedded_set_playlist (TotemEmbedded *emb,
static void
totem_embedded_update_menu (TotemEmbedded *emb)
{
GtkWidget *menu, *item, *image;
GtkWidget *item, *image;
GtkMenuShell *menu;
char *label;
if (emb->menu_item != NULL) {
......@@ -1051,8 +1051,8 @@ totem_embedded_update_menu (TotemEmbedded *emb)
gtk_widget_show (item);
emb->menu_item = item;
menu = glade_xml_get_widget (emb->menuxml, "menu");
gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), item);
menu = GTK_MENU_SHELL (gtk_builder_get_object (emb->menuxml, "menu"));
gtk_menu_shell_prepend (menu, item);
}
static void
......@@ -1216,7 +1216,7 @@ on_video_button_press_event (BaconVideoWidget *bvw,
state == 0) {
GtkMenu *menu;
menu = GTK_MENU (glade_xml_get_widget (emb->menuxml, "menu"));
menu = GTK_MENU (gtk_builder_get_object (emb->menuxml, "menu"));
gtk_menu_popup (menu, NULL, NULL, NULL, NULL,
event->button, event->time);
......@@ -1362,22 +1362,20 @@ totem_embedded_construct (TotemEmbedded *emb,
/* Can't do anything before it's realized */
gtk_widget_realize (emb->window);
emb->xml = totem_interface_load_with_root ("mozilla-viewer.glade",
"content_box", _("Plugin") /* FIXME! */, TRUE,
GTK_WINDOW (emb->window));
emb->xml = totem_interface_load ("mozilla-viewer.glade", TRUE,
GTK_WINDOW (emb->window), emb);
g_assert (emb->xml);
child = glade_xml_get_widget (emb->xml, "content_box");
child = GTK_WIDGET (gtk_builder_get_object (emb->xml, "content_box"));
gtk_container_add (GTK_CONTAINER (emb->window), child);
} else {
g_assert (emb->hidden);
emb->xml = totem_interface_load_with_root ("mozilla-viewer.glade",
"window", _("Plugin") /* FIXME! */, TRUE,
GTK_WINDOW (emb->window));
emb->xml = totem_interface_load ("mozilla-viewer.glade", TRUE,
GTK_WINDOW (emb->window), emb);
g_assert (emb->xml);
emb->window = glade_xml_get_widget (emb->xml, "window");
emb->window = GTK_WIDGET (gtk_builder_get_object (emb->xml, "window"));
}
if (emb->hidden || emb->audioonly != FALSE)
......@@ -1415,7 +1413,7 @@ totem_embedded_construct (TotemEmbedded *emb,
g_signal_connect (G_OBJECT(emb->bvw), "tick",
G_CALLBACK (on_tick), emb);
container = glade_xml_get_widget (emb->xml, "video_box");
container = GTK_WIDGET (gtk_builder_get_object (emb->xml, "video_box"));
if (type == BVW_USE_TYPE_VIDEO) {
gtk_container_add (GTK_CONTAINER (container), GTK_WIDGET (emb->bvw));
/* FIXME: why can't this wait until the whole window is realised? */
......@@ -1426,14 +1424,14 @@ totem_embedded_construct (TotemEmbedded *emb,
gtk_widget_hide (container);
}
emb->seek = glade_xml_get_widget (emb->xml, "time_hscale");
emb->seek = GTK_WIDGET (gtk_builder_get_object (emb->xml, "time_hscale"));
emb->seekadj = gtk_range_get_adjustment (GTK_RANGE (emb->seek));
g_signal_connect (emb->seek, "button-press-event",
G_CALLBACK (on_seek_start), emb);
g_signal_connect (emb->seek, "button-release-event",
G_CALLBACK (cb_on_seek), emb);
emb->pp_button = glade_xml_get_widget (emb->xml, "pp_button");
emb->pp_button = GTK_WIDGET (gtk_builder_get_object (emb->xml, "pp_button"));
g_signal_connect (G_OBJECT (emb->pp_button), "clicked",
G_CALLBACK (on_play_pause), emb);
......@@ -1442,27 +1440,27 @@ totem_embedded_construct (TotemEmbedded *emb,
g_object_unref (G_OBJECT (gc));
bacon_video_widget_set_volume (emb->bvw, volume);
vbut = glade_xml_get_widget (emb->xml, "volume_button");
vbut = GTK_WIDGET (gtk_builder_get_object (emb->xml, "volume_button"));
gtk_scale_button_set_value (GTK_SCALE_BUTTON (vbut), volume);
g_signal_connect (G_OBJECT (vbut), "value-changed",
G_CALLBACK (cb_vol), emb);
emb->statusbar = TOTEM_STATUSBAR (glade_xml_get_widget (emb->xml, "statusbar"));
emb->statusbar = TOTEM_STATUSBAR (gtk_builder_get_object (emb->xml, "statusbar"));
gtk_widget_set_size_request (emb->window, width, height);
#ifdef GNOME_ENABLE_DEBUG
child = glade_xml_get_widget (emb->xml, "controls");
g_signal_connect_after (child, "size-allocate", G_CALLBACK (controls_size_allocate_cb), NULL);
child = GTK_WIDGET (gtk_builder_get_object (emb->xml, "controls"));
g_signal_connect_after (G_OBJECT (child), "size-allocate", G_CALLBACK (controls_size_allocate_cb), NULL);
#endif
if (emb->controller_hidden != FALSE) {
child = glade_xml_get_widget (emb->xml, "controls");
child = GTK_WIDGET (gtk_builder_get_object (emb->xml, "controls"));
gtk_widget_hide (child);
}
if (!emb->show_statusbar) {
child = glade_xml_get_widget (emb->xml, "statusbar");
child = GTK_WIDGET (gtk_builder_get_object (emb->xml, "statusbar"));
gtk_widget_hide (child);
}
......@@ -1475,10 +1473,10 @@ totem_embedded_construct (TotemEmbedded *emb,
gtk_widget_modify_style (emb->pp_button, rcstyle);
child = glade_xml_get_widget (emb->xml, "time_hscale");
child = GTK_WIDGET (gtk_builder_get_object (emb->xml, "time_hscale"));
gtk_widget_modify_style (child, rcstyle);
child = glade_xml_get_widget (emb->xml, "volume_button");
child = GTK_WIDGET (gtk_builder_get_object (emb->xml, "volume_button"));
gtk_widget_modify_style (child, rcstyle);
g_object_unref (rcstyle);
......@@ -1491,18 +1489,17 @@ totem_embedded_construct (TotemEmbedded *emb,
}
/* popup */
emb->menuxml = totem_interface_load_with_root ("mozilla-viewer.glade",
"menu", _("Menu"), TRUE,
GTK_WINDOW (emb->window));
emb->menuxml = totem_interface_load ("mozilla-viewer.glade", TRUE,
GTK_WINDOW (emb->window), emb);
g_assert (emb->menuxml);
child = glade_xml_get_widget (emb->menuxml, "about1");
child = GTK_WIDGET (gtk_builder_get_object (emb->menuxml, "about1"));
g_signal_connect (G_OBJECT (child), "activate",
G_CALLBACK (on_about1_activate), emb);
child = glade_xml_get_widget (emb->menuxml, "copy_location1");
child = GTK_WIDGET (gtk_builder_get_object (emb->menuxml, "copy_location1"));
g_signal_connect (G_OBJECT (child), "activate",
G_CALLBACK (on_copy_location1_activate), emb);
child = glade_xml_get_widget (emb->menuxml, "preferences1");
child = GTK_WIDGET (gtk_builder_get_object (emb->menuxml, "preferences1"));
gtk_widget_hide (child);
/* Create cursor and set the logo */
......
......@@ -258,11 +258,11 @@ dnl Seems that the order matters because libtool blows
dnl Also check if we're going to be using GTK+ only
if test x$ENABLE_GTK = "xno" ; then
# FIXME: use gmodule-no-export instead!
PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS libglade-2.0 gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS libgnome-2.0 >= $LIBGNOME_REQS gnome-desktop-2.0 >= 2.1.5 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 $ISO_CODES $MM)
PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libgnomeui-2.0 >= $GNOMEUI_REQS gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS libgnome-2.0 >= $LIBGNOME_REQS gnome-desktop-2.0 >= 2.1.5 gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 $ISO_CODES $MM)
HAVE_GNOME=yes
else
# FIXME: use gmodule-no-export instead!
PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS libglade-2.0 gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 $ISO_CODES $MM)
PKG_CHECK_MODULES(EXTRA_GNOME, glib-2.0 >= $GLIB_REQS gtk+-2.0 >= $GTK_REQS gnome-vfs-2.0 >= $GNOMEVFS_REQS gnome-vfs-module-2.0 >= $GNOMEVFS_REQS gnome-icon-theme >= $GNOMEICON_REQS gmodule-2.0 $ISO_CODES $MM)
AC_DEFINE(USE_STABLE_LIBGNOMEUI, 1, [defined if we don't have GNOME])
AC_DEFINE(HAVE_GTK_ONLY, 1, [defined if GNOME isn't used])
HAVE_GNOME=no
......
......@@ -8,14 +8,14 @@ stuff_DATA = \
filmholes-big-left.png \
filmholes-big-right.png \
stock-tool-brightness-contrast-22.png \
totem.glade \
fullscreen.glade \
playlist.glade \
totem.ui \
fullscreen.ui \
playlist.ui \
playlist-ui.xml \
plugins.glade \
mozilla-viewer.glade \
properties.glade \
uri.glade \
plugins.ui \
mozilla-viewer.ui \
properties.ui \
uri.ui \
totem-ui.xml \
totem_logo.png
......@@ -95,7 +95,7 @@ EXTRA_DIST = \
totem-video-thumbnailer.pod
CLEANFILES = \
*.bak *.gladep core* *.orig *~ \
*.bak *.uip core* *.orig *~ \
$(desktop_in_files) \
$(desktop_DATA) \
$(generated_schema_in_files) \
......
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<?xml version="1.0" ?>
<!--*- mode: xml -*--><!DOCTYPE glade-interface
SYSTEM 'http://glade.gnome.org/glade-2.0.dtd'>
<interface>
<glade-interface>
<widget class="GtkWindow" id="totem_exit_fullscreen_window">
<object class="GtkWindow" id="totem_exit_fullscreen_window">
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_POPUP</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
......@@ -17,16 +17,18 @@
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
<signal name="motion-notify-event" handler="totem_fullscreen_motion_notify"/>
<child>
<widget class="GtkButton" id="tefw_fs_exit_button">
<object class="GtkButton" id="tefw_fs_exit_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="motion-notify-event" handler="totem_fullscreen_motion_notify"/>
<child>
<widget class="GtkAlignment" id="tefw_alignment">
<object class="GtkAlignment" id="tefw_alignment">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
......@@ -38,13 +40,13 @@
<property name="right_padding">0</property>
<child>
<widget class="GtkHBox" id="tefw_hbox">
<object class="GtkHBox" id="tefw_hbox">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">2</property>
<child>
<widget class="GtkImage" id="tefw_image">
<object class="GtkImage" id="tefw_image">
<property name="visible">True</property>
<property name="icon_size">4</property>
<property name="icon_name">view-restore</property>
......@@ -52,7 +54,7 @@
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
......@@ -61,7 +63,7 @@
</child>
<child>
<widget class="GtkLabel" id="tefw_label">
<object class="GtkLabel" id="tefw_label">
<property name="visible">True</property>
<property name="label" translatable="yes">Leave Fullscreen</property>
<property name="use_underline">True</property>
......@@ -77,22 +79,22 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</object>
</child>
</widget>
</object>
</child>
</widget>
</object>
</child>
</widget>
</object>
<widget class="GtkWindow" id="totem_controls_window">
<object class="GtkWindow" id="totem_controls_window">
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_POPUP</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
......@@ -106,19 +108,20 @@
<property name="gravity">GDK_GRAVITY_SOUTH_WEST</property>
<property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
<signal name="motion-notify-event" handler="totem_fullscreen_motion_notify"/>
<child>
<widget class="GtkHBox" id="tcw_hbox">
<object class="GtkHBox" id="tcw_hbox">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">4</property>
<child>
<widget class="GtkHBox" id="tcw_buttons_hbox">
<object class="GtkHBox" id="tcw_buttons_hbox">
<property name="visible">True</property>
<property name="homogeneous">True</property>
<property name="spacing">4</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
......@@ -127,13 +130,13 @@
</child>
<child>
<widget class="GtkHBox" id="tcw_time_hbox">
<object class="GtkHBox" id="tcw_time_hbox">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">2</property>
<child>
<widget class="GtkLabel" id="tcw_time_label">
<object class="GtkLabel" id="tcw_time_label">
<property name="visible">True</property>
<property name="label" translatable="yes">Time:</property>
<property name="use_underline">False</property>
......@@ -149,7 +152,7 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
......@@ -158,7 +161,15 @@
</child>
<child>
<widget class="GtkHScale" id="tcw_seek_hscale">
<object class="GtkAdjustment" id="tcw_seek_adjustment">
<property name="lower">0</property>
<property name="upper">65535</property>
<property name="step-increment">1</property>
<property name="page-increment">10</property>
<property name="page-size">0</property>
<property name="value">0</property>
</object>
<object class="GtkHScale" id="tcw_seek_hscale">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
......@@ -167,15 +178,18 @@
<property name="digits">1</property>
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="inverted">False</property>
<property name="adjustment">0 0 65536 1 10 0</property>
</widget>
<property name="adjustment">tcw_seek_adjustment</property>
<signal name="button-press-event" handler="totem_fullscreen_seek_slider_pressed_cb"/>
<signal name="button-release-event" handler="totem_fullscreen_seek_slider_released_cb"/>
<signal name="motion-notify-event" handler="totem_fullscreen_motion_notify"/>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
......@@ -184,19 +198,15 @@
</child>
<child>
<widget class="GtkHBox" id="tcw_name_time_hbox">
<object class="GtkHBox" id="tcw_name_time_hbox">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">3</property>
<child>
<widget class="Custom" id="tcw_time_display_label">
<object class="TotemTimeLabel" id="tcw_time_display_label">
<property name="visible">True</property>
<property name="creation_function">totem_time_label_new_from_glade</property>
<property name="int1">0</property>
<property name="int2">0</property>
<property name="last_modification_time">Sat, 03 Jul 2004 19:41:43 GMT</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
......@@ -205,7 +215,7 @@
</child>
<child>
<widget class="GtkLabel" id="tcw_title_label">
<object class="GtkLabel" id="tcw_title_label">
<property name="visible">True</property>
<property name="label">No file</property>
<property name="use_underline">False</property>
......@@ -221,14 +231,14 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">True</property>
<property name="angle">0</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
......@@ -237,21 +247,19 @@
</child>
<child>
<widget class="Custom" id="tcw_volume_button">
<object class="GtkVolumeButton" id="tcw_volume_button">
<property name="visible">True</property>
<property name="creation_function">totem_volume_create</property>
<property name="int1">0</property>
<property name="int2">0</property>
<property name="last_modification_time">Fri, 06 May 2005 09:19:48 GMT</property>
</widget>
<signal name="button-press-event" handler="totem_fullscreen_vol_slider_pressed_cb"/>
<signal name="button-release-event" handler="totem_fullscreen_vol_slider_released_cb"/>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</object>
</child>
</widget>
</object>
</glade-interface>
</interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<?xml version="1.0" ?>
<!--*- mode: xml -*--><!DOCTYPE glade-interface
SYSTEM 'http://glade.gnome.org/glade-2.0.dtd'>
<interface>
<glade-interface>
<widget class="GtkWindow" id="window">
<property name="title"></property>
<object class="GtkWindow" id="window">
<property name="title"/>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
......@@ -19,13 +19,13 @@
<property name="urgency_hint">False</property>
<child>
<widget class="GtkVBox" id="content_box">
<object class="GtkVBox" id="content_box">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkHBox" id="video_box">
<object class="GtkHBox" id="video_box">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
......@@ -33,7 +33,7 @@
<child>
<placeholder/>
</child>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
......@@ -42,19 +42,19 @@
</child>
<child>
<widget class="GtkHBox" id="controls">
<object class="GtkHBox" id="controls">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="Custom" id="pp_button">
<object class="Custom" id="pp_button">
<property name="visible">True</property>
<property name="creation_function">totem_pp_create</property>
<property name="int1">0</property>
<property name="int2">0</property>
<property name="last_modification_time">Sat, 16 Jun 2007 18:48:33 GMT</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
......@@ -63,7 +63,7 @@
</child>
<child>
<widget class="GtkHScale" id="time_hscale">
<object class="GtkHScale" id="time_hscale">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="draw_value">False</property>
......@@ -72,7 +72,7 @@
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="inverted">False</property>
<property name="adjustment">5 0 65535 1 10 0</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
......@@ -81,20 +81,20 @@
</child>
<child>
<widget class="Custom" id="volume_button">
<object class="Custom" id="volume_button">
<property name="visible">True</property>
<property name="creation_function">totem_volume_create</property>
<property name="int1">0</property>
<property name="int2">0</property>
<property name="last_modification_time">Tue, 12 Jul 2005 20:30:15 GMT</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
......@@ -103,34 +103,34 @@
</child>
<child>
<widget class="Custom" id="statusbar">
<object class="Custom" id="statusbar">
<property name="visible">True</property>
<property name="creation_function">totem_statusbar_create</property>
<property name="int1">0</property>
<property name="int2">0</property>
<property name="last_modification_time">Mon, 30 Oct 2006 17:29:57 GMT</property>
</widget>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</object>
</child>
</widget>
</object>
<widget class="GtkMenu" id="menu">
<object class="GtkMenu" id="menu">
<child>
<widget class="GtkImageMenuItem" id="copy_location1">
<object class="GtkImageMenuItem" id="copy_location1">
<property name="visible">True</property>
<property name="label" translatable="yes">_Copy Location</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_copy_location1_activate" last_modification_time="Tue, 20 Jun 2006 14:58:42 GMT"/>
<signal handler="on_copy_location1_activate" last_modification_time="Tue, 20 Jun 2006 14:58:42 GMT" name="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1">
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="stock">gtk-copy</property>
<property name="icon_size">1</property>
......@@ -138,34 +138,34 @@
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</object>
</child>
</widget>
</object>
</child>
<child>
<widget class="GtkImageMenuItem" id="preferences1">
<object class="GtkImageMenuItem" id="preferences1">
<property name="visible">True</property>
<property name="label">gtk-preferences</property>
<property name="use_stock">True</property>
<signal name="activate" handler="on_preferences1_activate" last_modification_time="Tue, 12 Jul 2005 20:29:35 GMT"/>
</widget>
<signal handler="on_preferences1_activate" last_modification_time="Tue, 12 Jul 2005 20:29:35 GMT" name="activate"/>
</object>
</child>
<child>
<widget class="GtkSeparatorMenuItem" id="separator1">
<object class="GtkSeparatorMenuItem" id="separator1">
<property name="visible">True</property>
</widget>
</object>
</child>
<child>
<widget class="GtkImageMenuItem" id="about1">
<object class="GtkImageMenuItem" id="about1">
<property name="visible">True</property>
<property name="label">gtk-about</property>
<property name="use_stock">True</property>
<signal name="activate" handler="on_about1_activate" last_modification_time="Tue, 12 Jul 2005 20:29:35 GMT"/>
</widget>
<signal handler="on_about1_activate" last_modification_time="Tue, 12 Jul 2005 20:29:35 GMT" name="activate"/>
</object>
</child>
</widget>
</object>
</glade-interface>
</interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<glade-interface>
<widget class="GtkDialog" id="dialog1">
<property name="border_width">5</property>
<property name="title" translatable="yes">Playlist</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
<property name="default_width">300</property>
<property name="default_height">375</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
<property name="has_separator">False</property>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">2</property>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="closebutton1">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-7</property>
</widget>