Convert Frequencies dialog to GtkBuilder
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 4 Jan 2009 04:59:50 +0000 (13:59 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 4 Jan 2009 04:59:50 +0000 (13:59 +0900)
src/ui/gui/automake.mk
src/ui/gui/frequencies-dialog.c

index 15624497acf463cefed9b6db0917d1e0a8f845db..e504a73082bf34b7c6aaabafa96f07698490b65a 100644 (file)
@@ -65,11 +65,13 @@ src_ui_gui_psppire_LDADD = \
 src_ui_gui_psppiredir = $(pkgdatadir)
 
 nodist_src_ui_gui_psppire_DATA = \
+       $(top_srcdir)/src/ui/gui/frequencies.ui \
        $(top_srcdir)/src/ui/gui/oneway.ui \
        $(top_srcdir)/src/ui/gui/rank.ui \
        $(top_srcdir)/src/ui/gui/recode.ui
 
 EXTRA_DIST += \
+       $(top_srcdir)/src/ui/gui/frequencies.glade \
        $(top_srcdir)/src/ui/gui/oneway.glade \
        $(top_srcdir)/src/ui/gui/rank.glade \
        $(top_srcdir)/src/ui/gui/recode.glade
@@ -79,7 +81,6 @@ dist_src_ui_gui_psppire_DATA = \
        $(top_srcdir)/src/ui/gui/descriptives-dialog.glade \
        $(top_srcdir)/src/ui/gui/examine.glade \
        $(top_srcdir)/src/ui/gui/crosstabs.glade \
-       $(top_srcdir)/src/ui/gui/frequencies.glade \
        $(top_srcdir)/src/ui/gui/message-dialog.glade \
        $(top_srcdir)/src/ui/gui/output-viewer.glade \
        $(top_srcdir)/src/ui/gui/psppire.glade \
index 802a4664e710b8a2352d9938af4dba1930e2c6d6..89cf7683e890cfad1ca97697047ae29fe77be832 100644 (file)
@@ -311,7 +311,7 @@ frequencies_dialog (GObject *o, gpointer data)
 
   struct frequencies_dialog fd;
 
-  GladeXML *xml = XML_NEW ("frequencies.glade");
+  GtkBuilder *xml = builder_new ("frequencies.ui");
 
   GtkWidget *dialog = get_widget_assert   (xml, "frequencies-dialog");
   GtkWidget *source = get_widget_assert   (xml, "dict-treeview");