GNCFrequency -> GncFrequency

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15559 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-02-10 21:32:26 +00:00
parent bc701b433a
commit daba8251a4
6 changed files with 61 additions and 63 deletions

View File

@ -28,7 +28,6 @@
@NOTATION@ @NOTATION@
*/ */
#ifndef GNC_DATE_EDIT_H #ifndef GNC_DATE_EDIT_H
#define GNC_DATE_EDIT_H #define GNC_DATE_EDIT_H

View File

@ -54,7 +54,7 @@ static guint gnc_frequency_signals[LAST_SIGNAL] = { 0 };
/** Private Prototypes ********************/ /** Private Prototypes ********************/
static void gnc_frequency_class_init( GNCFrequencyClass *klass ); static void gnc_frequency_class_init( GncFrequencyClass *klass );
static void freq_combo_changed( GtkComboBox *b, gpointer d ); static void freq_combo_changed( GtkComboBox *b, gpointer d );
static void start_date_changed( GNCDateEdit *gde, gpointer d ); static void start_date_changed( GNCDateEdit *gde, gpointer d );
@ -69,7 +69,7 @@ static void quarterly_sel_changed( GtkButton *b, gpointer d );
static void triyearly_sel_changed( GtkButton *b, gpointer d ); static void triyearly_sel_changed( GtkButton *b, gpointer d );
static void semiyearly_sel_changed( GtkButton *b, gpointer d ); static void semiyearly_sel_changed( GtkButton *b, gpointer d );
static void year_range_sels_changed( GNCFrequency *gf, static void year_range_sels_changed( GncFrequency *gf,
int monthsInRange, int monthsInRange,
GtkWidget *occurW, GtkWidget *occurW,
GtkWidget *dayOfMonthW ); GtkWidget *dayOfMonthW );
@ -115,19 +115,19 @@ gnc_frequency_get_type()
static GType gncfreq_type = 0; static GType gncfreq_type = 0;
if (gncfreq_type == 0) { if (gncfreq_type == 0) {
static GTypeInfo gncfreq_info = { static GTypeInfo gncfreq_info = {
sizeof(GNCFrequencyClass), sizeof(GncFrequencyClass),
NULL, NULL,
NULL, NULL,
(GClassInitFunc)gnc_frequency_class_init, (GClassInitFunc)gnc_frequency_class_init,
NULL, NULL,
NULL, NULL,
sizeof(GNCFrequency), sizeof(GncFrequency),
0, 0,
(GInstanceInitFunc)gnc_frequency_init (GInstanceInitFunc)gnc_frequency_init
}; };
gncfreq_type = g_type_register_static (GTK_TYPE_VBOX, gncfreq_type = g_type_register_static (GTK_TYPE_VBOX,
"GNCFrequency", "GncFrequency",
&gncfreq_info, 0); &gncfreq_info, 0);
} }
@ -135,7 +135,7 @@ gnc_frequency_get_type()
} }
static void static void
gnc_frequency_class_init( GNCFrequencyClass *klass ) gnc_frequency_class_init( GncFrequencyClass *klass )
{ {
GObjectClass *object_class; GObjectClass *object_class;
@ -145,7 +145,7 @@ gnc_frequency_class_init( GNCFrequencyClass *klass )
g_signal_new ("changed", g_signal_new ("changed",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GNCFrequencyClass, changed), G_STRUCT_OFFSET (GncFrequencyClass, changed),
NULL, NULL,
NULL, NULL,
g_cclosure_marshal_VOID__VOID, g_cclosure_marshal_VOID__VOID,
@ -154,7 +154,7 @@ gnc_frequency_class_init( GNCFrequencyClass *klass )
} }
void void
gnc_frequency_init(GNCFrequency *gf) gnc_frequency_init(GncFrequency *gf)
{ {
int i; int i;
GtkVBox *vb; GtkVBox *vb;
@ -250,7 +250,7 @@ gnc_frequency_init(GNCFrequency *gf)
} }
static void static void
do_frequency_setup( GNCFrequency *gf, FreqSpec *fs, time_t *secs) do_frequency_setup( GncFrequency *gf, FreqSpec *fs, time_t *secs)
{ {
UIFreqType uift; UIFreqType uift;
int i, page; int i, page;
@ -546,7 +546,7 @@ do_frequency_setup( GNCFrequency *gf, FreqSpec *fs, time_t *secs)
} }
void void
gnc_frequency_setup_default( GNCFrequency *gf, FreqSpec *fs, GDate *date ) gnc_frequency_setup_default( GncFrequency *gf, FreqSpec *fs, GDate *date )
{ {
time_t secs; time_t secs;
@ -587,7 +587,7 @@ gnc_frequency_setup_default( GNCFrequency *gf, FreqSpec *fs, GDate *date )
} }
void void
gnc_frequency_setup( GNCFrequency *gf, FreqSpec *fs, GDate *date ) gnc_frequency_setup( GncFrequency *gf, FreqSpec *fs, GDate *date )
{ {
time_t secs; time_t secs;
@ -610,14 +610,14 @@ gnc_frequency_setup( GNCFrequency *gf, FreqSpec *fs, GDate *date )
GtkWidget * GtkWidget *
gnc_frequency_new( FreqSpec *fs, GDate *date ) gnc_frequency_new( FreqSpec *fs, GDate *date )
{ {
GNCFrequency *toRet; GncFrequency *toRet;
toRet = g_object_new( gnc_frequency_get_type(), NULL ); toRet = g_object_new( gnc_frequency_get_type(), NULL );
gnc_frequency_setup_default( toRet, fs, date ); gnc_frequency_setup_default( toRet, fs, date );
return GTK_WIDGET(toRet); return GTK_WIDGET(toRet);
} }
void void
gnc_frequency_save_state( GNCFrequency *gf, FreqSpec *fs, GDate *outDate ) gnc_frequency_save_state( GncFrequency *gf, FreqSpec *fs, GDate *outDate )
{ {
gint page; gint page;
gint day; gint day;
@ -830,7 +830,7 @@ spin_changed_helper( GtkAdjustment *adj, gpointer d )
static void static void
weekly_days_changed( GtkButton *b, gpointer d ) weekly_days_changed( GtkButton *b, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
gf = GNC_FREQUENCY(d); gf = GNC_FREQUENCY(d);
g_signal_emit_by_name( gf, "changed" ); g_signal_emit_by_name( gf, "changed" );
@ -839,15 +839,15 @@ weekly_days_changed( GtkButton *b, gpointer d )
static void static void
monthly_sel_changed( GtkButton *b, gpointer d ) monthly_sel_changed( GtkButton *b, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
GtkWidget *o; GtkWidget *o;
guint dayOfMonth; guint dayOfMonth;
struct tm *tmptm; struct tm *tmptm;
time_t tmptt; time_t tmptt;
gf = (GNCFrequency*)d; gf = (GncFrequency*)d;
o = glade_xml_get_widget( ((GNCFrequency*)d)->gxml, o = glade_xml_get_widget( ((GncFrequency*)d)->gxml,
"monthly_day" ); "monthly_day" );
dayOfMonth = gtk_combo_box_get_active( GTK_COMBO_BOX(o) ) + 1; dayOfMonth = gtk_combo_box_get_active( GTK_COMBO_BOX(o) ) + 1;
@ -868,13 +868,13 @@ monthly_sel_changed( GtkButton *b, gpointer d )
static void static void
semimonthly_sel_changed( GtkButton *b, gpointer d ) semimonthly_sel_changed( GtkButton *b, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
GtkWidget *o; GtkWidget *o;
gint tmpint; gint tmpint;
time_t tmptt; time_t tmptt;
struct tm *tmptm; struct tm *tmptm;
gf = (GNCFrequency*)d; gf = (GncFrequency*)d;
tmptt = gnc_date_edit_get_date( gf->startDate ); tmptt = gnc_date_edit_get_date( gf->startDate );
tmptm = localtime( &tmptt ); tmptm = localtime( &tmptt );
@ -901,8 +901,8 @@ semimonthly_sel_changed( GtkButton *b, gpointer d )
static void static void
quarterly_sel_changed( GtkButton *b, gpointer d ) quarterly_sel_changed( GtkButton *b, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
gf = (GNCFrequency*)d; gf = (GncFrequency*)d;
year_range_sels_changed( gf, 3, year_range_sels_changed( gf, 3,
glade_xml_get_widget( gf->gxml, "quarterly_occur" ), glade_xml_get_widget( gf->gxml, "quarterly_occur" ),
glade_xml_get_widget( gf->gxml, "quarterly_day" ) ); glade_xml_get_widget( gf->gxml, "quarterly_day" ) );
@ -911,8 +911,8 @@ quarterly_sel_changed( GtkButton *b, gpointer d )
static void static void
triyearly_sel_changed( GtkButton *b, gpointer d ) triyearly_sel_changed( GtkButton *b, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
gf = (GNCFrequency*)d; gf = (GncFrequency*)d;
year_range_sels_changed( gf, 4, year_range_sels_changed( gf, 4,
glade_xml_get_widget( gf->gxml, "triyearly_occur" ), glade_xml_get_widget( gf->gxml, "triyearly_occur" ),
glade_xml_get_widget( gf->gxml, "triyearly_day" ) ); glade_xml_get_widget( gf->gxml, "triyearly_day" ) );
@ -921,15 +921,15 @@ triyearly_sel_changed( GtkButton *b, gpointer d )
static void static void
semiyearly_sel_changed( GtkButton *b, gpointer d ) semiyearly_sel_changed( GtkButton *b, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
gf = (GNCFrequency*)d; gf = (GncFrequency*)d;
year_range_sels_changed( gf, 6, year_range_sels_changed( gf, 6,
glade_xml_get_widget( gf->gxml, "semiyearly_occur" ), glade_xml_get_widget( gf->gxml, "semiyearly_occur" ),
glade_xml_get_widget( gf->gxml, "semiyearly_day" ) ); glade_xml_get_widget( gf->gxml, "semiyearly_day" ) );
} }
static void static void
year_range_sels_changed( GNCFrequency *gf, year_range_sels_changed( GncFrequency *gf,
int monthsInRange, int monthsInRange,
GtkWidget *occurW, GtkWidget *occurW,
GtkWidget *dayOfMonthW ) GtkWidget *dayOfMonthW )
@ -956,12 +956,12 @@ year_range_sels_changed( GNCFrequency *gf,
static void static void
yearly_sel_changed( GtkButton *b, gpointer d ) yearly_sel_changed( GtkButton *b, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
GtkWidget *o; GtkWidget *o;
time_t tmptt; time_t tmptt;
struct tm *tmptm; struct tm *tmptm;
gf = (GNCFrequency*)d; gf = (GncFrequency*)d;
tmptt = gnc_date_edit_get_date( gf->startDate ); tmptt = gnc_date_edit_get_date( gf->startDate );
tmptm = localtime( &tmptt ); tmptm = localtime( &tmptt );
@ -999,7 +999,7 @@ static inline guint32 maxn( guint32 a, guint32 b )
static void static void
freq_combo_changed( GtkComboBox *b, gpointer d ) freq_combo_changed( GtkComboBox *b, gpointer d )
{ {
GNCFrequency *gf = (GNCFrequency*)d; GncFrequency *gf = (GncFrequency*)d;
int optIdx; int optIdx;
UIFreqType uift; UIFreqType uift;
time_t startDate, tmpDate; time_t startDate, tmpDate;
@ -1007,8 +1007,8 @@ freq_combo_changed( GtkComboBox *b, gpointer d )
GtkWidget *o; GtkWidget *o;
/* Set the new page. */ /* Set the new page. */
optIdx = gtk_combo_box_get_active( GTK_COMBO_BOX(((GNCFrequency*)d)->freqComboBox) ); optIdx = gtk_combo_box_get_active( GTK_COMBO_BOX(((GncFrequency*)d)->freqComboBox) );
gtk_notebook_set_current_page( ((GNCFrequency*)d)->nb, optIdx ); gtk_notebook_set_current_page( ((GncFrequency*)d)->nb, optIdx );
/* setup initial values for new page, as possible. */ /* setup initial values for new page, as possible. */
uift = PAGES[optIdx].uiFTVal; uift = PAGES[optIdx].uiFTVal;
@ -1089,14 +1089,14 @@ year_range_menu_helper( GtkWidget *dayOptMenu,
static void static void
start_date_changed( GNCDateEdit *gde, gpointer d ) start_date_changed( GNCDateEdit *gde, gpointer d )
{ {
GNCFrequency *gf; GncFrequency *gf;
GtkWidget *o; GtkWidget *o;
struct tm *tmpTm; struct tm *tmpTm;
time_t dateFromGDE; time_t dateFromGDE;
gint page; gint page;
UIFreqType uift; UIFreqType uift;
gf = (GNCFrequency*)d; gf = (GncFrequency*)d;
dateFromGDE = gnc_date_edit_get_date( gde ); dateFromGDE = gnc_date_edit_get_date( gde );
@ -1177,7 +1177,7 @@ start_date_changed( GNCDateEdit *gde, gpointer d )
/* Relabel some of the labels */ /* Relabel some of the labels */
void void
gnc_frequency_set_frequency_label_text (GNCFrequency *gf, const gchar *txt) gnc_frequency_set_frequency_label_text (GncFrequency *gf, const gchar *txt)
{ {
GtkLabel *lbl; GtkLabel *lbl;
if (!gf || !txt) return; if (!gf || !txt) return;
@ -1186,7 +1186,7 @@ gnc_frequency_set_frequency_label_text (GNCFrequency *gf, const gchar *txt)
} }
void void
gnc_frequency_set_date_label_text (GNCFrequency *gf, const gchar *txt) gnc_frequency_set_date_label_text (GncFrequency *gf, const gchar *txt)
{ {
GtkLabel *lbl; GtkLabel *lbl;
if (!gf || !txt) return; if (!gf || !txt) return;

View File

@ -29,17 +29,17 @@
#include "FreqSpec.h" #include "FreqSpec.h"
#define GNC_TYPE_FREQUENCY (gnc_frequency_get_type()) #define GNC_TYPE_FREQUENCY (gnc_frequency_get_type())
#define GNC_FREQUENCY(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GNC_TYPE_FREQUENCY, GNCFrequency) #define GNC_FREQUENCY(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GNC_TYPE_FREQUENCY, GncFrequency)
#define GNC_FREQENCY_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, GNC_TYPE_FREQUENCY, GNCFrequency) #define GNC_FREQENCY_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, GNC_TYPE_FREQUENCY, GncFrequency)
#define GNC_IS_FREQUENCY(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GNC_TYPE_FREQUENCY) #define GNC_IS_FREQUENCY(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GNC_TYPE_FREQUENCY)
/** /**
* A GNCFrequency is a VBox containing a scrollable GtkNotebook [and other * A GncFrequency is a VBox containing a scrollable GtkNotebook [and other
* widgets] which allows the user to specify the frequency [of a scheduled * widgets] which allows the user to specify the frequency [of a scheduled
* transaction or budgeting category, for instance], manipulating a FreqSpec * transaction or budgeting category, for instance], manipulating a FreqSpec
* object in the process. * object in the process.
**/ **/
typedef struct _GNCFrequency typedef struct _GncFrequency
{ {
GtkVBox widget; GtkVBox widget;
@ -48,14 +48,14 @@ typedef struct _GNCFrequency
GtkComboBox *freqComboBox; GtkComboBox *freqComboBox;
GNCDateEdit *startDate; GNCDateEdit *startDate;
GladeXML *gxml; GladeXML *gxml;
} GNCFrequency; } GncFrequency;
typedef struct _GNCFrequencyClass typedef struct _GncFrequencyClass
{ {
GtkVBoxClass parent_class; GtkVBoxClass parent_class;
void (*changed) (GNCFrequency *gf); void (*changed) (GncFrequency *gf);
} GNCFrequencyClass; } GncFrequencyClass;
struct pageDataTuple struct pageDataTuple
{ {
@ -67,42 +67,41 @@ struct pageDataTuple
GType gnc_frequency_get_type( void ); GType gnc_frequency_get_type( void );
/** /**
* Create a new freq spec widget. * Create a new GncFrequencey widget.
* The menus and panels will be initialized to correspond to the * The menus and panels will be initialized to correspond to the
* settings in the FreqSpec, and the date window will show the * settings in the FreqSpec, and the date window will show the
* indicated date. Either or both may be NULL. * indicated date. Either or both may be NULL.
* For the default freq spec widget, use 'NULL'. * For the default freq spec widget, use 'NULL'.
**/ **/
GtkWidget * gnc_frequency_new( FreqSpec *fs, GDate *date ); GtkWidget* gnc_frequency_new(FreqSpec *fs, GDate *start_date);
void gnc_frequency_init( GNCFrequency *gf ); void gnc_frequency_init( GncFrequency *gf );
/** /**
* Change the given GNCFrequency with the given FreqSpec and GDate. * Change the given GncFrequency with the given FreqSpec and GDate.
* If the FreqSpec is NULL, then no change is made to the widget menus. * If the FreqSpec is NULL, then no change is made to the widget menus.
* If the date is NULL, then no change is made to the widget date field. * If the date is NULL, then no change is made to the widget date field.
**/ **/
void gnc_frequency_setup( GNCFrequency *gf, FreqSpec *fs, GDate *date ); void gnc_frequency_setup( GncFrequency *gf, FreqSpec *fs, GDate *date );
/** /**
* Saves the state of the GNCFrequenecy widget. * Saves the state of the GNCFrequenecy widget.
* Updates the given FreqSpec if it's not NULL. * Updates the given FreqSpec if it's not NULL.
* Places the date in outDate, if it's not NULL. * Places the date in outDate, if it's not NULL.
**/ **/
void gnc_frequency_save_state( GNCFrequency *gf, FreqSpec *fs, GDate *outDate); void gnc_frequency_save_state( GncFrequency *gf, FreqSpec *fs, GDate *outDate);
/** /**
* Set the label text for the frequency option menu. In the current * Set the label text for the frequency option menu. In the current
* implementation, the default label text is "Frequency:" * implementation, the default label text is "Frequency:"
*/ */
void gnc_frequency_set_frequency_label_text (GNCFrequency *gf, const gchar *txt); void gnc_frequency_set_frequency_label_text (GncFrequency *gf, const gchar *txt);
/** /**
* Set the label text for the date entry widget. In the current * Set the label text for the date entry widget. In the current
* impelmentation, the default label text is "Start Date:" * impelmentation, the default label text is "Start Date:"
*/ */
void gnc_frequency_set_date_label_text (GNCFrequency *gf, const gchar *txt); void gnc_frequency_set_date_label_text (GncFrequency *gf, const gchar *txt);
void void gnc_frequency_setup_default( GncFrequency *gf, FreqSpec *fs, GDate *date );
gnc_frequency_setup_default( GNCFrequency *gf, FreqSpec *fs, GDate *date );
#endif /* !defined( GNC_FREQUENCY_H ) */ #endif /* !defined( GNC_FREQUENCY_H ) */

View File

@ -120,7 +120,7 @@ struct _GncSxEditorDialog
/* The various widgets in the dialog */ /* The various widgets in the dialog */
GNCLedgerDisplay *ledger; GNCLedgerDisplay *ledger;
GNCFrequency *gncfreq; GncFrequency *gncfreq;
GncDenseCalStore *dense_cal_model; GncDenseCalStore *dense_cal_model;
GncDenseCal *example_cal; GncDenseCal *example_cal;
@ -163,7 +163,7 @@ static void advance_toggle( GtkButton *b, GncSxEditorDialog *sxed );
static gboolean gnc_sxed_check_consistent( GncSxEditorDialog *sxed ); static gboolean gnc_sxed_check_consistent( GncSxEditorDialog *sxed );
static gboolean gnc_sxed_check_changed( GncSxEditorDialog *sxed ); static gboolean gnc_sxed_check_changed( GncSxEditorDialog *sxed );
static void gnc_sxed_save_sx( GncSxEditorDialog *sxed ); static void gnc_sxed_save_sx( GncSxEditorDialog *sxed );
static void gnc_sxed_freq_changed( GNCFrequency *gf, gpointer ud ); static void gnc_sxed_freq_changed( GncFrequency *gf, gpointer ud );
static void sxed_excal_update_adapt( GtkObject *o, gpointer ud ); static void sxed_excal_update_adapt( GtkObject *o, gpointer ud );
static void gnc_sxed_update_cal( GncSxEditorDialog *sxed ); static void gnc_sxed_update_cal( GncSxEditorDialog *sxed );
@ -1595,7 +1595,7 @@ gnc_sxed_update_cal( GncSxEditorDialog *sxed )
static static
void void
gnc_sxed_freq_changed( GNCFrequency *gf, gpointer ud ) gnc_sxed_freq_changed( GncFrequency *gf, gpointer ud )
{ {
gnc_sxed_update_cal( (GncSxEditorDialog*)ud ); gnc_sxed_update_cal( (GncSxEditorDialog*)ud );
} }

View File

@ -61,7 +61,7 @@ typedef struct
GnomeDruidPage *menu_page; GnomeDruidPage *menu_page;
GnomeDruidPage *book_page; GnomeDruidPage *book_page;
GnomeDruidPage *finish_page; GnomeDruidPage *finish_page;
GNCFrequency *period_menu; GncFrequency *period_menu;
GtkLabel * period_remarks; GtkLabel * period_remarks;
GtkLabel * close_results; GtkLabel * close_results;
GtkLabel * book_details; GtkLabel * book_details;
@ -541,8 +541,8 @@ ap_druid_create (AcctPeriodInfo *info)
xaccFreqSpecSetMonthly (info->period, &info->closing_date, 12); xaccFreqSpecSetMonthly (info->period, &info->closing_date, 12);
xaccFreqSpecSetUIType (info->period, UIFREQ_YEARLY); xaccFreqSpecSetUIType (info->period, UIFREQ_YEARLY);
info->period_menu = GNC_FREQUENCY ( info->period_menu = GNC_FREQUENCY(
gnc_frequency_new (info->period, &info->closing_date)); gnc_frequency_new(info->period, &info->closing_date));
/* Change the text so that its more mainingful for this druid */ /* Change the text so that its more mainingful for this druid */
gnc_frequency_set_frequency_label_text(info->period_menu, _("Period:")); gnc_frequency_set_frequency_label_text(info->period_menu, _("Period:"));

View File

@ -263,7 +263,7 @@ typedef struct LoanDruidData_ {
GtkSpinButton *prmIrateSpin; GtkSpinButton *prmIrateSpin;
GtkComboBox *prmType; GtkComboBox *prmType;
GtkFrame *prmVarFrame; GtkFrame *prmVarFrame;
GNCFrequency *prmVarGncFreq; GncFrequency *prmVarGncFreq;
GNCDateEdit *prmStartDateGDE; GNCDateEdit *prmStartDateGDE;
GtkSpinButton *prmLengthSpin; GtkSpinButton *prmLengthSpin;
GtkComboBox *prmLengthType; GtkComboBox *prmLengthType;
@ -283,7 +283,7 @@ typedef struct LoanDruidData_ {
GNCAccountSel *repPrincToGAS; GNCAccountSel *repPrincToGAS;
GNCAccountSel *repIntToGAS; GNCAccountSel *repIntToGAS;
GtkFrame *repFreqFrame; GtkFrame *repFreqFrame;
GNCFrequency *repGncFreq; GncFrequency *repGncFreq;
/* pay = payment[s] */ /* pay = payment[s] */
GtkEntry *payTxnName; GtkEntry *payTxnName;
@ -301,7 +301,7 @@ typedef struct LoanDruidData_ {
GtkRadioButton *payTxnFreqPartRb; GtkRadioButton *payTxnFreqPartRb;
GtkRadioButton *payTxnFreqUniqRb; GtkRadioButton *payTxnFreqUniqRb;
GtkAlignment *payFreqAlign; GtkAlignment *payFreqAlign;
GNCFrequency *payGncFreq; GncFrequency *payGncFreq;
/* rev = review */ /* rev = review */
GtkComboBox *revRangeOpt; GtkComboBox *revRangeOpt;