diff --git a/gstplay/callbacks.c b/gstplay/callbacks.c index 3e35234d9b..781173f894 100644 --- a/gstplay/callbacks.c +++ b/gstplay/callbacks.c @@ -6,6 +6,9 @@ #include #include +#include +#include + #include "gstplay.h" #include "callbacks.h" @@ -45,7 +48,15 @@ on_preferences1_activate (GtkMenuItem *menuitem, void on_about_activate(GtkWidget *widget, gpointer data) { GladeXML *xml; - xml = glade_xml_new(DATADIR "gstmediaplay.glade", "about"); + struct stat statbuf; + + if (stat(DATADIR"gstmediaplay.glade", &statbuf) == 0) { + xml = glade_xml_new (DATADIR"gstmediaplay.glade", "about"); + } + else { + xml = glade_xml_new ("gstmediaplay.glade", "about"); + } + /* connect the signals in the interface */ glade_xml_signal_autoconnect(xml); } diff --git a/gstplay/gstmediaplay.glade b/gstplay/gstmediaplay.glade index ba39ffbe16..448409d2e0 100644 --- a/gstplay/gstmediaplay.glade +++ b/gstplay/gstmediaplay.glade @@ -148,7 +148,7 @@ False - False + True @@ -443,6 +443,7 @@ Ronald Bultje <rbultje@ronald.bitfreak.net> Sun, 06 Aug 2000 15:55:52 GMT GNOME_STOCK_BUTTON_OK + GTK_RELIEF_NORMAL @@ -458,6 +459,7 @@ Ronald Bultje <rbultje@ronald.bitfreak.net> Sun, 06 Aug 2000 15:53:48 GMT GNOME_STOCK_BUTTON_CANCEL + GTK_RELIEF_NORMAL