r21243 - gnucash/trunk - Bug #657596 - Migrate Scheduled Transactions from GladeXML to Builder
Geert Janssens
gjanssens at code.gnucash.org
Sun Sep 11 06:58:02 EDT 2011
Author: gjanssens
Date: 2011-09-11 06:58:01 -0400 (Sun, 11 Sep 2011)
New Revision: 21243
Trac: http://svn.gnucash.org/trac/changeset/21243
Added:
gnucash/trunk/src/gnome-utils/gtkbuilder/gnc-frequency.glade
gnucash/trunk/src/gnome/gtkbuilder/dialog-sx.glade
Modified:
gnucash/trunk/po/POTFILES.in
gnucash/trunk/src/gnome-utils/gnc-frequency.c
gnucash/trunk/src/gnome-utils/gnc-frequency.h
gnucash/trunk/src/gnome-utils/gtkbuilder/Makefile.am
gnucash/trunk/src/gnome/dialog-sx-editor.c
gnucash/trunk/src/gnome/dialog-sx-editor.h
gnucash/trunk/src/gnome/dialog-sx-from-trans.c
gnucash/trunk/src/gnome/dialog-sx-from-trans.h
gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
gnucash/trunk/src/gnome/dialog-sx-since-last-run.h
gnucash/trunk/src/gnome/glade/sched-xact.glade
gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.h
gnucash/trunk/src/gnome/gtkbuilder/Makefile.am
gnucash/trunk/src/gnome/gtkbuilder/sched-xact.glade
Log:
Bug #657596 - Migrate Scheduled Transactions from GladeXML to Builder
Patch by Robert Fewell
Modified: gnucash/trunk/po/POTFILES.in
===================================================================
--- gnucash/trunk/po/POTFILES.in 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/po/POTFILES.in 2011-09-11 10:58:01 UTC (rev 21243)
@@ -234,13 +234,13 @@
src/gnome/gtkbuilder/dialog-lot-viewer.glade
src/gnome/gtkbuilder/dialog-price.glade
src/gnome/gtkbuilder/dialog-print-check.glade
+src/gnome/gtkbuilder/dialog-sx.glade
src/gnome/gtkbuilder/gnc-plugin-page-budget.glade
src/gnome/gtkbuilder/newuser.glade
src/gnome/gtkbuilder/owner.glade
src/gnome/gtkbuilder/progress.glade
src/gnome/gtkbuilder/reconcile.glade
src/gnome/gtkbuilder/register.glade
-src/gnome/gtkbuilder/sched-xact.glade
src/gnome/gtkbuilder/tax.glade
src/gnome/gtkbuilder/userpass.glade
src/gnome/gtkbuilder/window-autoclear.glade
@@ -359,6 +359,7 @@
src/gnome-utils/gtkbuilder/dialog-commodity.glade
src/gnome-utils/gtkbuilder/dialog-transfer.glade
src/gnome-utils/gtkbuilder/gnc-date-format.glade
+src/gnome-utils/gtkbuilder/gnc-frequency.glade
src/gnome-utils/gtkbuilder/gnc-recurrence.glade
src/gnome-utils/misc-gnome-utils.c
src/gnome-utils/print-session.c
Modified: gnucash/trunk/src/gnome/dialog-sx-editor.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-editor.c 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/dialog-sx-editor.c 2011-09-11 10:58:01 UTC (rev 21243)
@@ -1,22 +1,24 @@
/********************************************************************\
* dialog-sx-editor.c : dialog for scheduled transaction editing *
* Copyright (C) 2001,2002,2006 Joshua Sled <jsled at asynchronous.org>*
+ * Copyright (C) 2011 Robert Fewell *
* *
* This program is free software; you can redistribute it and/or *
- * modify it under the terms of version 2 and/or version 3 of the GNU General Public *
- * License as published by the Free Software Foundation. *
- *
- * As a special exception, permission is granted to link the binary
- * module resultant from this code with the OpenSSL project's
- * "OpenSSL" library (or modified versions of it that use the same
- * license as the "OpenSSL" library), and distribute the linked
- * executable. You must obey the GNU General Public License in all
- * respects for all of the code used other than "OpenSSL". If you
- * modify this file, you may extend this exception to your version
- * of the file, but you are not obligated to do so. If you do not
- * wish to do so, delete this exception statement from your version
- * of this file.
+ * modify it under the terms of version 2 and/or version 3 of the *
+ * GNU General Public License as published by the Free Software *
+ * Foundation. *
* *
+ * As a special exception, permission is granted to link the binary *
+ * module resultant from this code with the OpenSSL project's *
+ * "OpenSSL" library (or modified versions of it that use the same *
+ * license as the "OpenSSL" library), and distribute the linked *
+ * executable. You must obey the GNU General Public License in all *
+ * respects for all of the code used other than "OpenSSL". If you *
+ * modify this file, you may extend this exception to your version *
+ * of the file, but you are not obligated to do so. If you do not *
+ * wish to do so, delete this exception statement from your version *
+ * of this file. *
+ * *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
@@ -70,26 +72,10 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "gnc.gui.sx.editor"
+static QofLogModule log_module = GNC_MOD_GUI_SX;
+
static gint _sx_engine_event_handler_id = -1;
-#define SX_EDITOR_GLADE_NAME "Scheduled Transaction Editor"
-
-#define SXED_WIN_PREFIX "sx_editor_win"
-#define SXED_NAME_ENTRY "sxe_name"
-#define SXED_LAST_OCCUR_LABEL "last_occur_label"
-#define ENABLED_OPT "enabled_opt"
-#define AUTOCREATE_OPT "autocreate_opt"
-#define NOTIFY_OPT "notify_opt"
-#define ADVANCE_OPT "advance_opt"
-#define ADVANCE_DAYS_SPIN "advance_days"
-#define REMIND_OPT "remind_opt"
-#define REMIND_DAYS_SPIN "remind_days"
-#define END_DATE_BOX "end_date_hbox"
-#define END_SPIN "end_spin"
-#define REMAIN_SPIN "remain_spin"
-
-#define SX_GLADE_FILE "sched-xact.glade"
-
#define END_NEVER_OPTION 0
#define END_DATE_OPTION 1
#define NUM_OCCUR_OPTION 2
@@ -111,10 +97,13 @@
END_OCCUR,
} EndType;
+typedef enum { NO_END, DATE_END, COUNT_END } END_TYPE;
+
struct _GncSxEditorDialog
{
- GladeXML *gxml;
GtkWidget *dialog;
+ GtkBuilder *builder;
+ GtkNotebook *notebook;
SchedXaction *sx;
/* If this is a new scheduled transaction or not. */
int newsxP;
@@ -156,25 +145,21 @@
static void schedXact_editor_create_freq_sel( GncSxEditorDialog *sxed );
static void schedXact_editor_create_ledger( GncSxEditorDialog *sxed );
static void schedXact_editor_populate( GncSxEditorDialog * );
-
static void gnc_sxed_record_size( GncSxEditorDialog *sxed );
-static void gnc_sxed_get_widgets( GncSxEditorDialog *sxed );
-static void endgroup_rb_toggled( GtkButton *b, gpointer d );
+static void endgroup_rb_toggled_cb( GtkButton *b, gpointer d );
static void set_endgroup_toggle_states( GncSxEditorDialog *sxed, EndType t );
-static void advance_toggle( GtkButton *b, GncSxEditorDialog *sxed );
+static void advance_toggled_cb( GtkButton *b, GncSxEditorDialog *sxed );
+static void remind_toggled_cb( GtkButton *b, GncSxEditorDialog *sxed );
static gboolean gnc_sxed_check_consistent( GncSxEditorDialog *sxed );
static gboolean gnc_sxed_check_changed( GncSxEditorDialog *sxed );
static void gnc_sxed_save_sx( GncSxEditorDialog *sxed );
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_cb( GtkObject *o, gpointer ud );
static void gnc_sxed_update_cal(GncSxEditorDialog *sxed);
-
+static void on_sx_check_toggled (GtkWidget *togglebutton, gpointer user_data);
static void gnc_sxed_reg_check_close(GncSxEditorDialog *sxed);
-
static gboolean sxed_delete_event( GtkWidget *widget, GdkEvent *event, gpointer ud );
-
static gboolean sxed_confirmed_cancel( GncSxEditorDialog *sxed );
-
static gboolean editor_component_sx_equality( gpointer find_data,
gpointer user_data );
@@ -200,6 +185,7 @@
/* The data will be cleaned up in the destroy handler. */
}
+
/**
* @return TRUE if the user does want to cancel, FALSE if not. If TRUE is
* returned, the register's changes have been cancelled.
@@ -226,8 +212,12 @@
return TRUE;
}
+
+/**********************************
+ * Dialog Action Button functions *
+ *********************************/
static void
-editor_cancel_button_clicked( GtkButton *b, GncSxEditorDialog *sxed )
+editor_cancel_button_clicked_cb( GtkButton *b, GncSxEditorDialog *sxed )
{
/* close */
if (!sxed_confirmed_cancel(sxed))
@@ -237,14 +227,16 @@
sxed );
}
+
static void
-editor_help_button_clicked(GtkButton *b, GncSxEditorDialog *sxed)
+editor_help_button_clicked_cb(GtkButton *b, GncSxEditorDialog *sxed)
{
gnc_gnome_help(HF_HELP, HL_SXEDITOR);
}
+
static void
-editor_ok_button_clicked( GtkButton *b, GncSxEditorDialog *sxed )
+editor_ok_button_clicked_cb( GtkButton *b, GncSxEditorDialog *sxed )
{
QofBook *book;
SchedXactions *sxes;
@@ -269,12 +261,13 @@
sxed );
}
-/**
+
+/*************************************************************************
* Checks to see if the SX has been modified from it's previously-saved
* state.
* @return TRUE if this is a 'new' SX, or if the SX has changed from it's
* previous configuration.
- **/
+ ************************************************************************/
static gboolean
gnc_sxed_check_changed( GncSxEditorDialog *sxed )
{
@@ -459,16 +452,17 @@
}
-/**
+/*****************************************************************************
* Holds the credit- and debit-sum for a given Transaction, as used in
* gnc_sxed_check_consistent.
- **/
+ ****************************************************************************/
typedef struct _txnCreditDebitSums
{
gnc_numeric creditSum;
gnc_numeric debitSum;
} txnCreditDebitSums;
+
static
void
set_sums_to_zero( gpointer key,
@@ -480,6 +474,7 @@
tcds->debitSum = gnc_numeric_zero();
}
+
static void
check_credit_debit_balance( gpointer key,
gpointer val,
@@ -515,10 +510,11 @@
}
}
-/**
+
+/*******************************************************************************
* Checks to make sure that the SX is in a reasonable state to save.
* @return true if checks out okay, false otherwise.
- **/
+ ******************************************************************************/
static gboolean
gnc_sxed_check_consistent( GncSxEditorDialog *sxed )
{
@@ -786,7 +782,7 @@
g_free( name );
}
- // @@fixme: similar to below, check the commodities involved, and disallow autocreation
+ // @@FIXME: similar to below, check the commodities involved, and disallow autocreation
{
gboolean autocreateState, notifyState;
@@ -895,10 +891,11 @@
return TRUE;
}
-/**
+
+/******************************************************************************
* Saves the contents of the SX. This assumes that gnc_sxed_check_consistent
* has returned true.
- **/
+ *****************************************************************************/
static void
gnc_sxed_save_sx( GncSxEditorDialog *sxed )
{
@@ -1018,14 +1015,16 @@
gnc_sx_commit_edit( sxed->sx );
}
+
static void
-enabled_toggled( GtkObject *o, GncSxEditorDialog *sxed )
+enabled_toggled_cb( GtkObject *o, GncSxEditorDialog *sxed )
{
return;
}
+
static void
-autocreate_toggled( GtkObject *o, GncSxEditorDialog *sxed )
+autocreate_toggled_cb( GtkObject *o, GncSxEditorDialog *sxed )
{
if ( !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(o)) )
{
@@ -1035,25 +1034,27 @@
gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(o) ) );
}
+
static void
-advance_toggle( GtkButton *o, GncSxEditorDialog *sxed )
+advance_toggled_cb( GtkButton *o, GncSxEditorDialog *sxed )
{
- gchar *spinName;
- GtkWidget *spin;
- spinName = (gchar*)g_object_get_data( G_OBJECT(o), "whichOneAmI" );
- spin = glade_xml_get_widget( sxed->gxml, spinName );
- if ( !spin )
- {
- g_critical("Error getting widget with name \"%s\"", spinName);
- return;
- }
- gtk_widget_set_sensitive( spin,
- gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(o) ) );
- /* FIXME: this doesn't do what we want... :( */
- gtk_editable_set_editable( GTK_EDITABLE(spin), TRUE );
+ gtk_widget_set_sensitive( GTK_WIDGET(sxed->advanceSpin),
+ gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(sxed->advanceOpt) ) );
+ gtk_editable_set_editable( GTK_EDITABLE(sxed->advanceSpin), TRUE );
}
+
+static void
+remind_toggled_cb( GtkButton *o, GncSxEditorDialog *sxed )
+{
+
+ gtk_widget_set_sensitive( GTK_WIDGET(sxed->remindSpin),
+ gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(sxed->remindOpt) ) );
+ gtk_editable_set_editable( GTK_EDITABLE(sxed->remindSpin), TRUE );
+}
+
+
/* Local destruction of dialog */
static void
scheduledxaction_editor_dialog_destroy(GtkObject *object, gpointer data)
@@ -1093,6 +1094,7 @@
g_free (sxed);
}
+
static
gboolean
sxed_delete_event( GtkWidget *widget, GdkEvent *event, gpointer ud )
@@ -1113,53 +1115,16 @@
return FALSE;
}
-static
-void
-gnc_sxed_get_widgets( GncSxEditorDialog *sxed )
-{
- GtkWidget *w;
- w = glade_xml_get_widget( sxed->gxml, SXED_NAME_ENTRY );
- sxed->nameEntry = GTK_EDITABLE(w);
- w = glade_xml_get_widget( sxed->gxml, SXED_LAST_OCCUR_LABEL );
- sxed->lastOccurLabel = GTK_LABEL(w);
- w = glade_xml_get_widget( sxed->gxml, ENABLED_OPT );
- sxed->enabledOpt = GTK_TOGGLE_BUTTON(w);
- w = glade_xml_get_widget( sxed->gxml, AUTOCREATE_OPT );
- sxed->autocreateOpt = GTK_TOGGLE_BUTTON(w);
- w = glade_xml_get_widget( sxed->gxml, NOTIFY_OPT );
- sxed->notifyOpt = GTK_TOGGLE_BUTTON(w);
- w = glade_xml_get_widget( sxed->gxml, ADVANCE_OPT );
- sxed->advanceOpt = GTK_TOGGLE_BUTTON(w);
- w = glade_xml_get_widget( sxed->gxml, ADVANCE_DAYS_SPIN );
- sxed->advanceSpin = GTK_SPIN_BUTTON(w);
- w = glade_xml_get_widget( sxed->gxml, REMIND_OPT );
- sxed->remindOpt = GTK_TOGGLE_BUTTON(w);
- w = glade_xml_get_widget( sxed->gxml, REMIND_DAYS_SPIN );
- sxed->remindSpin = GTK_SPIN_BUTTON(w);
-
- w = glade_xml_get_widget( sxed->gxml, "rb_enddate" );
- sxed->optEndDate = GTK_TOGGLE_BUTTON(w);
-
- w = glade_xml_get_widget( sxed->gxml, "rb_noend" );
- sxed->optEndNone = GTK_TOGGLE_BUTTON(w);
-
- w = glade_xml_get_widget( sxed->gxml, "rb_num_occur" );
- sxed->optEndCount = GTK_TOGGLE_BUTTON(w);
-
- w = glade_xml_get_widget( sxed->gxml, END_SPIN );
- sxed->endCountSpin = GTK_ENTRY(w);
-
- w = glade_xml_get_widget( sxed->gxml, REMAIN_SPIN );
- sxed->endRemainSpin = GTK_ENTRY(w);
-
-}
-
+/*************************************
+ * Create the Schedule Editor Dialog *
+ ************************************/
GncSxEditorDialog *
gnc_ui_scheduled_xaction_editor_dialog_create(SchedXaction *sx,
gboolean newSX)
{
GncSxEditorDialog *sxed;
+ GtkBuilder *builder;
GtkWidget *button;
int i;
GList *dlgExists = NULL;
@@ -1172,22 +1137,18 @@
gpointer objectData;
} widgets[] =
{
- { "ok_button", "clicked", editor_ok_button_clicked, NULL },
- { "cancel_button", "clicked", editor_cancel_button_clicked, NULL },
- { "help_button", "clicked", editor_help_button_clicked, NULL },
-
- { "rb_noend", "toggled", endgroup_rb_toggled, GINT_TO_POINTER(END_NEVER_OPTION) },
- { "rb_enddate", "toggled", endgroup_rb_toggled, GINT_TO_POINTER(END_DATE_OPTION) },
- { "rb_num_occur", "toggled", endgroup_rb_toggled, GINT_TO_POINTER(NUM_OCCUR_OPTION) },
-
- { REMAIN_SPIN , "value-changed", sxed_excal_update_adapt, NULL },
-
- { ENABLED_OPT, "toggled", enabled_toggled, NULL },
- { AUTOCREATE_OPT, "toggled", autocreate_toggled, NULL },
- { ADVANCE_OPT, "toggled", advance_toggle, (gpointer)ADVANCE_DAYS_SPIN },
- { REMIND_OPT, "toggled", advance_toggle, (gpointer)REMIND_DAYS_SPIN },
-
- { NULL, NULL, NULL, NULL }
+ { "ok_button", "clicked", editor_ok_button_clicked_cb, NULL },
+ { "cancel_button", "clicked", editor_cancel_button_clicked_cb, NULL },
+ { "help_button", "clicked", editor_help_button_clicked_cb, NULL },
+ { "rb_noend", "toggled", endgroup_rb_toggled_cb, GINT_TO_POINTER(END_NEVER_OPTION) },
+ { "rb_enddate", "toggled", endgroup_rb_toggled_cb, GINT_TO_POINTER(END_DATE_OPTION) },
+ { "rb_num_occur", "toggled", endgroup_rb_toggled_cb, GINT_TO_POINTER(NUM_OCCUR_OPTION) },
+ { "remain_spin" , "value-changed", sxed_excal_update_adapt_cb, NULL },
+ { "enabled_opt", "toggled", enabled_toggled_cb, NULL },
+ { "autocreate_opt", "toggled", autocreate_toggled_cb, NULL },
+ { "advance_opt", "toggled", advance_toggled_cb, NULL },
+ { "remind_opt", "toggled", remind_toggled_cb, NULL },
+ { NULL, NULL, NULL, NULL }
};
dlgExists = gnc_find_gui_components( DIALOG_SCHEDXACTION_EDITOR_CM_CLASS,
@@ -1202,35 +1163,50 @@
return sxed;
}
- sxed = g_new0( GncSxEditorDialog, 1 );
- sxed->gxml = gnc_glade_xml_new( SX_GLADE_FILE,
- SX_EDITOR_GLADE_NAME );
- sxed->dialog = glade_xml_get_widget( sxed->gxml, SX_EDITOR_GLADE_NAME );
+ sxed = g_new0( GncSxEditorDialog, 1 );
sxed->sx = sx;
sxed->newsxP = newSX;
+
+ /* Load up Glade file */
+ builder = gtk_builder_new();
+ gnc_builder_add_from_file (builder, "dialog-sx.glade", "advance_days_adj");
+ gnc_builder_add_from_file (builder, "dialog-sx.glade", "remind_days_adj");
+ gnc_builder_add_from_file (builder, "dialog-sx.glade", "end_spin_adj");
+ gnc_builder_add_from_file (builder, "dialog-sx.glade", "remain_spin_adj");
+ gnc_builder_add_from_file (builder, "dialog-sx.glade", "Scheduled Transaction Editor");
+
+ sxed->builder = builder;
+
+ /* Connect the Widgets */
+ sxed->dialog = GTK_WIDGET(gtk_builder_get_object (builder, "Scheduled Transaction Editor"));
+ sxed->notebook = GTK_NOTEBOOK(gtk_builder_get_object (builder, "editor_notebook"));
+ sxed->nameEntry = GTK_EDITABLE(gtk_builder_get_object (builder, "sxe_name"));
+ sxed->enabledOpt = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "enabled_opt"));
+ sxed->autocreateOpt = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "autocreate_opt"));
+ sxed->notifyOpt = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "notify_opt"));
+ sxed->advanceOpt = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "advance_opt"));
+ sxed->advanceSpin = GTK_SPIN_BUTTON(gtk_builder_get_object (builder, "advance_days"));
+ sxed->remindOpt = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "remind_opt"));
+ sxed->remindSpin = GTK_SPIN_BUTTON(gtk_builder_get_object (builder, "remind_days"));
+ sxed->lastOccurLabel = GTK_LABEL(gtk_builder_get_object (builder, "last_occur_label"));
+ sxed->optEndNone = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "rb_noend"));
+ sxed->optEndDate = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "rb_enddate"));
+ sxed->optEndCount = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "rb_num_occur"));
+ sxed->endCountSpin = GTK_ENTRY(gtk_builder_get_object (builder, "end_spin"));
+ sxed->endRemainSpin = GTK_ENTRY(gtk_builder_get_object (builder, "remain_spin"));
+
/* Setup the end-date GNC widget */
{
- GtkWidget *endDateBox =
- glade_xml_get_widget( sxed->gxml, END_DATE_BOX );
- sxed->endDateEntry =
- GNC_DATE_EDIT(gnc_date_edit_new( time(NULL),
- FALSE, FALSE ));
+ GtkWidget *endDateBox = GTK_WIDGET(gtk_builder_get_object (builder, "end_date_hbox"));
+ sxed->endDateEntry = GNC_DATE_EDIT(gnc_date_edit_new( time(NULL), FALSE, FALSE ));
gtk_widget_show(GTK_WIDGET(sxed->endDateEntry));
- g_signal_connect( sxed->endDateEntry,
- "date-changed",
- G_CALLBACK( sxed_excal_update_adapt ),
- sxed );
- gtk_box_pack_start( GTK_BOX(endDateBox),
- GTK_WIDGET(sxed->endDateEntry),
+ g_signal_connect( sxed->endDateEntry, "date-changed",
+ G_CALLBACK( sxed_excal_update_adapt_cb ), sxed );
+ gtk_box_pack_start( GTK_BOX(endDateBox), GTK_WIDGET(sxed->endDateEntry),
TRUE, TRUE, 0 );
}
- /* NOTE: this must occur before processing the widget list, defined
- * above, so the gpointers stored with the advance_ and remind_opts
- * are correct. */
- gnc_sxed_get_widgets( sxed );
-
gnc_register_gui_component( DIALOG_SCHEDXACTION_EDITOR_CM_CLASS,
NULL, /* no refresh handler */
sxed_close_handler,
@@ -1244,7 +1220,7 @@
for ( i = 0; widgets[i].name != NULL; i++ )
{
- button = glade_xml_get_widget( sxed->gxml, widgets[i].name );
+ button = GTK_WIDGET(gtk_builder_get_object (builder, widgets[i].name ));
if ( widgets[i].objectData != NULL )
{
g_object_set_data( G_OBJECT(button), "whichOneAmI",
@@ -1254,46 +1230,47 @@
G_CALLBACK( widgets[i].fn ), sxed );
}
- /* For some reason the Glade-specified sensitivity settings are not
- * being honored... ? */
+ /* Set sensitivity settings */
gtk_widget_set_sensitive( GTK_WIDGET(sxed->notifyOpt), FALSE );
gtk_widget_set_sensitive( GTK_WIDGET(sxed->advanceSpin), FALSE );
gtk_widget_set_sensitive( GTK_WIDGET(sxed->remindSpin), FALSE );
gtk_widget_set_sensitive( GTK_WIDGET(sxed->endCountSpin), FALSE );
gtk_widget_set_sensitive( GTK_WIDGET(sxed->endRemainSpin), FALSE );
-
gtk_editable_set_editable( GTK_EDITABLE(sxed->advanceSpin), TRUE );
gtk_editable_set_editable( GTK_EDITABLE(sxed->remindSpin), TRUE );
/* Allow resize */
gtk_window_set_resizable (GTK_WINDOW(sxed->dialog), TRUE);
-
gnc_restore_window_size(SXED_GCONF_SECTION, GTK_WINDOW(sxed->dialog));
- /* create the frequency-selection macrowidget and example
- * [dense-]calendar. */
+ /* create the frequency-selection widget and example [dense-]calendar. */
schedXact_editor_create_freq_sel( sxed );
+
/* create the template-transaction ledger window */
schedXact_editor_create_ledger( sxed );
+
/* populate */
schedXact_editor_populate( sxed );
/* Do not call show_all here. Screws up the gtkuimanager code */
gtk_widget_show(sxed->dialog);
+ gtk_notebook_set_page(GTK_NOTEBOOK(sxed->notebook), 0);
- gtk_notebook_set_page(
- GTK_NOTEBOOK(glade_xml_get_widget(sxed->gxml, "editor_notebook")), 0);
-
/* Refresh the cal and the ledger */
gtk_widget_queue_resize( GTK_WIDGET( sxed->example_cal ) );
+
gnc_ledger_display_refresh( sxed->ledger );
/* Move keyboard focus to the name entry */
gtk_widget_grab_focus(GTK_WIDGET(sxed->nameEntry));
+ gtk_builder_connect_signals_full (builder, gnc_builder_connect_full_func, sxed);
+ g_object_unref(G_OBJECT(builder));
+
return sxed;
}
+
static
void
gnc_sxed_record_size( GncSxEditorDialog *sxed )
@@ -1301,13 +1278,15 @@
gnc_save_window_size( SXED_GCONF_SECTION, GTK_WINDOW(sxed->dialog) );
}
+
static
void
schedXact_editor_create_freq_sel( GncSxEditorDialog *sxed )
{
GtkBox *b;
- b = GTK_BOX(glade_xml_get_widget( sxed->gxml, "gncfreq_hbox" ));
+ b = GTK_BOX(gtk_builder_get_object (sxed->builder, "gncfreq_hbox"));
+
sxed->gncfreq =
GNC_FREQUENCY(gnc_frequency_new_from_recurrence(gnc_sx_get_schedule(sxed->sx),
xaccSchedXactionGetStartDate(sxed->sx)));
@@ -1317,7 +1296,7 @@
sxed );
gtk_container_add( GTK_CONTAINER(b), GTK_WIDGET(sxed->gncfreq) );
- b = GTK_BOX(glade_xml_get_widget( sxed->gxml, "example_cal_hbox" ));
+ b = GTK_BOX(gtk_builder_get_object (sxed->builder, "example_cal_hbox" ));
sxed->dense_cal_model = gnc_dense_cal_store_new(EX_CAL_NUM_MONTHS * 31);
sxed->example_cal = GNC_DENSE_CAL(gnc_dense_cal_new_with_model(GNC_DENSE_CAL_MODEL(sxed->dense_cal_model)));
g_assert(sxed->example_cal);
@@ -1327,6 +1306,7 @@
gtk_widget_show( GTK_WIDGET(sxed->example_cal) );
}
+
static
void
schedXact_editor_create_ledger( GncSxEditorDialog *sxed )
@@ -1342,7 +1322,7 @@
splitreg = gnc_ledger_display_get_split_register( sxed->ledger );
/* First the embedded window */
- main_vbox = glade_xml_get_widget( sxed->gxml, "register_vbox" );
+ main_vbox = GTK_WIDGET(gtk_builder_get_object (sxed->builder, "register_vbox" ));
sxed->embed_window =
gnc_embedded_window_new("SXWindowActions",
gnc_sxed_menu_entries,
@@ -1373,6 +1353,7 @@
gnc_split_register_show_present_divider( splitreg, FALSE );
}
+
static
void
schedXact_editor_populate( GncSxEditorDialog *sxed )
@@ -1460,7 +1441,6 @@
}
gtk_toggle_button_set_active( sxed->notifyOpt, notifyState );
-
/* Do days-in-advance-to-create widget[s] setup. */
if ( sxed->newsxP )
{
@@ -1520,6 +1500,7 @@
gnc_sxed_update_cal(sxed);
}
+
static
void
set_endgroup_toggle_states( GncSxEditorDialog *sxed, EndType type )
@@ -1529,9 +1510,10 @@
gtk_widget_set_sensitive( GTK_WIDGET(sxed->endRemainSpin), (type == END_OCCUR) );
}
+
static
void
-endgroup_rb_toggled( GtkButton *b, gpointer d )
+endgroup_rb_toggled_cb( GtkButton *b, gpointer d )
{
/* figure out which one */
GncSxEditorDialog *sxed;
@@ -1555,10 +1537,10 @@
g_critical( "Unknown id %d", id );
break;
}
-
gnc_sxed_update_cal(sxed);
}
+
/********************************************************************\
* gnc_register_check_close *
* *
@@ -1597,6 +1579,7 @@
}
}
+
static gboolean
editor_component_sx_equality( gpointer find_data,
gpointer user_data )
@@ -1604,8 +1587,9 @@
return ( (SchedXaction*)find_data
== ((GncSxEditorDialog*)user_data)->sx );
}
-
+/*
typedef enum { NO_END, DATE_END, COUNT_END } END_TYPE;
+*/
static void
gnc_sxed_update_cal(GncSxEditorDialog *sxed)
@@ -1677,21 +1661,22 @@
recurrenceListFree(&recurrences);
}
+
static void
gnc_sxed_freq_changed(GncFrequency *gf, gpointer ud)
{
gnc_sxed_update_cal((GncSxEditorDialog*)ud);
}
+
static void
-sxed_excal_update_adapt(GtkObject *o, gpointer ud)
+sxed_excal_update_adapt_cb(GtkObject *o, gpointer ud)
{
gnc_sxed_update_cal((GncSxEditorDialog*)ud);
}
-void on_sx_check_toggled (GtkWidget *togglebutton, gpointer user_data);
-void
+static void
on_sx_check_toggled (GtkWidget *togglebutton,
gpointer user_data)
{
@@ -1710,7 +1695,7 @@
/* ------------------------------------------------------------ */
-/* sx app engine; move to somewhere appropriate. :/ */
+/* sx app engine; move to somewhere appropriate. :/ */
typedef struct _acct_deletion_handler_data
{
@@ -1718,6 +1703,7 @@
GtkWidget *dialog;
} acct_deletion_handler_data;
+
static void
_open_editors(GtkDialog *dialog, gint response_code, gpointer data)
{
@@ -1736,6 +1722,7 @@
g_free(adhd);
}
+
static void
_sx_engine_event_handler(QofInstance *ent, QofEventId event_type, gpointer user_data, gpointer evt_data)
{
@@ -1757,17 +1744,20 @@
{
GList *sx_iter;
acct_deletion_handler_data *data;
- GladeXML *xml;
+ GtkBuilder *builder;
GtkWidget *dialog;
GtkListStore *name_list;
GtkTreeView *list;
GtkTreeViewColumn *name_column;
GtkCellRenderer *renderer;
- xml = gnc_glade_xml_new("sched-xact.glade", "Account Deletion");
- dialog = glade_xml_get_widget(xml, "Account Deletion");
- list = GTK_TREE_VIEW(glade_xml_get_widget(xml, "sx_list"));
+ builder = gtk_builder_new();
+ gnc_builder_add_from_file (builder, "dialog-sx.glade", "Account Deletion");
+ dialog = GTK_WIDGET(gtk_builder_get_object (builder, "Account Deletion"));
+
+ list = GTK_TREE_VIEW(gtk_builder_get_object (builder, "sx_list"));
+
data = (acct_deletion_handler_data*)g_new0(acct_deletion_handler_data, 1);
data->dialog = dialog;
data->affected_sxes = affected_sxes;
@@ -1796,9 +1786,12 @@
G_CALLBACK(_open_editors), data);
gtk_widget_show_all(GTK_WIDGET(dialog));
+ gtk_builder_connect_signals_full (builder, gnc_builder_connect_full_func, data);
+ g_object_unref(G_OBJECT(builder));
}
}
+
void
gnc_ui_sx_initialize (void)
{
@@ -1806,7 +1799,9 @@
gnc_hook_add_dangler(HOOK_BOOK_OPENED,
(GFunc)gnc_sx_sxsincelast_book_opened, NULL);
- gnc_preferences_add_page (SX_GLADE_FILE,
+
+ /* Add page to preferences page for Sheduled Transactions */
+ gnc_preferences_add_page ("sched-xact.glade",
"sx_prefs",
_("Scheduled Transactions"));
}
Modified: gnucash/trunk/src/gnome/dialog-sx-editor.h
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-editor.h 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/dialog-sx-editor.h 2011-09-11 10:58:01 UTC (rev 21243)
@@ -3,8 +3,9 @@
* Copyright (C) 2001,2006 Joshua Sled <jsled at asynchronous.org> *
* *
* This program is free software; you can redistribute it and/or *
- * modify it under the terms of version 2 and/or version 3 of the GNU General Public *
- * License as published by the Free Software Foundation. *
+ * modify it under the terms of version 2 and/or version 3 of the *
+ * GNU General Public License as published by the Free Software *
+ * Foundation. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
Modified: gnucash/trunk/src/gnome/dialog-sx-from-trans.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-from-trans.c 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/dialog-sx-from-trans.c 2011-09-11 10:58:01 UTC (rev 21243)
@@ -4,6 +4,7 @@
* Copyright (C) 2001 Robert Merkel <rgmerk at mira.net> *
* Copyright (C) 2001 Joshua Sled <jsled at asynchronous.org> *
* Copyright (c) 2006 David Hampton <hampton at employees.org> *
+ * Copyright (c) 2011 Robert Fewell *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
@@ -45,23 +46,6 @@
#include <gtk/gtk.h>
#include <stdlib.h>
-#define SX_GLADE_FILE "sched-xact.glade"
-#define SXFTD_DIALOG_GLADE_NAME "sx_from_real_trans"
-#define SXFTD_OK_BUTTON "ok_button"
-#define SXFTD_ADVANCED_BUTTON "advanced_button"
-#define SXFTD_CANCEL_BUTTON "cancel_button"
-#define SXFTD_NEVER_END_BUTTON "never_end_button"
-#define SXFTD_END_ON_DATE_BUTTON "end_on_date_button"
-#define SXFTD_N_OCCURRENCES_BUTTON "n_occurrences_button"
-#define SXFTD_PARAM_TABLE "param_table"
-#define SXFTD_NAME_ENTRY "name_entry"
-#define SXFTD_N_OCCURRENCES_ENTRY "n_occurrences_entry"
-#define SXFTD_FREQ_COMBO_BOX "freq_combo_box"
-/* #define SXFTD_END_DATE_EDIT "end_date_edit" */
-#define SXFTD_START_DATE_EDIT "start_date_edit"
-#define SXFTD_EX_CAL_FRAME "ex_cal_frame"
-#define SXFTD_END_DATE_BOX "end_date_hbox"
-
#define SXFTD_ERRNO_UNBALANCED_XACTION 3
#define SXFTD_ERRNO_OPEN_XACTION -3
@@ -70,11 +54,11 @@
#define SXFTD_RESPONSE_ADVANCED 100 /* 'Advanced' button response code */
-static QofLogModule log_module = GNC_MOD_GUI_SX;
-
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN GNC_MOD_GUI_SX
+static QofLogModule log_module = GNC_MOD_GUI_SX;
+
static void sxftd_freq_combo_changed( GtkWidget *w, gpointer user_data );
static void gnc_sx_trans_window_response_cb(GtkDialog *dialog, gint response, gpointer data);
@@ -91,8 +75,16 @@
typedef struct
{
- GladeXML *gxml;
+ GtkBuilder *builder;
GtkWidget *dialog;
+ GtkEntry *name;
+ GtkComboBox *freq_combo;
+
+ GtkToggleButton *ne_but;
+ GtkToggleButton *ed_but;
+ GtkToggleButton *oc_but;
+ GtkEntry *n_occurences;
+
Transaction *trans;
SchedXaction *sx;
@@ -131,11 +123,11 @@
{
/* Whenever any of the controls change, we want to update the
* calendar. */
- { SXFTD_NEVER_END_BUTTON, "clicked", sxftd_update_excal_adapt },
- { SXFTD_END_ON_DATE_BUTTON, "clicked", sxftd_update_excal_adapt },
- { SXFTD_N_OCCURRENCES_BUTTON, "clicked", sxftd_update_excal_adapt },
- { SXFTD_N_OCCURRENCES_ENTRY, "changed", sxftd_update_excal_adapt },
- { NULL, NULL, NULL }
+ { "never_end_button", "clicked", sxftd_update_excal_adapt },
+ { "end_on_date_button", "clicked", sxftd_update_excal_adapt },
+ { "n_occurrences_button", "clicked", sxftd_update_excal_adapt },
+ { "n_occurrences_entry", "changed", sxftd_update_excal_adapt },
+ { NULL, NULL, NULL }
};
int i;
@@ -143,7 +135,7 @@
GtkWidget *w;
for (i = 0; callbacks[i].name != NULL; i++)
{
- w = glade_xml_get_widget(sxfti->gxml, callbacks[i].name);
+ w = GTK_WIDGET(gtk_builder_get_object(sxfti->builder, callbacks[i].name));
g_signal_connect (GTK_OBJECT(w), callbacks[i].signal,
G_CALLBACK(callbacks[i].handlerFn),
@@ -160,21 +152,18 @@
sxftd_get_end_info(SXFromTransInfo *sxfti)
{
getEndTuple retval;
- GtkWidget *w;
retval.type = BAD_END;
g_date_clear( &(retval.end_date), 1 );
retval.n_occurrences = 0;
- w = glade_xml_get_widget(sxfti->gxml, SXFTD_NEVER_END_BUTTON);
- if (gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(w)))
+ if (gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(sxfti->ne_but)))
{
retval.type = NEVER_END;
return retval;
}
- w = glade_xml_get_widget(sxfti->gxml, SXFTD_END_ON_DATE_BUTTON);
- if (gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(w)))
+ if (gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(sxfti->ed_but)))
{
time_t end_tt;
retval.type = END_ON_DATE;
@@ -184,14 +173,12 @@
return retval;
}
- w = glade_xml_get_widget(sxfti->gxml, SXFTD_N_OCCURRENCES_BUTTON);
- if (gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(w) ))
+ if (gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(sxfti->oc_but) ))
{
gchar *text, *endptr;
guint n_occs;
- w = glade_xml_get_widget(sxfti->gxml, SXFTD_N_OCCURRENCES_ENTRY);
- text = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+ text = gtk_editable_get_chars(GTK_EDITABLE(sxfti->n_occurences), 0, -1);
if (text == NULL || strlen(text) == 0)
{
n_occs = 0;
@@ -204,17 +191,12 @@
n_occs = -1;
}
}
-
g_free(text);
- if (n_occs > 0)
- {
- retval.type = END_AFTER_N_OCCS;
- retval.n_occurrences = n_occs;
- return retval;
- }
+ retval.type = END_AFTER_N_OCCS;
+ retval.n_occurrences = n_occs;
+ return retval;
}
-
return retval;
}
@@ -294,6 +276,7 @@
return 0;
}
+
static void
sxftd_update_schedule( SXFromTransInfo *sxfti, GDate *date, GList **recurrences)
{
@@ -302,9 +285,9 @@
/* Note that we make the start date the *NEXT* instance, not the
* present one. */
- w = glade_xml_get_widget(sxfti->gxml, SXFTD_FREQ_COMBO_BOX);
- index = gtk_combo_box_get_active(GTK_COMBO_BOX(w));
+ index = gtk_combo_box_get_active(GTK_COMBO_BOX(sxfti->freq_combo));
+
switch (index)
{
case FREQ_DAILY:
@@ -346,6 +329,7 @@
}
}
+
static gint
sxftd_init( SXFromTransInfo *sxfti )
{
@@ -370,13 +354,30 @@
return SXFTD_ERRNO_OPEN_XACTION;
}
+ /* Setup Widgets */
+ {
+ sxfti->ne_but = GTK_TOGGLE_BUTTON(gtk_builder_get_object(sxfti->builder, "never_end_button"));
+ sxfti->ed_but = GTK_TOGGLE_BUTTON(gtk_builder_get_object(sxfti->builder, "end_on_date_button"));
+ sxfti->oc_but = GTK_TOGGLE_BUTTON(gtk_builder_get_object(sxfti->builder, "n_occurrences_button"));
+ sxfti->n_occurences = GTK_ENTRY(gtk_builder_get_object(sxfti->builder, "n_occurrences_entry"));
+ }
+
+ /* Get the name from the transaction, try that as the initial SX name. */
+ transName = xaccTransGetDescription( sxfti->trans );
+ xaccSchedXactionSetName( sxfti->sx, transName );
+
+ sxfti->name = GTK_ENTRY(gtk_builder_get_object(sxfti->builder, "name_entry" ));
+ pos = 0;
+ gtk_editable_insert_text( GTK_EDITABLE(sxfti->name), transName,
+ (strlen(transName) * sizeof(char)), &pos );
+
sxfti_attach_callbacks(sxfti);
/* Setup the example calendar and related data structures. */
{
int num_marks = SXFTD_EXCAL_NUM_MONTHS * 31;
- w = GTK_WIDGET(glade_xml_get_widget( sxfti->gxml, SXFTD_EX_CAL_FRAME ));
+ w = GTK_WIDGET(gtk_builder_get_object(sxfti->builder, "ex_cal_frame" ));
sxfti->dense_cal_model = gnc_dense_cal_store_new(num_marks);
sxfti->example_cal = GNC_DENSE_CAL(gnc_dense_cal_new_with_model(GNC_DENSE_CAL_MODEL(sxfti->dense_cal_model)));
g_object_ref_sink(sxfti->example_cal);
@@ -389,8 +390,7 @@
/* Setup the start and end dates as GNCDateEdits */
{
- GtkWidget *paramTable = glade_xml_get_widget( sxfti->gxml,
- SXFTD_PARAM_TABLE );
+ GtkWidget *paramTable = GTK_WIDGET(gtk_builder_get_object(sxfti->builder, "param_table" ));
sxfti->startDateGDE =
GNC_DATE_EDIT( gnc_date_edit_new( time( NULL ),
FALSE, FALSE ) );
@@ -405,31 +405,25 @@
sxfti );
}
{
- GtkWidget *endDateBox = glade_xml_get_widget( sxfti->gxml,
- SXFTD_END_DATE_BOX );
+ GtkWidget *endDateBox = GTK_WIDGET(gtk_builder_get_object(sxfti->builder, "end_date_hbox" ));
sxfti->endDateGDE =
GNC_DATE_EDIT( gnc_date_edit_new( time( NULL ),
FALSE, FALSE ) );
gtk_box_pack_start( GTK_BOX( endDateBox ),
GTK_WIDGET( sxfti->endDateGDE ),
- FALSE, TRUE, 0 );
+ TRUE, TRUE, 0 );
g_signal_connect( sxfti->endDateGDE, "date-changed",
G_CALLBACK( sxftd_update_excal_adapt ),
sxfti );
}
- /* Get the name from the transaction, try that as the initial SX name. */
- transName = xaccTransGetDescription( sxfti->trans );
- xaccSchedXactionSetName( sxfti->sx, transName );
-
/* Setup the initial start date for user display/confirmation */
/* compute good initial date. */
start_tt = xaccTransGetDate( sxfti->trans );
g_date_set_time_t( &date, start_tt );
- w = glade_xml_get_widget(sxfti->gxml,
- SXFTD_FREQ_COMBO_BOX);
- gtk_combo_box_set_active(GTK_COMBO_BOX(w), 0);
- g_signal_connect( w, "changed",
+ sxfti->freq_combo = GTK_COMBO_BOX(gtk_builder_get_object(sxfti->builder, "freq_combo_box"));
+ gtk_combo_box_set_active(GTK_COMBO_BOX(sxfti->freq_combo), 0);
+ g_signal_connect( sxfti->freq_combo, "changed",
G_CALLBACK(sxftd_freq_combo_changed),
sxfti );
sxftd_update_schedule( sxfti, &date, &schedule);
@@ -442,12 +436,7 @@
g_free( tmpTm );
gnc_date_edit_set_time( sxfti->startDateGDE, start_tt );
- w = glade_xml_get_widget( sxfti->gxml, SXFTD_NAME_ENTRY );
- pos = 0;
- gtk_editable_insert_text( GTK_EDITABLE(w), transName,
- (strlen(transName) * sizeof(char)), &pos );
-
- g_signal_connect( GTK_OBJECT(w), "destroy",
+ g_signal_connect( GTK_OBJECT(sxfti->name), "destroy",
G_CALLBACK(sxftd_destroy),
sxfti );
@@ -456,6 +445,7 @@
return 0;
}
+
static guint
sxftd_compute_sx(SXFromTransInfo *sxfti)
{
@@ -469,8 +459,8 @@
SchedXaction *sx = sxfti->sx;
/* get the name */
- w = glade_xml_get_widget(sxfti->gxml, SXFTD_NAME_ENTRY);
- name = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+ name = gtk_editable_get_chars(GTK_EDITABLE(sxfti->name), 0, -1);
+
xaccSchedXactionSetName(sx, name);
g_free(name);
@@ -536,6 +526,7 @@
return sxftd_errno;
}
+
static void
sxftd_close(SXFromTransInfo *sxfti, gboolean delete_sx)
{
@@ -549,6 +540,7 @@
gtk_widget_destroy (GTK_WIDGET (sxfti->dialog));
}
+
static void
sxftd_ok_clicked(SXFromTransInfo *sxfti)
{
@@ -578,6 +570,7 @@
return;
}
+
/**
* Update start date... right now we always base this off the transaction
* start date, but ideally we want to respect what the user has in the field,
@@ -609,6 +602,7 @@
sxftd_update_example_cal( sxfti );
}
+
static void
sxftd_advanced_clicked(SXFromTransInfo *sxfti)
{
@@ -637,6 +631,7 @@
sxftd_close(sxfti, FALSE);
}
+
static void
sxftd_destroy( GtkWidget *w, gpointer user_data )
{
@@ -652,11 +647,10 @@
g_object_unref(G_OBJECT(sxfti->dense_cal_model));
g_object_unref(G_OBJECT(sxfti->example_cal));
- /* FIXME: do we need to clean up the GladeXML pointer? */
-
g_free(sxfti);
}
+
static void
gnc_sx_trans_window_response_cb (GtkDialog *dialog,
gint response,
@@ -685,6 +679,7 @@
LEAVE(" ");
}
+
/**
* Update the example calendar; make sure to take into account the end
* specification.
@@ -722,8 +717,8 @@
GtkWidget *w;
gchar *name;
/* get the name */
- w = glade_xml_get_widget(sxfti->gxml, SXFTD_NAME_ENTRY);
- name = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+ name = NULL;
+ name = gtk_editable_get_chars(GTK_EDITABLE(sxfti->name), 0, -1);
gnc_dense_cal_store_update_name(sxfti->dense_cal_model, name);
g_free(name);
}
@@ -735,6 +730,10 @@
g_free(schedule_desc);
}
+ /* Set End date sensitivity */
+ gtk_widget_set_sensitive( GTK_WIDGET(sxfti->endDateGDE), (get.type == END_ON_DATE) );
+ gtk_widget_set_sensitive( GTK_WIDGET(sxfti->n_occurences), (get.type == END_AFTER_N_OCCS) );
+
switch (get.type)
{
case NEVER_END:
@@ -757,9 +756,10 @@
recurrenceListFree(&schedule);
}
-/**
- * Callback to update the calendar
- **/
+
+/***********************************
+ * Callback to update the calendar *
+ **********************************/
static void
sxftd_update_excal_adapt( GObject *o, gpointer ud )
{
@@ -767,18 +767,27 @@
sxftd_update_example_cal( sxfti );
}
+
+/*********************
+ * Create the dialog *
+ ********************/
void
gnc_sx_create_from_trans( Transaction *trans )
{
int errno;
SXFromTransInfo *sxfti = g_new0( SXFromTransInfo, 1);
+ GtkBuilder *builder;
+ GtkWidget *dialog;
- sxfti->gxml = gnc_glade_xml_new(SX_GLADE_FILE,
- SXFTD_DIALOG_GLADE_NAME);
+ builder = gtk_builder_new();
- sxfti->dialog = glade_xml_get_widget(sxfti->gxml,
- SXFTD_DIALOG_GLADE_NAME);
+ gnc_builder_add_from_file (builder ,"dialog-sx.glade", "freq_liststore");
+ gnc_builder_add_from_file (builder ,"dialog-sx.glade", "sx_from_real_trans");
+ dialog = GTK_WIDGET(gtk_builder_get_object (builder, "sx_from_real_trans"));
+
+ sxfti->builder = builder;
+ sxfti->dialog = dialog;
sxfti->trans = trans;
sxfti->sx = xaccSchedXactionMalloc(gnc_get_current_book ());
@@ -802,4 +811,7 @@
}
gtk_widget_show_all(GTK_WIDGET(sxfti->dialog));
+
+ gtk_builder_connect_signals(builder, sxfti);
+ g_object_unref(G_OBJECT(builder));
}
Modified: gnucash/trunk/src/gnome/dialog-sx-from-trans.h
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-from-trans.h 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/dialog-sx-from-trans.h 2011-09-11 10:58:01 UTC (rev 21243)
@@ -1,7 +1,6 @@
/********************************************************************
* dialog-sx-from-trans.h -- a simple dialog for creating a *
- * scheduled transaction for a "real *
- * one *
+ * scheduled transaction from a real one *
* (GnuCash) *
* Copyright (C) 2000 Robert Merkel <rgmerk at mira.net> *
* *
Modified: gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-since-last-run.c 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/dialog-sx-since-last-run.c 2011-09-11 10:58:01 UTC (rev 21243)
@@ -4,20 +4,21 @@
* Copyright (C) 2006 Joshua Sled <jsled at asynchronous.org> *
* *
* This program is free software; you can redistribute it and/or *
- * modify it under the terms of version 2 and/or version 3 of the GNU General Public *
- * License as published by the Free Software Foundation. *
- *
- * As a special exception, permission is granted to link the binary
- * module resultant from this code with the OpenSSL project's
- * "OpenSSL" library (or modified versions of it that use the same
- * license as the "OpenSSL" library), and distribute the linked
- * executable. You must obey the GNU General Public License in all
- * respects for all of the code used other than "OpenSSL". If you
- * modify this file, you may extend this exception to your version
- * of the file, but you are not obligated to do so. If you do not
- * wish to do so, delete this exception statement from your version
- * of this file.
+ * modify it under the terms of version 2 and/or version 3 of the *
+ * GNU General Public License as published by the Free Software *
+ * Foundation. *
* *
+ * As a special exception, permission is granted to link the binary *
+ * module resultant from this code with the OpenSSL project's *
+ * "OpenSSL" library (or modified versions of it that use the same *
+ * license as the "OpenSSL" library), and distribute the linked *
+ * executable. You must obey the GNU General Public License in all *
+ * respects for all of the code used other than "OpenSSL". If you *
+ * modify this file, you may extend this exception to your version *
+ * of the file, but you are not obligated to do so. If you do not *
+ * wish to do so, delete this exception statement from your version *
+ * of this file. *
+ * *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
@@ -34,7 +35,6 @@
#include "config.h"
#include <glib.h>
#include <gtk/gtk.h>
-#include <glade/glade-xml.h>
#include "dialog-utils.h"
#include "gnc-exp-parser.h"
@@ -55,6 +55,8 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "gnc.gui.sx.slr"
+static QofLogModule log_module = GNC_MOD_GUI_SX;
+
#define DIALOG_SX_SINCE_LAST_RUN_CM_CLASS "dialog-sx-since-last-run"
#define GCONF_SECTION "dialogs/scheduled_trans/since_last_run"
@@ -914,14 +916,17 @@
gnc_ui_sx_since_last_run_dialog(GncSxInstanceModel *sx_instances, GList *auto_created_txn_guids)
{
GncSxSinceLastRunDialog *dialog;
- GladeXML *glade;
+ GtkBuilder *builder;
dialog = g_new0(GncSxSinceLastRunDialog, 1);
- glade = gnc_glade_xml_new("sched-xact.glade", "since-last-run-dialog");
- dialog->dialog = glade_xml_get_widget(glade, "since-last-run-dialog");
+ builder = gtk_builder_new();
+ gnc_builder_add_from_file (builder, "dialog-sx.glade", "since-last-run-dialog");
+
+ dialog->dialog = GTK_WIDGET(gtk_builder_get_object (builder, "since-last-run-dialog"));
+
dialog->editing_model = gnc_sx_slr_tree_model_adapter_new(sx_instances);
- dialog->review_created_txns_toggle = GTK_TOGGLE_BUTTON(glade_xml_get_widget(glade, "review_txn_toggle"));
+ dialog->review_created_txns_toggle = GTK_TOGGLE_BUTTON(gtk_builder_get_object (builder, "review_txn_toggle"));
dialog->created_txns = auto_created_txn_guids;
@@ -929,7 +934,7 @@
GtkCellRenderer *renderer;
GtkTreeViewColumn *col;
- dialog->instance_view = GTK_TREE_VIEW(glade_xml_get_widget(glade, "instance_view"));
+ dialog->instance_view = GTK_TREE_VIEW(gtk_builder_get_object (builder, "instance_view"));
gtk_tree_view_set_model(dialog->instance_view, GTK_TREE_MODEL(dialog->editing_model));
renderer = gtk_cell_renderer_text_new();
@@ -989,6 +994,10 @@
gtk_widget_show_all(dialog->dialog);
+ gtk_builder_connect_signals_full (builder, gnc_builder_connect_full_func, dialog);
+
+ g_object_unref(G_OBJECT(builder));
+
return dialog;
}
Modified: gnucash/trunk/src/gnome/dialog-sx-since-last-run.h
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-since-last-run.h 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/dialog-sx-since-last-run.h 2011-09-11 10:58:01 UTC (rev 21243)
@@ -4,8 +4,9 @@
* Copyright (C) 2006 Joshua Sled <jsled at asynchronous.org> *
* *
* This program is free software; you can redistribute it and/or *
- * modify it under the terms of version 2 and/or version 3 of the GNU General Public *
- * License as published by the Free Software Foundation. *
+ * modify it under the terms of version 2 and/or version 3 of the *
+ * GNU General Public License as published by the Free Software *
+ * Foundation. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
Modified: gnucash/trunk/src/gnome/glade/sched-xact.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/sched-xact.glade 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/glade/sched-xact.glade 2011-09-11 10:58:01 UTC (rev 21243)
@@ -4,1942 +4,6 @@
<requires lib="gnome"/>
<!-- interface-requires gnome 2094.61672 -->
<!-- interface-naming-policy toplevel-contextual -->
- <widget class="GtkDialog" id="Scheduled Transaction Editor">
- <property name="title" translatable="yes">Edit Scheduled Transaction</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox17">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
- <child>
- <widget class="GtkVBox" id="editor-vbox">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkHBox" id="hbox96">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847707">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes"><b>Name</b></property>
- <property name="use_markup">True</property>
- <property name="use_underline">True</property>
- <property name="justify">center</property>
- <property name="mnemonic_widget">sxe_name</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkAlignment" id="alignment31">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkEntry" id="sxe_name">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkNotebook" id="editor_notebook">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <child>
- <widget class="GtkVBox" id="vbox106">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkLabel" id="label847991">
- <property name="visible">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847965">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Options</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">4</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkAlignment" id="alignment29">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkTable" id="table2">
- <property name="visible">True</property>
- <property name="n_rows">5</property>
- <property name="n_columns">2</property>
- <property name="column_spacing">6</property>
- <child>
- <widget class="GtkCheckButton" id="advance_opt">
- <property name="label" translatable="yes">Create in advance:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="remind_opt">
- <property name="label" translatable="yes">Remind in advance:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="remind_hbox">
- <property name="visible">True</property>
- <child>
- <widget class="GtkSpinButton" id="remind_days">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">0 0 731 1 30 0</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847810">
- <property name="visible">True</property>
- <property name="label" translatable="yes"> days</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="autocreate_opt">
- <property name="label" translatable="yes">Create automatically</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="tooltip" translatable="yes">Conditional on splits not having variables</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="advance_hbox">
- <property name="visible">True</property>
- <child>
- <widget class="GtkSpinButton" id="advance_days">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">0 0 731 1 30 0</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847808">
- <property name="visible">True</property>
- <property name="label" translatable="yes"> days</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <widget class="GtkAlignment" id="alignment30">
- <property name="visible">True</property>
- <child>
- <widget class="GtkCheckButton" id="notify_opt">
- <property name="label" translatable="yes">Notify me when created</property>
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- <property name="x_padding">24</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="enabled_opt">
- <property name="label" translatable="yes">Enabled</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847987">
- <property name="visible">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847966">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Occurrences</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">4</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <widget class="GtkAlignment" id="alignment27">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkVBox" id="vbox179">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkHBox" id="hbox172">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847964">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Last Occurred: </property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="last_occur_label">
- <property name="visible">True</property>
- <property name="label">YYYY-MM-DD</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847988">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Repeats:</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkAlignment" id="alignment28">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkTable" id="table1">
- <property name="visible">True</property>
- <property name="n_rows">4</property>
- <property name="n_columns">3</property>
- <child>
- <widget class="GtkRadioButton" id="rb_noend">
- <property name="label" translatable="yes">Forever</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkRadioButton" id="rb_enddate">
- <property name="label" translatable="yes">Until:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">rb_noend</property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkRadioButton" id="rb_num_occur">
- <property name="label" translatable="yes">For:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">rb_noend</property>
- </widget>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847989">
- <property name="visible">True</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">occurrences</property>
- </widget>
- <packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847876">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">remaining</property>
- </widget>
- <packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="end_date_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">3</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <widget class="GtkSpinButton" id="end_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">1 0 1000 1 10 0</property>
- <property name="climb_rate">1</property>
- <property name="numeric">True</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkSpinButton" id="remain_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">1 0 1000 1 10 0</property>
- <property name="climb_rate">1</property>
- <property name="numeric">True</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">5</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label847995">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Overview</property>
- </widget>
- <packing>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="GtkVBox" id="vbox184">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkHBox" id="gncfreq_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="example_cal_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847996">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Frequency</property>
- </widget>
- <packing>
- <property name="position">1</property>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="GtkVBox" id="register_vbox">
- <property name="visible">True</property>
- <property name="border_width">1</property>
- <property name="orientation">vertical</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847997">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Template Transaction</property>
- </widget>
- <packing>
- <property name="position">2</property>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area17">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <widget class="GtkButton" id="help_button">
- <property name="label">gtk-help</property>
- <property name="response_id">-11</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="cancel_button">
- <property name="label">gtk-cancel</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="ok_button">
- <property name="label">gtk-ok</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="GtkWindow" id="GNCFrequency widget">
- <property name="title">This window should never be realized.</property>
- <child>
- <widget class="GtkEventBox" id="eventbox2">
- <property name="visible">True</property>
- <child>
- <widget class="GtkVBox" id="gncfreq_vbox">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkTable" id="gncfreq_table">
- <property name="visible">True</property>
- <property name="n_rows">2</property>
- <property name="n_columns">2</property>
- <child>
- <widget class="GtkLabel" id="freq label">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">Frequency:</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="startdate label">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">Start Date:</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="freq_combobox">
- <property name="visible">True</property>
- <property name="items" translatable="yes">None
-Once
-Daily
-Weekly
-Semi-Monthly
-Monthly</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkNotebook" id="gncfreq_nb">
- <property name="visible">True</property>
- <property name="show_tabs">False</property>
- <property name="scrollable">True</property>
- <child>
- <widget class="GtkLabel" id="label847767">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Not scheduled</property>
- <property name="justify">center</property>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label847753">
- <property name="visible">True</property>
- <property name="label" translatable="yes">None</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox114">
- <property name="visible">True</property>
- <property name="homogeneous">True</property>
- <child>
- <widget class="GtkLabel" id="label847776">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Select occurrence date above.</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847735">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Once</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="position">1</property>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox115">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847746">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">4</property>
- <property name="label" translatable="yes">Every </property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkSpinButton" id="daily_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">1 1 731 1 10 0</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847747">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">days.</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847736">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Daily</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="position">2</property>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="GtkVBox" id="vbox113">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkHBox" id="hbox110">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847748">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Every</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkSpinButton" id="weekly_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">1 1 100 1 10 0</property>
- <property name="climb_rate">1</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847749">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">weeks.</property>
- <property name="justify">fill</property>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkFrame" id="frame51">
- <property name="visible">True</property>
- <property name="border_width">2</property>
- <property name="label_xalign">0.5</property>
- <child>
- <widget class="GtkHBox" id="hbox122">
- <property name="visible">True</property>
- <child>
- <widget class="GtkVBox" id="vbox114">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkCheckButton" id="wd_check_sun">
- <property name="label" translatable="yes">Sunday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="wd_check_mon">
- <property name="label" translatable="yes">Monday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="wd_check_tue">
- <property name="label" translatable="yes">Tuesday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkVBox" id="vbox117">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkCheckButton" id="wd_check_wed">
- <property name="label" translatable="yes">Wednesday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="wd_check_thu">
- <property name="label" translatable="yes">Thursday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="wd_check_fri">
- <property name="label" translatable="yes">Friday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkVBox" id="vbox162">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkCheckButton" id="wd_check_sat">
- <property name="label" translatable="yes">Saturday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label847969">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Days</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">3</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847738">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Weekly</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="position">3</property>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox112">
- <property name="visible">True</property>
- <child>
- <widget class="GtkVBox" id="vbox119">
- <property name="visible">True</property>
- <property name="border_width">5</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkHBox" id="hbox126">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847757">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Every</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkSpinButton" id="semimonthly_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">1 1 100 1 10 0</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847758">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">months.</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox127">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847759">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">First on the:</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="semimonthly_first">
- <property name="visible">True</property>
- <property name="items" translatable="yes">1st
-2nd
-3rd
-4th
-5th
-6th
-7th
-8th
-9th
-10th
-11th
-12th
-13th
-14th
-15th
-16th
-17th
-18th
-19th
-20th
-21st
-22nd
-23rd
-24th
-25th
-26th
-27th
-28th
-29th
-30th
-31st
-Last day of month
-Last Monday
-Last Tuesday
-Last Wednesday
-Last Thursday
-Last Friday
-Last Saturday
-Last Sunday</property>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847751">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">except on weekends:</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="semimonthly_first_weekend">
- <property name="visible">True</property>
- <property name="items" translatable="yes">No change
-Use previous weekday
-Use next weekday</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">3</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox128">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847760">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">then on the:</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="semimonthly_second">
- <property name="visible">True</property>
- <property name="items" translatable="yes">1st
-2nd
-3rd
-4th
-5th
-6th
-7th
-8th
-9th
-10th
-11th
-12th
-13th
-14th
-15th
-16th
-17th
-18th
-19th
-20th
-21st
-22nd
-23rd
-24th
-25th
-26th
-27th
-28th
-29th
-30th
-31st
-Last day of month
-Last Monday
-Last Tuesday
-Last Wednesday
-Last Thursday
-Last Friday
-Last Saturday
-Last Sunday</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847752">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">except on weekends:</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="semimonthly_second_weekend">
- <property name="visible">True</property>
- <property name="items" translatable="yes">No change
-Use previous weekday
-Use next weekday</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">3</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847740">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Semi-Monthly</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="position">4</property>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox113">
- <property name="visible">True</property>
- <child>
- <widget class="GtkVBox" id="vbox118">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkHBox" id="hbox124">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847754">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Every </property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkSpinButton" id="monthly_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">1 1 100 1 10 0</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- <property name="wrap">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847755">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">months.</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox125">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label847756">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">On the</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="monthly_day">
- <property name="visible">True</property>
- <property name="items" translatable="yes">1st
-2nd
-3rd
-4th
-5th
-6th
-7th
-8th
-9th
-10th
-11th
-12th
-13th
-14th
-15th
-16th
-17th
-18th
-19th
-20th
-21st
-22nd
-23rd
-24th
-25th
-26th
-27th
-28th
-29th
-30th
-31st
-Last day of month
-Last Monday
-Last Tuesday
-Last Wednesday
-Last Thursday
-Last Friday
-Last Saturday
-Last Sunday
-1st Mon
-1st Tue
-1st Wed
-1st Thu
-1st Fri
-1st Sat
-1st Sun
-2nd Mon
-2nd Tue
-2nd Wed
-2nd Thu
-2nd Fri
-2nd Sat
-2nd Sun
-3rd Mon
-3rd Tue
-3rd Wed
-3rd Thu
-3rd Fri
-3rd Sat
-3rd Sun
-4th Mon
-4th Tue
-4th Wed
-4th Thu
-4th Fri
-4th Sat
-4th Sun</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847750">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">except on weekends:</property>
- <property name="justify">right</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="monthly_weekend">
- <property name="visible">True</property>
- <property name="items" translatable="yes">No change
-Use previous weekday
-Use next weekday</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="padding">3</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">3</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">5</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847741">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Monthly</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="position">5</property>
- <property name="tab_fill">False</property>
- <property name="type">tab</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="GtkDialog" id="sx_from_real_trans">
- <property name="title" translatable="yes">Make Scheduled Transaction</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox23">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
- <child>
- <widget class="GtkHBox" id="hbox171">
- <property name="visible">True</property>
- <child>
- <widget class="GtkVBox" id="vbox146">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkTable" id="param_table">
- <property name="visible">True</property>
- <property name="n_rows">3</property>
- <property name="n_columns">2</property>
- <child>
- <widget class="GtkLabel" id="label847842">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">Name:</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847843">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">Frequency:</property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847875">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">Start Date: </property>
- <property name="justify">center</property>
- </widget>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkEntry" id="name_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="freq_combo_box">
- <property name="visible">True</property>
- <property name="items" translatable="yes">Daily
-Weekly
-Bi-Weekly
-Monthly
-Quarterly
-Yearly</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkFrame" id="frame78">
- <property name="visible">True</property>
- <property name="border_width">2</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
- <child>
- <widget class="GtkAlignment" id="alignment36">
- <property name="visible">True</property>
- <property name="left_padding">10</property>
- <child>
- <widget class="GtkVBox" id="vbox147">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkRadioButton" id="never_end_button">
- <property name="label" translatable="yes">Never End</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="end_date_hbox">
- <property name="visible">True</property>
- <child>
- <widget class="GtkRadioButton" id="end_on_date_button">
- <property name="label" translatable="yes">End Date:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">never_end_button</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox164">
- <property name="visible">True</property>
- <child>
- <widget class="GtkRadioButton" id="n_occurrences_button">
- <property name="label" translatable="yes">Number of Occurrences:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">never_end_button</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GnomeEntry" id="entry5">
- <property name="visible">True</property>
- <property name="max_saved">10</property>
- <child internal-child="entry">
- <widget class="GtkEntry" id="n_occurrences_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label847972">
- <property name="visible">True</property>
- <property name="label" translatable="yes"><b>End</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkFrame" id="ex_cal_frame">
- <property name="visible">True</property>
- <property name="label_xalign">0</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area23">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <widget class="GtkButton" id="advanced_button">
- <property name="label" translatable="yes">Advanced...</property>
- <property name="response_id">100</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="cancel_button">
- <property name="label">gtk-cancel</property>
- <property name="response_id">-6</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="ok_button">
- <property name="label">gtk-ok</property>
- <property name="response_id">-5</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="GtkMenu" id="Since Last Run popup">
- <property name="visible">True</property>
- <child>
- <widget class="GtkMenuItem" id="creation_state">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Creation State</property>
- <property name="use_underline">True</property>
- <child>
- <widget class="GtkMenu" id="creation_state_menu">
- <property name="visible">True</property>
- <child>
- <widget class="GtkImageMenuItem" id="ignore">
- <property name="label">Ignore</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_ignore_activate"/>
- </widget>
- </child>
- <child>
- <widget class="GtkImageMenuItem" id="postpone">
- <property name="label">Postpone</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_postpone_activate"/>
- </widget>
- </child>
- <child>
- <widget class="GtkImageMenuItem" id="create">
- <property name="label">Create</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_create_activate"/>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
<widget class="GtkWindow" id="Preferences">
<property name="visible">True</property>
<property name="title" translatable="yes">Preferences</property>
@@ -2245,319 +309,4 @@
</widget>
</child>
</widget>
- <widget class="GtkDialog" id="Account Deletion">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Account Deletion</property>
- <property name="window_position">center</property>
- <property name="default_width">320</property>
- <property name="default_height">240</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox24">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkVBox" id="vbox181">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkLabel" id="label847994">
- <property name="visible">True</property>
- <property name="label" translatable="yes">The following Scheduled Transactions reference the deleted account, and must now be corrected. Press OK to edit them.</property>
- <property name="wrap">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow20">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">in</property>
- <child>
- <widget class="GtkTreeView" id="sx_list">
- <property name="visible">True</property>
- <property name="headers_visible">False</property>
- <property name="enable_search">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area24">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <widget class="GtkButton" id="okbutton1">
- <property name="label">gtk-ok</property>
- <property name="response_id">-5</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="GtkWindow" id="sx list plugin page content">
- <property name="visible">True</property>
- <property name="title" translatable="yes">window1</property>
- <child>
- <widget class="GtkVPaned" id="sx-list-vbox">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkVBox" id="vbox183">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkLabel" id="label847992">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Transactions</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkAlignment" id="alignment34">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkHBox" id="hbox">
- <property name="visible">True</property>
- <property name="spacing">12</property>
- <child>
- <widget class="GtkScrolledWindow" id="sx-list-tree-view-container">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">in</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="resize">True</property>
- <property name="shrink">True</property>
- </packing>
- </child>
- <child>
- <widget class="GtkVBox" id="upcoming mumble">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkLabel" id="label847993">
- <property name="visible">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label847970">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Upcoming</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkAlignment" id="alignment35">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkHBox" id="upcoming_cal_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="resize">False</property>
- <property name="shrink">True</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="GtkDialog" id="since-last-run-dialog">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Since Last Run...</property>
- <property name="window_position">center-on-parent</property>
- <property name="default_width">640</property>
- <property name="default_height">480</property>
- <property name="destroy_with_parent">True</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox25">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkVBox" id="vbox182">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow21">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">in</property>
- <child>
- <widget class="GtkTreeView" id="instance_view">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="has_focus">True</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox179">
- <property name="visible">True</property>
- <child>
- <widget class="GtkFixed" id="fixed1">
- <property name="visible">True</property>
- </widget>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="review_txn_toggle">
- <property name="label" translatable="yes">_Review created transactions</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area25">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <widget class="GtkButton" id="cancelbutton1">
- <property name="label">gtk-cancel</property>
- <property name="response_id">-6</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="okbutton2">
- <property name="label">gtk-ok</property>
- <property name="response_id">-5</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
</glade-interface>
Modified: gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c 2011-09-11 10:58:01 UTC (rev 21243)
@@ -1,34 +1,37 @@
-/*
- * gnc-plugin-page-sx-list.c
- *
- * Copyright (C) 2006 Josh Sled <jsled at asynchronous.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 and/or version 3 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * As a special exception, permission is granted to link the binary module
- * resultant from this code with the OpenSSL project's "OpenSSL" library (or
- * modified versions of it that use the same license as the "OpenSSL"
- * library), and distribute the linked executable. You must obey the GNU
- * General Public License in all respects for all of the code used other than
- * "OpenSSL". If you modify this file, you may extend this exception to your
- * version of the file, but you are not obligated to do so. If you do not
- * wish to do so, delete this exception statement from your version of this
- * file.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, contact:
- *
- * Free Software Foundation Voice: +1-617-542-5942
- * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
- * Boston, MA 02110-1301, USA gnu at gnu.org
- */
+/********************************************************************\
+ * gnc-plugin-page-sx-list.c : scheduled transaction plugin *
+ * *
+ * Copyright (C) 2006 Joshua Sled <jsled at asynchronous.org> *
+ * Copyright (C) 2011 Robert Fewell *
+ * *
+ * This program is free software; you can redistribute it and/or *
+ * modify it under the terms of version 2 and/or version 3 of the *
+ * GNU General Public License as published by the Free Software *
+ * Foundation. *
+ * *
+ * As a special exception, permission is granted to link the binary *
+ * module resultant from this code with the OpenSSL project's *
+ * "OpenSSL" library (or modified versions of it that use the same *
+ * license as the "OpenSSL" library), and distribute the linked *
+ * executable. You must obey the GNU General Public License in all *
+ * respects for all of the code used other than "OpenSSL". If you *
+ * modify this file, you may extend this exception to your version *
+ * of the file, but you are not obligated to do so. If you do not *
+ * wish to do so, delete this exception statement from your version *
+ * of this file. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License*
+ * along with this program; if not, contact: *
+ * *
+ * Free Software Foundation Voice: +1-617-542-5942 *
+ * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
+ * Boston, MA 02110-1301, USA gnu at gnu.org *
+\********************************************************************/
/** @addtogroup ContentPlugins
@{ */
@@ -43,7 +46,6 @@
#include <gtk/gtk.h>
#include <glib.h>
#include <glib/gi18n.h>
-#include <glade/glade-xml.h>
#include "SX-book.h"
#include "Split.h"
#include "Transaction.h"
@@ -69,6 +71,8 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "gnc.gui.plugin-page.sx-list"
+static QofLogModule log_module = GNC_MOD_GUI_SX;
+
#define PLUGIN_PAGE_SX_LIST_CM_CLASS "plugin-page-sx-list"
#define GCONF_SECTION "window/pages/sx_list"
@@ -79,12 +83,12 @@
GtkWidget* widget;
gint gnc_component_id;
- GladeXML* gxml;
GncSxInstanceDenseCalAdapter *dense_cal_model;
GncDenseCal* gdcal;
GncSxInstanceModel* instances;
GtkTreeView* tree_view;
+
} GncPluginPageSxListPrivate;
#define GNC_PLUGIN_PAGE_SX_LIST_GET_PRIVATE(o) \
@@ -132,6 +136,7 @@
/** The number of actions provided by this plugin. */
static guint gnc_plugin_page_sx_list_n_actions = G_N_ELEMENTS (gnc_plugin_page_sx_list_actions);
+
GType
gnc_plugin_page_sx_list_get_type (void)
{
@@ -160,6 +165,7 @@
return gnc_plugin_page_sx_list_type;
}
+
GncPluginPage *
gnc_plugin_page_sx_list_new (void)
{
@@ -168,6 +174,7 @@
return GNC_PLUGIN_PAGE(plugin_page);
}
+
static void
gnc_plugin_page_sx_list_class_init (GncPluginPageSxListClass *klass)
{
@@ -189,6 +196,7 @@
g_type_class_add_private(klass, sizeof(GncPluginPageSxListPrivate));
}
+
static void
gnc_plugin_page_sx_list_init (GncPluginPageSxList *plugin_page)
{
@@ -217,6 +225,7 @@
/* gnc_plugin_init_short_names (action_group, toolbar_labels); */
}
+
static void
gnc_plugin_page_sx_list_dispose(GObject *object)
{
@@ -241,6 +250,7 @@
G_OBJECT_CLASS (parent_class)->dispose(object);
}
+
static void
gnc_plugin_page_sx_list_finalize (GObject *object)
{
@@ -255,6 +265,7 @@
G_OBJECT_CLASS (parent_class)->finalize (object);
}
+
/* Virtual Functions */
static void
gnc_plugin_page_sx_list_refresh_cb (GHashTable *changes, gpointer user_data)
@@ -272,6 +283,7 @@
gtk_widget_queue_draw(priv->widget);
}
+
static void
gnc_plugin_page_sx_list_close_cb (gpointer user_data)
{
@@ -283,6 +295,7 @@
gnc_main_window_close_page(plugin_page);
}
+
static void
gppsl_selection_changed_cb(GtkTreeSelection *selection, gpointer user_data)
{
@@ -301,20 +314,52 @@
gtk_action_set_sensitive(delete_action, selection_state);
}
+
static GtkWidget *
gnc_plugin_page_sx_list_create_widget (GncPluginPage *plugin_page)
{
GncPluginPageSxList *page;
GncPluginPageSxListPrivate *priv;
+ GtkWidget *widget;
+ GtkWidget *vbox;
+ GtkWidget *label;
+ GtkWidget *swin;
+ char *markup;
+ char *text;
page = GNC_PLUGIN_PAGE_SX_LIST(plugin_page);
priv = GNC_PLUGIN_PAGE_SX_LIST_GET_PRIVATE(page);
if (priv->widget != NULL)
return priv->widget;
- priv->gxml = gnc_glade_xml_new("sched-xact.glade", "sx-list-vbox");
- priv->widget = glade_xml_get_widget(priv->gxml, "sx-list-vbox");
+ /* Create Vpaned widget for top level */
+ widget = gtk_vpaned_new();
+ priv->widget = widget;
+ gtk_widget_show (priv->widget);
+ /* Add vbox and label */
+ vbox = gtk_vbox_new(FALSE,0);
+ gtk_paned_pack1( GTK_PANED(widget), vbox, TRUE, FALSE);
+
+ label = gtk_label_new(NULL);
+ text = g_strdup_printf(_("Transactions"));
+ markup = g_markup_printf_escaped ("<b> %s</b>", text);
+ gtk_label_set_markup (GTK_LABEL (label), markup);
+ g_free (markup);
+ g_free (text);
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0);
+ gtk_widget_show (label);
+ gtk_box_pack_start ( GTK_BOX(vbox), label, FALSE, FALSE, 0);
+ gtk_widget_show (vbox);
+
+ /* Create scrolled window for top area */
+ swin = gtk_scrolled_window_new(NULL,NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swin),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start ( GTK_BOX(vbox), swin, TRUE, TRUE, 5);
+ gtk_widget_show (swin);
+
{
// gint half_way;
// half_way = plugin_page->notebook_page->allocation.height * 0.5;
@@ -339,16 +384,14 @@
}
{
- GtkContainer *tree_view_container;
GtkTreeSelection *selection;
- tree_view_container = GTK_CONTAINER(glade_xml_get_widget(priv->gxml, "sx-list-tree-view-container"));
priv->tree_view = GTK_TREE_VIEW(gnc_tree_view_sx_list_new(priv->instances));
g_object_set(G_OBJECT(priv->tree_view),
"gconf-section", GCONF_SECTION,
"show-column-menu", TRUE,
NULL);
- gtk_container_add(tree_view_container, GTK_WIDGET(priv->tree_view));
+ gtk_container_add(GTK_CONTAINER( swin ), GTK_WIDGET(priv->tree_view));
selection = gtk_tree_view_get_selection(priv->tree_view);
gtk_tree_selection_set_mode(selection, GTK_SELECTION_MULTIPLE);
@@ -356,9 +399,31 @@
g_signal_connect(G_OBJECT(priv->tree_view), "row-activated", (GCallback)gppsl_row_activated_cb, (gpointer)page);
}
+ /* Add vbox and label */
+ vbox = gtk_vbox_new(FALSE,0);
+ gtk_paned_pack2( GTK_PANED(widget), vbox, TRUE, FALSE);
+
+ label = gtk_label_new(NULL);
+ text = g_strdup_printf(_("Upcoming Transactions"));
+ markup = g_markup_printf_escaped ("<b> %s</b>", text);
+ gtk_label_set_markup (GTK_LABEL (label), markup);
+ g_free (markup);
+ g_free (text);
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0);
+ gtk_widget_show (label);
+
+ gtk_box_pack_start ( GTK_BOX(vbox), label, FALSE, FALSE, 0);
+ gtk_widget_show (vbox);
+
+ /* Create scrolled window for bottom area */
+ swin = gtk_scrolled_window_new(NULL,NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swin),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start ( GTK_BOX(vbox), swin, TRUE, TRUE, 5);
+ gtk_widget_show (swin);
+
{
- GtkWidget *w;
-
priv->dense_cal_model = gnc_sx_instance_dense_cal_adapter_new(GNC_SX_INSTANCE_MODEL(priv->instances));
priv->gdcal = GNC_DENSE_CAL(gnc_dense_cal_new_with_model(GNC_DENSE_CAL_MODEL(priv->dense_cal_model)));
g_object_ref_sink(priv->gdcal);
@@ -366,9 +431,7 @@
gnc_dense_cal_set_months_per_col(priv->gdcal, 4);
gnc_dense_cal_set_num_months(priv->gdcal, 12);
- w = glade_xml_get_widget(priv->gxml, "upcoming_cal_hbox");
- gtk_container_add(GTK_CONTAINER(w), GTK_WIDGET(priv->gdcal));
- gtk_widget_show_all(w);
+ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(swin), GTK_WIDGET(priv->gdcal));
}
priv->gnc_component_id = gnc_register_gui_component("plugin-page-sx-list",
@@ -379,6 +442,7 @@
return priv->widget;
}
+
static void
gnc_plugin_page_sx_list_destroy_widget (GncPluginPage *plugin_page)
{
@@ -401,6 +465,7 @@
}
}
+
/** Save enough information about this page that it can be recreated next time
* the user starts gnucash.
* @param plugin_page The page to save.
@@ -430,6 +495,7 @@
gtk_paned_get_position(GTK_PANED(priv->widget)));
}
+
/**
* Create a new sx list page based on the information saved during a previous
* instantiation of gnucash.
@@ -478,6 +544,7 @@
return GNC_PLUGIN_PAGE(page);
}
+
static void
gnc_plugin_page_sx_list_cmd_new(GtkAction *action, GncPluginPageSxList *page)
{
@@ -500,18 +567,21 @@
gnc_ui_scheduled_xaction_editor_dialog_create(new_sx, new_sx_flag);
}
+
static void
_edit_sx(gpointer data, gpointer user_data)
{
gnc_ui_scheduled_xaction_editor_dialog_create((SchedXaction*)data, FALSE);
}
+
static SchedXaction*
_argument_reorder_fn(GtkTreePath* list_path_data, GncTreeViewSxList* user_tree_view)
{
return gnc_tree_view_sx_list_get_sx_from_path(user_tree_view, list_path_data);
}
+
static void
gnc_plugin_page_sx_list_cmd_edit(GtkAction *action, GncPluginPageSxList *page)
{
@@ -537,6 +607,7 @@
g_list_free(selected_paths);
}
+
static void
gppsl_row_activated_cb(GtkTreeView *tree_view,
GtkTreePath *path,
@@ -564,6 +635,7 @@
xaccSchedXactionDestroy(sx);
}
+
static void
gnc_plugin_page_sx_list_cmd_delete(GtkAction *action, GncPluginPageSxList *page)
{
Modified: gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.h
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.h 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.h 2011-09-11 10:58:01 UTC (rev 21243)
@@ -1,24 +1,37 @@
-/*
- * gnc-plugin-page-sx-list.h
- *
- * Copyright (C) 2006 Josh Sled <jsled at asynchronous.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 and/or version 3 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, contact:
- *
- * Free Software Foundation Voice: +1-617-542-5942
- * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
- * Boston, MA 02110-1301, USA gnu at gnu.org
- */
+/********************************************************************\
+ * gnc-plugin-page-sx-list.h : scheduled transaction plugin *
+ * *
+ * Copyright (C) 2006 Joshua Sled <jsled at asynchronous.org> *
+ * Copyright (C) 2011 Robert Fewell *
+ * *
+ * This program is free software; you can redistribute it and/or *
+ * modify it under the terms of version 2 and/or version 3 of the *
+ * GNU General Public License as published by the Free Software *
+ * Foundation. *
+ * *
+ * As a special exception, permission is granted to link the binary *
+ * module resultant from this code with the OpenSSL project's *
+ * "OpenSSL" library (or modified versions of it that use the same *
+ * license as the "OpenSSL" library), and distribute the linked *
+ * executable. You must obey the GNU General Public License in all *
+ * respects for all of the code used other than "OpenSSL". If you *
+ * modify this file, you may extend this exception to your version *
+ * of the file, but you are not obligated to do so. If you do not *
+ * wish to do so, delete this exception statement from your version *
+ * of this file. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License*
+ * along with this program; if not, contact: *
+ * *
+ * Free Software Foundation Voice: +1-617-542-5942 *
+ * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
+ * Boston, MA 02110-1301, USA gnu at gnu.org *
+\********************************************************************/
/** @addtogroup ContentPlugins
@{ */
Modified: gnucash/trunk/src/gnome/gtkbuilder/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome/gtkbuilder/Makefile.am 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/gtkbuilder/Makefile.am 2011-09-11 10:58:01 UTC (rev 21243)
@@ -10,13 +10,13 @@
dialog-fincalc.glade \
dialog-price.glade \
dialog-print-check.glade \
+ dialog-sx.glade \
gnc-plugin-page-budget.glade \
newuser.glade \
owner.glade \
progress.glade \
reconcile.glade \
register.glade \
- sched-xact.glade \
tax.glade \
userpass.glade \
window-autoclear.glade
Copied: gnucash/trunk/src/gnome/gtkbuilder/dialog-sx.glade (from rev 21241, gnucash/trunk/src/gnome/gtkbuilder/sched-xact.glade)
===================================================================
--- gnucash/trunk/src/gnome/gtkbuilder/dialog-sx.glade (rev 0)
+++ gnucash/trunk/src/gnome/gtkbuilder/dialog-sx.glade 2011-09-11 10:58:01 UTC (rev 21243)
@@ -0,0 +1,1692 @@
+<?xml version="1.0"?>
+<interface>
+ <requires lib="gtk+" version="2.16"/>
+ <!-- interface-naming-policy toplevel-contextual -->
+ <object class="GtkDialog" id="Account Deletion">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="title" translatable="yes">Account Deletion</property>
+ <property name="window_position">center</property>
+ <property name="default_width">320</property>
+ <property name="default_height">240</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox24">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area24">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="okbutton1">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox181">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847994">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">The following Scheduled Transactions reference the deleted account and must now be corrected. Press OK to edit them.</property>
+ <property name="wrap">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow20">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="sx_list">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="headers_visible">False</property>
+ <property name="enable_search">False</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-5">okbutton1</action-widget>
+ </action-widgets>
+ </object>
+ <object class="GtkWindow" id="Preferences">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Preferences</property>
+ <child>
+ <object class="GtkTable" id="sx_prefs">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="n_rows">8</property>
+ <property name="n_columns">4</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="label847981">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes"><b>Since Last Run Dialog</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847982">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847983">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes"><b>Transaction Editor Defaults</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="gconf/dialogs/scheduled_trans/since_last_run/show_at_file_open">
+ <property name="label" translatable="yes">_Run when data file opened</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Show the "since last run" window when a file is opened.</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="right_attach">4</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ <property name="x_padding">12</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="gconf/dialogs/scheduled_trans/transaction_editor/create_auto">
+ <property name="label" translatable="yes">_Auto-create new transactions</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Set the 'auto-create' flag on newly created scheduled transactions.</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_sx_check_toggled" swapped="no"/>
+ </object>
+ <packing>
+ <property name="right_attach">4</property>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ <property name="x_padding">12</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment25">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkLabel" id="create_days_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Crea_te in advance:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">gconf/dialogs/scheduled_trans/transaction_editor/create_days</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="top_attach">6</property>
+ <property name="bottom_attach">7</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment26">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkLabel" id="remind_days_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">R_emind in advance:</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="top_attach">7</property>
+ <property name="bottom_attach">8</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="remind_days_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkSpinButton" id="gconf/dialogs/scheduled_trans/transaction_editor/remind_days">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip_text" translatable="yes">Begin notifications this many days before the transaction is created.</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">remind_days</property>
+ <property name="climb_rate">1</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847986">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">days</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">7</property>
+ <property name="bottom_attach">8</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="create_days_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkSpinButton" id="gconf/dialogs/scheduled_trans/transaction_editor/create_days">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip_text" translatable="yes">Create the transaction this many days before its effective date.</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">create_days_adj</property>
+ <property name="climb_rate">1</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847985">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">days</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">6</property>
+ <property name="bottom_attach">7</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="gconf/dialogs/scheduled_trans/transaction_editor/notify">
+ <property name="label" translatable="yes">_Notify before transactions are created </property>
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Set the 'notify' flag on newly created scheduled transactions.</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_sx_check_toggled" swapped="no"/>
+ </object>
+ <packing>
+ <property name="right_attach">4</property>
+ <property name="top_attach">5</property>
+ <property name="bottom_attach">6</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ <property name="x_padding">30</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ <object class="GtkDialog" id="Scheduled Transaction Editor">
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Edit Scheduled Transaction</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox17">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">8</property>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area17">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="help_button">
+ <property name="label">gtk-help</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="cancel_button">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="ok_button">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="editor-vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <child>
+ <object class="GtkHBox" id="hbox96">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847707">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="xpad">5</property>
+ <property name="label" translatable="yes"><b>Name</b></property>
+ <property name="use_markup">True</property>
+ <property name="use_underline">True</property>
+ <property name="justify">center</property>
+ <property name="mnemonic_widget">sxe_name</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment31">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkEntry" id="sxe_name">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">6</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkNotebook" id="editor_notebook">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <child>
+ <object class="GtkVBox" id="vbox106">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847991">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847965">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="xpad">3</property>
+ <property name="label" translatable="yes"><b>Options</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">4</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment29">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkTable" id="table2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="n_rows">5</property>
+ <property name="n_columns">2</property>
+ <property name="column_spacing">6</property>
+ <child>
+ <object class="GtkCheckButton" id="advance_opt">
+ <property name="label" translatable="yes">Create in advance:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="remind_opt">
+ <property name="label" translatable="yes">Remind in advance:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="remind_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkSpinButton" id="remind_days">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">remind_days_adj</property>
+ <property name="climb_rate">1</property>
+ <property name="snap_to_ticks">True</property>
+ <property name="numeric">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847810">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes"> days</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="autocreate_opt">
+ <property name="label" translatable="yes">Create automatically</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Conditional on splits not having variables</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="advance_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkSpinButton" id="advance_days">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">advance_days_adj</property>
+ <property name="climb_rate">1</property>
+ <property name="snap_to_ticks">True</property>
+ <property name="numeric">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847808">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes"> days</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment30">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkCheckButton" id="notify_opt">
+ <property name="label" translatable="yes">Notify me when created</property>
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ <property name="x_padding">24</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="enabled_opt">
+ <property name="label" translatable="yes">Enabled</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847987">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847966">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="xpad">3</property>
+ <property name="label" translatable="yes"><b>Occurrences</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">4</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment27">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkVBox" id="vbox179">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkHBox" id="hbox172">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847964">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Last Occurred: </property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="last_occur_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label">YYYY-MM-DD</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847988">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Repeats:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment28">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkTable" id="table1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="n_rows">4</property>
+ <property name="n_columns">3</property>
+ <child>
+ <object class="GtkRadioButton" id="rb_noend">
+ <property name="label" translatable="yes">Forever</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton" id="rb_enddate">
+ <property name="label" translatable="yes">Until:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">rb_noend</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton" id="rb_num_occur">
+ <property name="label" translatable="yes">For:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">rb_noend</property>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847989">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="xpad">3</property>
+ <property name="label" translatable="yes">occurrences</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847876">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="xpad">3</property>
+ <property name="label" translatable="yes">remaining</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="end_date_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="end_spin">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">end_spin_adj</property>
+ <property name="climb_rate">1</property>
+ <property name="numeric">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="remain_spin">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">remain_spin_adj</property>
+ <property name="climb_rate">1</property>
+ <property name="numeric">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">5</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847995">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Overview</property>
+ </object>
+ <packing>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox184">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkHBox" id="gncfreq_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="example_cal_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847996">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Frequency</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="register_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">1</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847997">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Template Transaction</property>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-11">help_button</action-widget>
+ <action-widget response="0">cancel_button</action-widget>
+ <action-widget response="0">ok_button</action-widget>
+ </action-widgets>
+ </object>
+ <object class="GtkAdjustment" id="advance_days_adj">
+ <property name="upper">731</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">30</property>
+ </object>
+ <object class="GtkAdjustment" id="create_days_adj">
+ <property name="upper">10000000</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="end_spin_adj">
+ <property name="upper">1000</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkListStore" id="freq_liststore">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">Daily</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Weekly</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Bi-Weekly</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Monthly</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Quarterly</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Yearly</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkAdjustment" id="remain_spin_adj">
+ <property name="upper">1000</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="remind_days">
+ <property name="upper">10000000</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="remind_days_adj">
+ <property name="upper">731</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">30</property>
+ </object>
+ <object class="GtkDialog" id="since-last-run-dialog">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Since Last Run...</property>
+ <property name="window_position">center-on-parent</property>
+ <property name="default_width">640</property>
+ <property name="default_height">480</property>
+ <property name="destroy_with_parent">True</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox25">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area25">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="cancelbutton2">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="okbutton2">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox182">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow21">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="instance_view">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox179">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkFixed" id="fixed1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="review_txn_toggle">
+ <property name="label" translatable="yes">_Review created transactions</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-6">cancelbutton2</action-widget>
+ <action-widget response="-5">okbutton2</action-widget>
+ </action-widgets>
+ </object>
+ <object class="GtkDialog" id="sx_from_real_trans">
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Make Scheduled Transaction</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox23">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">8</property>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area23">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="advanced_button">
+ <property name="label" translatable="yes">Advanced...</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="cancel_button">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="ok_button">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox171">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkVBox" id="vbox146">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkTable" id="param_table">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="n_rows">4</property>
+ <property name="n_columns">2</property>
+ <child>
+ <object class="GtkLabel" id="label847842">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="xpad">3</property>
+ <property name="label" translatable="yes">Name:</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847843">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="xpad">3</property>
+ <property name="label" translatable="yes">Frequency:</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847875">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="xpad">3</property>
+ <property name="label" translatable="yes">Start Date:</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="name_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="freq_combo_box">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">freq_liststore</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext1"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="frame78">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">2</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkVBox" id="vbox147">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkRadioButton" id="never_end_button">
+ <property name="label" translatable="yes">Never End</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="end_date_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkRadioButton" id="end_on_date_button">
+ <property name="label" translatable="yes">End Date:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">never_end_button</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox164">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkRadioButton" id="n_occurrences_button">
+ <property name="label" translatable="yes">Number of Occurrences:</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">never_end_button</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="n_occurrences_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="max_length">4</property>
+ <property name="invisible_char">●</property>
+ <property name="text" translatable="yes">1</property>
+ <property name="invisible_char_set">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label847972">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="yalign">0.20000000298023224</property>
+ <property name="label" translatable="yes">End: </property>
+ <property name="use_markup">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="ex_cal_frame">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="100">advanced_button</action-widget>
+ <action-widget response="-6">cancel_button</action-widget>
+ <action-widget response="-5">ok_button</action-widget>
+ </action-widgets>
+ </object>
+</interface>
Modified: gnucash/trunk/src/gnome/gtkbuilder/sched-xact.glade
===================================================================
--- gnucash/trunk/src/gnome/gtkbuilder/sched-xact.glade 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome/gtkbuilder/sched-xact.glade 2011-09-11 10:58:01 UTC (rev 21243)
@@ -1,3134 +0,0 @@
-<?xml version="1.0"?>
-<interface>
- <requires lib="gtk+" version="2.16"/>
- <!-- interface-naming-policy toplevel-contextual -->
- <object class="GtkDialog" id="Scheduled Transaction Editor">
- <property name="title" translatable="yes">Edit Scheduled Transaction</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox17">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
- <child>
- <object class="GtkVBox" id="editor-vbox">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkHBox" id="hbox96">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847707">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes"><b>Name</b></property>
- <property name="use_markup">True</property>
- <property name="use_underline">True</property>
- <property name="justify">center</property>
- <property name="mnemonic_widget">sxe_name</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment31">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkEntry" id="sxe_name">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkNotebook" id="editor_notebook">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <child>
- <object class="GtkVBox" id="vbox106">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkLabel" id="label847991">
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847965">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Options</b></property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">4</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment29">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkTable" id="table2">
- <property name="visible">True</property>
- <property name="n_rows">5</property>
- <property name="n_columns">2</property>
- <property name="column_spacing">6</property>
- <child>
- <object class="GtkCheckButton" id="advance_opt">
- <property name="label" translatable="yes">Create in advance:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="remind_opt">
- <property name="label" translatable="yes">Remind in advance:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="remind_hbox">
- <property name="visible">True</property>
- <child>
- <object class="GtkSpinButton" id="remind_days">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment13</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847810">
- <property name="visible">True</property>
- <property name="label" translatable="yes"> days</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="autocreate_opt">
- <property name="label" translatable="yes">Create automatically</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="tooltip_text" translatable="yes">Conditional on splits not having variables</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="advance_hbox">
- <property name="visible">True</property>
- <child>
- <object class="GtkSpinButton" id="advance_days">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment12</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847808">
- <property name="visible">True</property>
- <property name="label" translatable="yes"> days</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment30">
- <property name="visible">True</property>
- <child>
- <object class="GtkCheckButton" id="notify_opt">
- <property name="label" translatable="yes">Notify me when created</property>
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- <property name="x_padding">24</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="enabled_opt">
- <property name="label" translatable="yes">Enabled</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847987">
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847966">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Occurrences</b></property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">4</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment27">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkVBox" id="vbox179">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkHBox" id="hbox172">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847964">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Last Occurred: </property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="last_occur_label">
- <property name="visible">True</property>
- <property name="label">YYYY-MM-DD</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847988">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Repeats:</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment28">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkTable" id="table1">
- <property name="visible">True</property>
- <property name="n_rows">4</property>
- <property name="n_columns">3</property>
- <child>
- <object class="GtkRadioButton" id="rb_noend">
- <property name="label" translatable="yes">Forever</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkRadioButton" id="rb_enddate">
- <property name="label" translatable="yes">Until:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">rb_noend</property>
- </object>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkRadioButton" id="rb_num_occur">
- <property name="label" translatable="yes">For:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">rb_noend</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847989">
- <property name="visible">True</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">occurrences</property>
- </object>
- <packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847876">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">remaining</property>
- </object>
- <packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="end_date_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">3</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="end_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment11</property>
- <property name="climb_rate">1</property>
- <property name="numeric">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="remain_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment10</property>
- <property name="climb_rate">1</property>
- <property name="numeric">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">5</property>
- </packing>
- </child>
- </object>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847995">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Overview</property>
- </object>
- <packing>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkVBox" id="vbox184">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkHBox" id="gncfreq_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="example_cal_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847996">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Frequency</property>
- </object>
- <packing>
- <property name="position">1</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkVBox" id="register_vbox">
- <property name="visible">True</property>
- <property name="border_width">1</property>
- <property name="orientation">vertical</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847997">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Template Transaction</property>
- </object>
- <packing>
- <property name="position">2</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area17">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="help_button">
- <property name="label">gtk-help</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="cancel_button">
- <property name="label">gtk-cancel</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="ok_button">
- <property name="label">gtk-ok</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- </child>
- <action-widgets>
- <action-widget response="-11">help_button</action-widget>
- <action-widget response="0">cancel_button</action-widget>
- <action-widget response="0">ok_button</action-widget>
- </action-widgets>
- </object>
- <object class="GtkWindow" id="GNCFrequency widget">
- <property name="title">This window should never be realized.</property>
- <child>
- <object class="GtkEventBox" id="eventbox2">
- <property name="visible">True</property>
- <child>
- <object class="GtkVBox" id="gncfreq_vbox">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkTable" id="gncfreq_table">
- <property name="visible">True</property>
- <property name="n_rows">2</property>
- <property name="n_columns">2</property>
- <child>
- <object class="GtkLabel" id="freq label">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">Frequency:</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="startdate label">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">Start Date:</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="freq_combobox">
- <property name="visible">True</property>
- <property name="model">liststore11</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext7"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkNotebook" id="gncfreq_nb">
- <property name="visible">True</property>
- <property name="show_tabs">False</property>
- <property name="scrollable">True</property>
- <child>
- <object class="GtkLabel" id="label847767">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Not scheduled</property>
- <property name="justify">center</property>
- </object>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847753">
- <property name="visible">True</property>
- <property name="label" translatable="yes">None</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox114">
- <property name="visible">True</property>
- <property name="homogeneous">True</property>
- <child>
- <object class="GtkLabel" id="label847776">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Select occurrence date above.</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847735">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Once</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="position">1</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox115">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847746">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">4</property>
- <property name="label" translatable="yes">Every </property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="daily_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment9</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847747">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">days.</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847736">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Daily</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="position">2</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkVBox" id="vbox113">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkHBox" id="hbox110">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847748">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Every</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="weekly_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment8</property>
- <property name="climb_rate">1</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847749">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">weeks.</property>
- <property name="justify">fill</property>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="frame51">
- <property name="visible">True</property>
- <property name="border_width">2</property>
- <property name="label_xalign">0.5</property>
- <child>
- <object class="GtkHBox" id="hbox122">
- <property name="visible">True</property>
- <child>
- <object class="GtkVBox" id="vbox114">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkCheckButton" id="wd_check_sun">
- <property name="label" translatable="yes">Sunday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="wd_check_mon">
- <property name="label" translatable="yes">Monday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="wd_check_tue">
- <property name="label" translatable="yes">Tuesday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkVBox" id="vbox117">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkCheckButton" id="wd_check_wed">
- <property name="label" translatable="yes">Wednesday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="wd_check_thu">
- <property name="label" translatable="yes">Thursday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="wd_check_fri">
- <property name="label" translatable="yes">Friday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkVBox" id="vbox162">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkCheckButton" id="wd_check_sat">
- <property name="label" translatable="yes">Saturday</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- </child>
- <child type="label">
- <object class="GtkLabel" id="label847969">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Days</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">3</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847738">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Weekly</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="position">3</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox112">
- <property name="visible">True</property>
- <child>
- <object class="GtkVBox" id="vbox119">
- <property name="visible">True</property>
- <property name="border_width">5</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkHBox" id="hbox126">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847757">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Every</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="semimonthly_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment7</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847758">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">months.</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox127">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847759">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">First on the:</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="semimonthly_first">
- <property name="visible">True</property>
- <property name="model">liststore10</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext6"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847751">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">except on weekends:</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="semimonthly_first_weekend">
- <property name="visible">True</property>
- <property name="model">liststore9</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext5"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">3</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox128">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847760">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">then on the:</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="semimonthly_second">
- <property name="visible">True</property>
- <property name="model">liststore8</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext4"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847752">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">except on weekends:</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="semimonthly_second_weekend">
- <property name="visible">True</property>
- <property name="model">liststore7</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext3"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">3</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">4</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847740">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Semi-Monthly</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="position">4</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox113">
- <property name="visible">True</property>
- <child>
- <object class="GtkVBox" id="vbox118">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkHBox" id="hbox124">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847754">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Every </property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="monthly_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment6</property>
- <property name="climb_rate">1</property>
- <property name="snap_to_ticks">True</property>
- <property name="numeric">True</property>
- <property name="wrap">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847755">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">months.</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox125">
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="label847756">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">On the</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="monthly_day">
- <property name="visible">True</property>
- <property name="model">liststore6</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext2"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847750">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">except on weekends:</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="monthly_weekend">
- <property name="visible">True</property>
- <property name="model">liststore5</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext1"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="padding">3</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="padding">3</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">5</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label847741">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Monthly</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="position">5</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- </child>
- </object>
- <object class="GtkDialog" id="sx_from_real_trans">
- <property name="title" translatable="yes">Make Scheduled Transaction</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox23">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
- <child>
- <object class="GtkHBox" id="hbox171">
- <property name="visible">True</property>
- <child>
- <object class="GtkVBox" id="vbox146">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkTable" id="param_table">
- <property name="visible">True</property>
- <property name="n_rows">3</property>
- <property name="n_columns">2</property>
- <child>
- <object class="GtkLabel" id="label847842">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">Name:</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847843">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">Frequency:</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847875">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="xpad">3</property>
- <property name="label" translatable="yes">Start Date: </property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry" id="name_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="freq_combo_box">
- <property name="visible">True</property>
- <property name="model">liststore4</property>
- <child>
- <object class="GtkCellRendererText" id="cellrenderertext1"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="frame78">
- <property name="visible">True</property>
- <property name="border_width">2</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
- <child>
- <object class="GtkAlignment" id="alignment36">
- <property name="visible">True</property>
- <property name="left_padding">10</property>
- <child>
- <object class="GtkVBox" id="vbox147">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkRadioButton" id="never_end_button">
- <property name="label" translatable="yes">Never End</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="end_date_hbox">
- <property name="visible">True</property>
- <child>
- <object class="GtkRadioButton" id="end_on_date_button">
- <property name="label" translatable="yes">End Date:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">never_end_button</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox164">
- <property name="visible">True</property>
- <child>
- <object class="GtkRadioButton" id="n_occurrences_button">
- <property name="label" translatable="yes">Number of Occurrences:</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <property name="group">never_end_button</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child type="label">
- <object class="GtkLabel" id="label847972">
- <property name="visible">True</property>
- <property name="label" translatable="yes"><b>End</b></property>
- <property name="use_markup">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="ex_cal_frame">
- <property name="visible">True</property>
- <property name="label_xalign">0</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area23">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="advanced_button">
- <property name="label" translatable="yes">Advanced...</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="cancel_button">
- <property name="label">gtk-cancel</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="ok_button">
- <property name="label">gtk-ok</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- </child>
- <action-widgets>
- <action-widget response="100">advanced_button</action-widget>
- <action-widget response="-6">cancel_button</action-widget>
- <action-widget response="-5">ok_button</action-widget>
- </action-widgets>
- </object>
- <object class="GtkMenu" id="Since Last Run popup">
- <property name="visible">True</property>
- <child>
- <object class="GtkMenuItem" id="creation_state">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Creation State</property>
- <property name="use_underline">True</property>
- <child type="submenu">
- <object class="GtkMenu" id="creation_state_menu">
- <property name="visible">True</property>
- <child>
- <object class="GtkImageMenuItem" id="ignore">
- <property name="label">Ignore</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <property name="accel_group">accelgroup1</property>
- <signal name="activate" handler="on_ignore_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="postpone">
- <property name="label">Postpone</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <property name="accel_group">accelgroup1</property>
- <signal name="activate" handler="on_postpone_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="create">
- <property name="label">Create</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <property name="accel_group">accelgroup1</property>
- <signal name="activate" handler="on_create_activate"/>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- </object>
- <object class="GtkWindow" id="Preferences">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Preferences</property>
- <child>
- <object class="GtkTable" id="sx_prefs">
- <property name="visible">True</property>
- <property name="border_width">6</property>
- <property name="n_rows">11</property>
- <property name="n_columns">4</property>
- <property name="column_spacing">12</property>
- <child>
- <object class="GtkLabel" id="label847981">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Since Last Run Dialog</b></property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847982">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847983">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Transaction Editor Defaults</b></property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="gconf/dialogs/scheduled_trans/since_last_run/show_at_file_open">
- <property name="label" translatable="yes">_Run when data file opened</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="tooltip_text" translatable="yes">Show the "since last run" window when a file is opened.</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="right_attach">4</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- <property name="x_padding">12</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="gconf/dialogs/scheduled_trans/transaction_editor/create_auto">
- <property name="label" translatable="yes">_Auto-create new transactions</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="tooltip_text" translatable="yes">Set the 'auto-create' flag on newly created scheduled transactions.</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <signal name="toggled" handler="on_sx_check_toggled"/>
- </object>
- <packing>
- <property name="right_attach">4</property>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- <property name="x_padding">12</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment25">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkLabel" id="create_days_label">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Crea_te in advance:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">gconf/dialogs/scheduled_trans/transaction_editor/create_days</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="top_attach">6</property>
- <property name="bottom_attach">7</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment26">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkLabel" id="remind_days_label">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">R_emind in advance:</property>
- <property name="use_underline">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="top_attach">7</property>
- <property name="bottom_attach">8</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="remind_days_hbox">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkSpinButton" id="gconf/dialogs/scheduled_trans/transaction_editor/remind_days">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text" translatable="yes">Begin notifications this many days before the transaction is created.</property>
- <property name="adjustment">adjustment2</property>
- <property name="climb_rate">1</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847986">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">days</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">7</property>
- <property name="bottom_attach">8</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="create_days_hbox">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkSpinButton" id="gconf/dialogs/scheduled_trans/transaction_editor/create_days">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text" translatable="yes">Create the transaction this many days before its effective date.</property>
- <property name="adjustment">adjustment1</property>
- <property name="climb_rate">1</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847985">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">days</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">6</property>
- <property name="bottom_attach">7</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="gconf/dialogs/scheduled_trans/transaction_editor/notify">
- <property name="label" translatable="yes">_Notify before transactions are created </property>
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="tooltip_text" translatable="yes">Set the 'notify' flag on newly created scheduled transactions.</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <signal name="toggled" handler="on_sx_check_toggled"/>
- </object>
- <packing>
- <property name="right_attach">4</property>
- <property name="top_attach">5</property>
- <property name="bottom_attach">6</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- <property name="x_padding">30</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- </child>
- </object>
- <object class="GtkListStore" id="liststore1">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">Current Year</col>
- </row>
- <row>
- <col id="0" translatable="yes">Now + 1 Year</col>
- </row>
- <row>
- <col id="0" translatable="yes">Whole Loan</col>
- </row>
- <row>
- <col id="0" translatable="yes">Custom</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore2">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">Fixed Rate</col>
- </row>
- <row>
- <col id="0" translatable="yes">3/1 Year ARM</col>
- </row>
- <row>
- <col id="0" translatable="yes">5/1 Year ARM</col>
- </row>
- <row>
- <col id="0" translatable="yes">7/1 Year ARM</col>
- </row>
- <row>
- <col id="0" translatable="yes">10/1 Year ARM</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore3">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">months</col>
- </row>
- <row>
- <col id="0" translatable="yes">years</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore4">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">Daily</col>
- </row>
- <row>
- <col id="0" translatable="yes">Weekly</col>
- </row>
- <row>
- <col id="0" translatable="yes">Bi-Weekly</col>
- </row>
- <row>
- <col id="0" translatable="yes">Monthly</col>
- </row>
- <row>
- <col id="0" translatable="yes">Quarterly</col>
- </row>
- <row>
- <col id="0" translatable="yes">Yearly</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore5">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">No change</col>
- </row>
- <row>
- <col id="0" translatable="yes">Use previous weekday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Use next weekday</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore6">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">1st</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th</col>
- </row>
- <row>
- <col id="0" translatable="yes">5th</col>
- </row>
- <row>
- <col id="0" translatable="yes">6th</col>
- </row>
- <row>
- <col id="0" translatable="yes">7th</col>
- </row>
- <row>
- <col id="0" translatable="yes">8th</col>
- </row>
- <row>
- <col id="0" translatable="yes">9th</col>
- </row>
- <row>
- <col id="0" translatable="yes">10th</col>
- </row>
- <row>
- <col id="0" translatable="yes">11th</col>
- </row>
- <row>
- <col id="0" translatable="yes">12th</col>
- </row>
- <row>
- <col id="0" translatable="yes">13th</col>
- </row>
- <row>
- <col id="0" translatable="yes">14th</col>
- </row>
- <row>
- <col id="0" translatable="yes">15th</col>
- </row>
- <row>
- <col id="0" translatable="yes">16th</col>
- </row>
- <row>
- <col id="0" translatable="yes">17th</col>
- </row>
- <row>
- <col id="0" translatable="yes">18th</col>
- </row>
- <row>
- <col id="0" translatable="yes">19th</col>
- </row>
- <row>
- <col id="0" translatable="yes">20th</col>
- </row>
- <row>
- <col id="0" translatable="yes">21st</col>
- </row>
- <row>
- <col id="0" translatable="yes">22nd</col>
- </row>
- <row>
- <col id="0" translatable="yes">23rd</col>
- </row>
- <row>
- <col id="0" translatable="yes">24th</col>
- </row>
- <row>
- <col id="0" translatable="yes">25th</col>
- </row>
- <row>
- <col id="0" translatable="yes">26th</col>
- </row>
- <row>
- <col id="0" translatable="yes">27th</col>
- </row>
- <row>
- <col id="0" translatable="yes">28th</col>
- </row>
- <row>
- <col id="0" translatable="yes">29th</col>
- </row>
- <row>
- <col id="0" translatable="yes">30th</col>
- </row>
- <row>
- <col id="0" translatable="yes">31st</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last day of month</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Monday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Tuesday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Wednesday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Thursday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Friday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Saturday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Sunday</col>
- </row>
- <row>
- <col id="0" translatable="yes">1st Mon</col>
- </row>
- <row>
- <col id="0" translatable="yes">1st Tue</col>
- </row>
- <row>
- <col id="0" translatable="yes">1st Wed</col>
- </row>
- <row>
- <col id="0" translatable="yes">1st Thu</col>
- </row>
- <row>
- <col id="0" translatable="yes">1st Fri</col>
- </row>
- <row>
- <col id="0" translatable="yes">1st Sat</col>
- </row>
- <row>
- <col id="0" translatable="yes">1st Sun</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd Mon</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd Tue</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd Wed</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd Thu</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd Fri</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd Sat</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd Sun</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd Mon</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd Tue</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd Wed</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd Thu</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd Fri</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd Sat</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd Sun</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th Mon</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th Tue</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th Wed</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th Thu</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th Fri</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th Sat</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th Sun</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore7">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">No change</col>
- </row>
- <row>
- <col id="0" translatable="yes">Use previous weekday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Use next weekday</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore8">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">1st</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th</col>
- </row>
- <row>
- <col id="0" translatable="yes">5th</col>
- </row>
- <row>
- <col id="0" translatable="yes">6th</col>
- </row>
- <row>
- <col id="0" translatable="yes">7th</col>
- </row>
- <row>
- <col id="0" translatable="yes">8th</col>
- </row>
- <row>
- <col id="0" translatable="yes">9th</col>
- </row>
- <row>
- <col id="0" translatable="yes">10th</col>
- </row>
- <row>
- <col id="0" translatable="yes">11th</col>
- </row>
- <row>
- <col id="0" translatable="yes">12th</col>
- </row>
- <row>
- <col id="0" translatable="yes">13th</col>
- </row>
- <row>
- <col id="0" translatable="yes">14th</col>
- </row>
- <row>
- <col id="0" translatable="yes">15th</col>
- </row>
- <row>
- <col id="0" translatable="yes">16th</col>
- </row>
- <row>
- <col id="0" translatable="yes">17th</col>
- </row>
- <row>
- <col id="0" translatable="yes">18th</col>
- </row>
- <row>
- <col id="0" translatable="yes">19th</col>
- </row>
- <row>
- <col id="0" translatable="yes">20th</col>
- </row>
- <row>
- <col id="0" translatable="yes">21st</col>
- </row>
- <row>
- <col id="0" translatable="yes">22nd</col>
- </row>
- <row>
- <col id="0" translatable="yes">23rd</col>
- </row>
- <row>
- <col id="0" translatable="yes">24th</col>
- </row>
- <row>
- <col id="0" translatable="yes">25th</col>
- </row>
- <row>
- <col id="0" translatable="yes">26th</col>
- </row>
- <row>
- <col id="0" translatable="yes">27th</col>
- </row>
- <row>
- <col id="0" translatable="yes">28th</col>
- </row>
- <row>
- <col id="0" translatable="yes">29th</col>
- </row>
- <row>
- <col id="0" translatable="yes">30th</col>
- </row>
- <row>
- <col id="0" translatable="yes">31st</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last day of month</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Monday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Tuesday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Wednesday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Thursday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Friday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Saturday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Sunday</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore9">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">No change</col>
- </row>
- <row>
- <col id="0" translatable="yes">Use previous weekday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Use next weekday</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore10">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">1st</col>
- </row>
- <row>
- <col id="0" translatable="yes">2nd</col>
- </row>
- <row>
- <col id="0" translatable="yes">3rd</col>
- </row>
- <row>
- <col id="0" translatable="yes">4th</col>
- </row>
- <row>
- <col id="0" translatable="yes">5th</col>
- </row>
- <row>
- <col id="0" translatable="yes">6th</col>
- </row>
- <row>
- <col id="0" translatable="yes">7th</col>
- </row>
- <row>
- <col id="0" translatable="yes">8th</col>
- </row>
- <row>
- <col id="0" translatable="yes">9th</col>
- </row>
- <row>
- <col id="0" translatable="yes">10th</col>
- </row>
- <row>
- <col id="0" translatable="yes">11th</col>
- </row>
- <row>
- <col id="0" translatable="yes">12th</col>
- </row>
- <row>
- <col id="0" translatable="yes">13th</col>
- </row>
- <row>
- <col id="0" translatable="yes">14th</col>
- </row>
- <row>
- <col id="0" translatable="yes">15th</col>
- </row>
- <row>
- <col id="0" translatable="yes">16th</col>
- </row>
- <row>
- <col id="0" translatable="yes">17th</col>
- </row>
- <row>
- <col id="0" translatable="yes">18th</col>
- </row>
- <row>
- <col id="0" translatable="yes">19th</col>
- </row>
- <row>
- <col id="0" translatable="yes">20th</col>
- </row>
- <row>
- <col id="0" translatable="yes">21st</col>
- </row>
- <row>
- <col id="0" translatable="yes">22nd</col>
- </row>
- <row>
- <col id="0" translatable="yes">23rd</col>
- </row>
- <row>
- <col id="0" translatable="yes">24th</col>
- </row>
- <row>
- <col id="0" translatable="yes">25th</col>
- </row>
- <row>
- <col id="0" translatable="yes">26th</col>
- </row>
- <row>
- <col id="0" translatable="yes">27th</col>
- </row>
- <row>
- <col id="0" translatable="yes">28th</col>
- </row>
- <row>
- <col id="0" translatable="yes">29th</col>
- </row>
- <row>
- <col id="0" translatable="yes">30th</col>
- </row>
- <row>
- <col id="0" translatable="yes">31st</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last day of month</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Monday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Tuesday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Wednesday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Thursday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Friday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Saturday</col>
- </row>
- <row>
- <col id="0" translatable="yes">Last Sunday</col>
- </row>
- </data>
- </object>
- <object class="GtkListStore" id="liststore11">
- <columns>
- <!-- column-name item text -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0" translatable="yes">None</col>
- </row>
- <row>
- <col id="0" translatable="yes">Once</col>
- </row>
- <row>
- <col id="0" translatable="yes">Daily</col>
- </row>
- <row>
- <col id="0" translatable="yes">Weekly</col>
- </row>
- <row>
- <col id="0" translatable="yes">Semi-Monthly</col>
- </row>
- <row>
- <col id="0" translatable="yes">Monthly</col>
- </row>
- </data>
- </object>
- <object class="GtkDialog" id="Account Deletion">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Account Deletion</property>
- <property name="window_position">center</property>
- <property name="default_width">320</property>
- <property name="default_height">240</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox24">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkVBox" id="vbox181">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkLabel" id="label847994">
- <property name="visible">True</property>
- <property name="label" translatable="yes">The following Scheduled Transactions reference the deleted account, and must now be corrected. Press OK to edit them.</property>
- <property name="wrap">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkScrolledWindow" id="scrolledwindow20">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">in</property>
- <child>
- <object class="GtkTreeView" id="sx_list">
- <property name="visible">True</property>
- <property name="headers_visible">False</property>
- <property name="enable_search">False</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area24">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="okbutton1">
- <property name="label">gtk-ok</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- </child>
- <action-widgets>
- <action-widget response="-5">okbutton1</action-widget>
- </action-widgets>
- </object>
- <object class="GtkWindow" id="sx list plugin page content">
- <property name="visible">True</property>
- <property name="title" translatable="yes">window1</property>
- <child>
- <object class="GtkVPaned" id="sx-list-vbox">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkVBox" id="vbox183">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkLabel" id="label847992">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Transactions</b></property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment34">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkHBox" id="hbox">
- <property name="visible">True</property>
- <property name="spacing">12</property>
- <child>
- <object class="GtkScrolledWindow" id="sx-list-tree-view-container">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">in</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="resize">True</property>
- <property name="shrink">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkVBox" id="upcoming mumble">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkLabel" id="label847993">
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label847970">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Upcoming</b></property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment35">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkHBox" id="upcoming_cal_hbox">
- <property name="visible">True</property>
- <child>
- <placeholder/>
- </child>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="resize">False</property>
- <property name="shrink">True</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- <object class="GtkDialog" id="since-last-run-dialog">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Since Last Run...</property>
- <property name="window_position">center-on-parent</property>
- <property name="default_width">640</property>
- <property name="default_height">480</property>
- <property name="destroy_with_parent">True</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox25">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkVBox" id="vbox182">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkScrolledWindow" id="scrolledwindow21">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">in</property>
- <child>
- <object class="GtkTreeView" id="instance_view">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="has_focus">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox" id="hbox179">
- <property name="visible">True</property>
- <child>
- <object class="GtkFixed" id="fixed1">
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="review_txn_toggle">
- <property name="label" translatable="yes">_Review created transactions</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area25">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="cancelbutton1">
- <property name="label">gtk-cancel</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="okbutton2">
- <property name="label">gtk-ok</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- </child>
- <action-widgets>
- <action-widget response="-6">cancelbutton1</action-widget>
- <action-widget response="-5">okbutton2</action-widget>
- </action-widgets>
- </object>
- <object class="GtkAdjustment" id="adjustment1">
- <property name="upper">10000000</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment2">
- <property name="upper">10000000</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment3">
- <property name="value">1</property>
- <property name="upper">100</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment4">
- <property name="value">1</property>
- <property name="upper">100</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment5">
- <property name="value">1</property>
- <property name="upper">100</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment6">
- <property name="value">1</property>
- <property name="lower">1</property>
- <property name="upper">100</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment7">
- <property name="value">1</property>
- <property name="lower">1</property>
- <property name="upper">100</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment8">
- <property name="value">1</property>
- <property name="lower">1</property>
- <property name="upper">100</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment9">
- <property name="value">1</property>
- <property name="lower">1</property>
- <property name="upper">731</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment10">
- <property name="value">1</property>
- <property name="upper">1000</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment11">
- <property name="value">1</property>
- <property name="upper">1000</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="adjustment12">
- <property name="upper">731</property>
- <property name="step_increment">1</property>
- <property name="page_increment">30</property>
- </object>
- <object class="GtkAdjustment" id="adjustment13">
- <property name="upper">731</property>
- <property name="step_increment">1</property>
- <property name="page_increment">30</property>
- </object>
- <object class="GtkAccelGroup" id="accelgroup1"/>
-</interface>
Modified: gnucash/trunk/src/gnome-utils/gnc-frequency.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-frequency.c 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome-utils/gnc-frequency.c 2011-09-11 10:58:01 UTC (rev 21243)
@@ -3,6 +3,7 @@
* Copyright (C) 2001,2002,2007 Joshua Sled <jsled at asynchronous.org>*
* Copyright (C) 2003 Linas Vepstas <linas at linas.org> *
* Copyright (C) 2006 David Hampton <hampton at employees.org> *
+ * Copyright (C) 2011 Robert Fewell *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
@@ -40,6 +41,8 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "gnc.gui.frequency"
+static QofLogModule log_module = GNC_MOD_GUI;
+
#define LAST_DAY_OF_MONTH_OPTION_INDEX 31
/** Private Defs ********************/
@@ -129,6 +132,7 @@
return gncfreq_type;
}
+
static void
gnc_frequency_class_init( GncFrequencyClass *klass )
{
@@ -148,6 +152,7 @@
0);
}
+
void
gnc_frequency_init(GncFrequency *gf)
{
@@ -155,6 +160,7 @@
GtkVBox* vb;
GtkWidget* o;
GtkAdjustment* adj;
+ GtkBuilder *builder;
static const struct comboBoxTuple
{
@@ -162,7 +168,7 @@
void (*fn)();
} comboBoxes[] =
{
- { "freq_combobox", freq_combo_changed },
+ { "freq_combobox", freq_combo_changed },
{ "semimonthly_first", semimonthly_sel_changed },
{ "semimonthly_first_weekend", semimonthly_sel_changed },
{ "semimonthly_second", semimonthly_sel_changed },
@@ -185,28 +191,42 @@
{ NULL, NULL }
};
- gf->gxml = gnc_glade_xml_new("sched-xact.glade", "gncfreq_vbox");
- o = glade_xml_get_widget(gf->gxml, "gncfreq_nb");
+ builder = gtk_builder_new();
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "adjustment1");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "adjustment2");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "adjustment3");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "adjustment4");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "liststore1");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "liststore2");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "liststore3");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "liststore4");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "liststore5");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "liststore6");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "liststore7");
+ gnc_builder_add_from_file (builder ,"gnc-frequency.glade", "gncfreq_vbox");
+
+ gf->builder = builder;
+ o = GTK_WIDGET(gtk_builder_get_object (builder, "gncfreq_nb"));
gf->nb = GTK_NOTEBOOK(o);
- o = glade_xml_get_widget(gf->gxml, "freq_combobox");
+ o = GTK_WIDGET(gtk_builder_get_object (builder, "freq_combobox"));
gf->freqComboBox = GTK_COMBO_BOX(o);
gf->startDate = GNC_DATE_EDIT(gnc_date_edit_new(time(NULL), FALSE, FALSE));
/* Add the new widget to the table. */
{
gint dont_expand_or_fill = 0;
- GtkWidget *table = glade_xml_get_widget(gf->gxml, "gncfreq_table");
+ GtkWidget *table = GTK_WIDGET(gtk_builder_get_object (builder, "gncfreq_table"));
gtk_table_attach(GTK_TABLE(table), GTK_WIDGET(gf->startDate),
- 1, 2, 1, 2, dont_expand_or_fill, 0,
+ 4, 5, 0, 1, dont_expand_or_fill, 0,
0, 0);
}
- vb = GTK_VBOX(glade_xml_get_widget(gf->gxml, "gncfreq_vbox"));
+ vb = GTK_VBOX(gtk_builder_get_object (builder, "gncfreq_vbox"));
gf->vb = vb;
gtk_container_add(GTK_CONTAINER(&gf->widget), GTK_WIDGET(gf->vb));
/* initialize the combo boxes */
for (i = 0; comboBoxes[i].name != NULL; i++)
{
- o = glade_xml_get_widget(gf->gxml, comboBoxes[i].name);
+ o = GTK_WIDGET(gtk_builder_get_object (builder, comboBoxes[i].name));
gtk_combo_box_set_active(GTK_COMBO_BOX(o), 0);
if (comboBoxes[i].fn != NULL)
{
@@ -219,7 +239,7 @@
{
if (spinVals[i].fn != NULL)
{
- o = glade_xml_get_widget(gf->gxml, spinVals[i].name);
+ o = GTK_WIDGET(gtk_builder_get_object (builder, spinVals[i].name));
adj = gtk_spin_button_get_adjustment(GTK_SPIN_BUTTON(o));
g_signal_connect(adj, "value_changed", G_CALLBACK(spinVals[i].fn), gf);
}
@@ -228,7 +248,7 @@
/* initialize the weekly::day-of-week checkbox-selection hooks */
for (i = 0; i < 7; i++)
{
- o = glade_xml_get_widget(gf->gxml, CHECKBOX_NAMES[i]);
+ o = GTK_WIDGET(gtk_builder_get_object (builder, CHECKBOX_NAMES[i]));
g_signal_connect(o, "clicked",
G_CALLBACK(weekly_days_changed), gf);
}
@@ -237,42 +257,54 @@
/* respond to start date changes */
g_signal_connect(gf->startDate, "date_changed", G_CALLBACK(start_date_changed), gf);
+
+ gtk_builder_connect_signals_full (builder, gnc_builder_connect_full_func, gf);
+
+ /* We can not use this as builder file is accessed when widgets change */
+ /* g_object_unref(G_OBJECT(builder)); */
}
+
static void
spin_changed_helper( GtkAdjustment *adj, gpointer d )
{
g_signal_emit_by_name(GNC_FREQUENCY(d), "changed");
}
+
static void
weekly_days_changed( GtkButton *b, gpointer d )
{
g_signal_emit_by_name(GNC_FREQUENCY(d), "changed");
}
+
static void
monthly_sel_changed( GtkButton *b, gpointer d )
{
g_signal_emit_by_name(GNC_FREQUENCY(d), "changed");
}
+
static void
semimonthly_sel_changed( GtkButton *b, gpointer d )
{
g_signal_emit_by_name(GNC_FREQUENCY(d), "changed");
}
+
static inline guint32 minn( guint32 a, guint32 b )
{
return a > b ? b : a;
}
+
static inline guint32 maxn( guint32 a, guint32 b )
{
return a > b ? a : b;
}
+
static void
freq_combo_changed(GtkComboBox *b, gpointer d)
{
@@ -285,39 +317,44 @@
g_signal_emit_by_name(gf, "changed");
}
+
static void
start_date_changed( GNCDateEdit *gde, gpointer d )
{
g_signal_emit_by_name(GNC_FREQUENCY(d), "changed");
}
-/* ================================================================= */
-/* Relabel some of the labels */
+/**************************************
+ * Relabel some of the labels *
+ *************************************/
void
gnc_frequency_set_frequency_label_text(GncFrequency *gf, const gchar *txt)
{
GtkLabel *lbl;
if (!gf || !txt) return;
- lbl = GTK_LABEL (glade_xml_get_widget (gf->gxml, "freq label"));
+ lbl = GTK_LABEL (gtk_builder_get_object (gf->builder, "freq_label"));
gtk_label_set_text (lbl, txt);
}
+
void
gnc_frequency_set_date_label_text(GncFrequency *gf, const gchar *txt)
{
GtkLabel *lbl;
if (!gf || !txt) return;
- lbl = GTK_LABEL (glade_xml_get_widget (gf->gxml, "startdate label"));
+ lbl = GTK_LABEL (gtk_builder_get_object (gf->builder, "startdate_label"));
gtk_label_set_text (lbl, txt);
}
+
GtkWidget*
gnc_frequency_new_from_recurrence(GList *recurrences, const GDate *start_date)
{
return gnc_frequency_new(recurrences, start_date);
}
+
GtkWidget*
gnc_frequency_new(GList *recurrences, const GDate *start_date)
{
@@ -327,6 +364,7 @@
return GTK_WIDGET(toRet);
}
+
static void
_setup_weekly_recurrence(GncFrequency *gf, Recurrence *r)
{
@@ -336,7 +374,7 @@
const char *checkbox_widget_name;
GtkWidget *weekday_checkbox;
- GtkWidget *multipler_spin = glade_xml_get_widget(gf->gxml, "weekly_spin");
+ GtkWidget *multipler_spin = GTK_WIDGET(gtk_builder_get_object (gf->builder, "weekly_spin"));
gtk_spin_button_set_value(GTK_SPIN_BUTTON(multipler_spin), multiplier);
recurrence_date = recurrenceGetDate(r);
@@ -345,10 +383,11 @@
// this `mod 7' is explicit knowledge of the values of (monday=1)-based
// GDateWeekday, vs. our (sunday=0)-based checkbox names array.
checkbox_widget_name = CHECKBOX_NAMES[day_of_week % 7];
- weekday_checkbox = glade_xml_get_widget(gf->gxml, checkbox_widget_name);
+ weekday_checkbox = GTK_WIDGET(gtk_builder_get_object (gf->builder, checkbox_widget_name));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(weekday_checkbox), TRUE);
}
+
static int
_get_monthly_combobox_index(Recurrence *r)
{
@@ -379,12 +418,14 @@
return day_of_month_index;
}
+
void
gnc_frequency_setup_recurrence(GncFrequency *gf, GList *recurrences, const GDate *start_date)
{
gnc_frequency_setup(gf, recurrences, start_date);
}
+
void
gnc_frequency_setup(GncFrequency *gf, GList *recurrences, const GDate *start_date)
{
@@ -425,16 +466,15 @@
first = (Recurrence*)g_list_nth_data(recurrences, 0);
second = (Recurrence*)g_list_nth_data(recurrences, 1);
- multiplier_spin = glade_xml_get_widget(gf->gxml, "semimonthly_spin");
+ multiplier_spin = GTK_WIDGET(gtk_builder_get_object (gf->builder, "semimonthly_spin"));
gtk_spin_button_set_value(GTK_SPIN_BUTTON(multiplier_spin), recurrenceGetMultiplier(first));
-
- dom_combobox = glade_xml_get_widget(gf->gxml, "semimonthly_first");
+ dom_combobox = GTK_WIDGET(gtk_builder_get_object (gf->builder, "semimonthly_first"));
gtk_combo_box_set_active(GTK_COMBO_BOX(dom_combobox), _get_monthly_combobox_index(first));
- dom_combobox = glade_xml_get_widget(gf->gxml, "semimonthly_first_weekend");
+ dom_combobox = GTK_WIDGET(gtk_builder_get_object (gf->builder, "semimonthly_first_weekend"));
gtk_combo_box_set_active(GTK_COMBO_BOX(dom_combobox), recurrenceGetWeekendAdjust(first));
- dom_combobox = glade_xml_get_widget(gf->gxml, "semimonthly_second");
+ dom_combobox = GTK_WIDGET(gtk_builder_get_object (gf->builder, "semimonthly_second"));
gtk_combo_box_set_active(GTK_COMBO_BOX(dom_combobox), _get_monthly_combobox_index(second));
- dom_combobox = glade_xml_get_widget(gf->gxml, "semimonthly_second_weekend");
+ dom_combobox = GTK_WIDGET(gtk_builder_get_object (gf->builder, "semimonthly_second_weekend"));
gtk_combo_box_set_active(GTK_COMBO_BOX(dom_combobox), recurrenceGetWeekendAdjust(second));
gtk_notebook_set_current_page(gf->nb, PAGE_SEMI_MONTHLY);
@@ -472,7 +512,7 @@
GtkWidget *spin_button;
multiplier = recurrenceGetMultiplier(r);
- spin_button = glade_xml_get_widget(gf->gxml, "daily_spin");
+ spin_button = GTK_WIDGET(gtk_builder_get_object (gf->builder, "daily_spin"));
gtk_spin_button_set_value(GTK_SPIN_BUTTON(spin_button), multiplier);
made_changes = TRUE;
@@ -496,15 +536,15 @@
guint multiplier;
GtkWidget *multipler_spin, *day_of_month, *weekend_mode;
- multipler_spin = glade_xml_get_widget(gf->gxml, "monthly_spin");
+ multipler_spin = GTK_WIDGET(gtk_builder_get_object (gf->builder, "monthly_spin"));
multiplier = recurrenceGetMultiplier(r);
if (recurrenceGetPeriodType(r) == PERIOD_YEAR)
multiplier *= 12;
gtk_spin_button_set_value(GTK_SPIN_BUTTON(multipler_spin), multiplier);
- day_of_month = glade_xml_get_widget(gf->gxml, "monthly_day");
+ day_of_month = GTK_WIDGET(gtk_builder_get_object (gf->builder, "monthly_day"));
gtk_combo_box_set_active(GTK_COMBO_BOX(day_of_month), _get_monthly_combobox_index(r));
- weekend_mode = glade_xml_get_widget(gf->gxml, "monthly_weekend");
+ weekend_mode = GTK_WIDGET(gtk_builder_get_object (gf->builder, "monthly_weekend"));
gtk_combo_box_set_active(GTK_COMBO_BOX(weekend_mode), recurrenceGetWeekendAdjust(r));
gtk_notebook_set_current_page(gf->nb, PAGE_MONTHLY);
@@ -522,21 +562,23 @@
g_signal_emit_by_name(gf, "changed");
}
+
static gint
_get_multiplier_from_widget(GncFrequency *gf, char *widget_name)
{
GtkWidget *multiplier_spin;
- multiplier_spin = glade_xml_get_widget(gf->gxml, widget_name);
+ multiplier_spin = GTK_WIDGET(gtk_builder_get_object (gf->builder, widget_name));
return gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(multiplier_spin));
}
+
static Recurrence*
_get_day_of_month_recurrence(GncFrequency *gf, GDate *start_date, int multiplier, char *combo_name, char *combo_weekend_name)
{
Recurrence *r;
- GtkWidget *day_of_month_combo = glade_xml_get_widget(gf->gxml, combo_name);
+ GtkWidget *day_of_month_combo = GTK_WIDGET(gtk_builder_get_object (gf->builder, combo_name));
int day_of_month_index = gtk_combo_box_get_active(GTK_COMBO_BOX(day_of_month_combo));
- GtkWidget *weekend_adjust_combo = glade_xml_get_widget(gf->gxml, combo_weekend_name);
+ GtkWidget *weekend_adjust_combo = GTK_WIDGET(gtk_builder_get_object (gf->builder, combo_weekend_name));
int weekend_adjust = gtk_combo_box_get_active(GTK_COMBO_BOX(weekend_adjust_combo));
GDateWeekday selected_day_of_week;
GDate *day_of_week_date;
@@ -582,6 +624,7 @@
return r;
}
+
void
gnc_frequency_save_to_recurrence(GncFrequency *gf, GList **recurrences, GDate *out_start_date)
{
@@ -627,7 +670,7 @@
GDate *day_of_week_aligned_date;
Recurrence *r;
const char *day_widget_name = CHECKBOX_NAMES[checkbox_idx];
- GtkWidget *weekday_checkbox = glade_xml_get_widget(gf->gxml, day_widget_name);
+ GtkWidget *weekday_checkbox = GTK_WIDGET(gtk_builder_get_object (gf->builder, day_widget_name));
if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(weekday_checkbox)))
continue;
Modified: gnucash/trunk/src/gnome-utils/gnc-frequency.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-frequency.h 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome-utils/gnc-frequency.h 2011-09-11 10:58:01 UTC (rev 21243)
@@ -42,12 +42,12 @@
**/
typedef struct _GncFrequency
{
- GtkVBox widget;
+ GtkVBox widget;
GtkVBox *vb;
GtkNotebook *nb;
GtkComboBox *freqComboBox;
GNCDateEdit *startDate;
- GladeXML *gxml;
+ GtkBuilder *builder;
} GncFrequency;
typedef struct _GncFrequencyClass
Modified: gnucash/trunk/src/gnome-utils/gtkbuilder/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/gtkbuilder/Makefile.am 2011-09-08 12:39:10 UTC (rev 21242)
+++ gnucash/trunk/src/gnome-utils/gtkbuilder/Makefile.am 2011-09-11 10:58:01 UTC (rev 21243)
@@ -3,6 +3,7 @@
dialog-commodity.glade \
dialog-transfer.glade \
gnc-date-format.glade \
+ gnc-frequency.glade \
gnc-recurrence.glade
EXTRA_DIST = $(gtkbuilder_DATA)
Added: gnucash/trunk/src/gnome-utils/gtkbuilder/gnc-frequency.glade
===================================================================
--- gnucash/trunk/src/gnome-utils/gtkbuilder/gnc-frequency.glade (rev 0)
+++ gnucash/trunk/src/gnome-utils/gtkbuilder/gnc-frequency.glade 2011-09-11 10:58:01 UTC (rev 21243)
@@ -0,0 +1,1463 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="2.16"/>
+ <!-- interface-naming-policy toplevel-contextual -->
+ <object class="GtkWindow" id="GNCFrequency widget">
+ <property name="can_focus">False</property>
+ <property name="title">This window should never be realized.</property>
+ <child>
+ <object class="GtkEventBox" id="eventbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkVBox" id="gncfreq_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkTable" id="gncfreq_table">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="n_columns">5</property>
+ <child>
+ <object class="GtkLabel" id="freq_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="xpad">5</property>
+ <property name="label" translatable="yes">Frequency:</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="startdate_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="xpad">5</property>
+ <property name="label" translatable="yes">Start Date:</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="right_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="freq_combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">liststore2</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext2"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="width_request">25</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="right_padding">20</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">6</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkNotebook" id="gncfreq_nb">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="show_tabs">False</property>
+ <property name="scrollable">True</property>
+ <child>
+ <object class="GtkLabel" id="label847767">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Not scheduled</property>
+ <property name="justify">center</property>
+ </object>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847753">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">None</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox114">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="homogeneous">True</property>
+ <child>
+ <object class="GtkLabel" id="label847776">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Select occurrence date above.</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847735">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Once</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox115">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <child>
+ <object class="GtkLabel" id="label847746">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">Every</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="daily_spin">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">adjustment4</property>
+ <property name="climb_rate">1</property>
+ <property name="snap_to_ticks">True</property>
+ <property name="numeric">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847747">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">days.</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847736">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Daily</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox113">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkHBox" id="hbox110">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <child>
+ <object class="GtkLabel" id="label847748">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">Every</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="weekly_spin">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">adjustment3</property>
+ <property name="climb_rate">1</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847749">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">weeks.</property>
+ <property name="justify">fill</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="label_xalign">0.5</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkTable" id="table2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">2</property>
+ <property name="n_rows">3</property>
+ <property name="n_columns">3</property>
+ <child>
+ <object class="GtkCheckButton" id="wd_check_sat">
+ <property name="label" translatable="yes">Saturday</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="wd_check_fri">
+ <property name="label" translatable="yes">Friday</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="wd_check_wed">
+ <property name="label" translatable="yes">Wednesday</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="wd_check_thu">
+ <property name="label" translatable="yes">Thursday</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="wd_check_sun">
+ <property name="label" translatable="yes">Sunday</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="wd_check_mon">
+ <property name="label" translatable="yes">Monday</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="wd_check_tue">
+ <property name="label" translatable="yes">Tuesday</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">Days</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">3</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847738">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Weekly</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="position">3</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox112">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkVBox" id="vbox119">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHBox" id="hbox126">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847757">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">Every</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="semimonthly_spin">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">adjustment2</property>
+ <property name="climb_rate">1</property>
+ <property name="snap_to_ticks">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847758">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">months.</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox127">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847759">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">First on the:</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="semimonthly_first">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">liststore1</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext1"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847751">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">except on weekends:</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="semimonthly_first_weekend">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">liststore7</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext7"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox128">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847760">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">then on the:</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="semimonthly_second">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">liststore6</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext6"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847752">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">except on weekends:</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="semimonthly_second_weekend">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">liststore5</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext5"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">4</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847740">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Semi-Monthly</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="position">4</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkVBox" id="vbox118">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHBox" id="hbox124">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847754">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">Every</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="monthly_spin">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="secondary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="adjustment">adjustment1</property>
+ <property name="climb_rate">1</property>
+ <property name="snap_to_ticks">True</property>
+ <property name="numeric">True</property>
+ <property name="wrap">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847755">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">months.</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox125">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="label847756">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">On the</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="monthly_day">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">liststore4</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext4"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label847750">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">except on weekends:</property>
+ <property name="justify">right</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="monthly_weekend">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">liststore3</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertext3"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">5</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label847741">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Monthly</property>
+ <property name="justify">center</property>
+ </object>
+ <packing>
+ <property name="position">5</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <object class="GtkAdjustment" id="adjustment1">
+ <property name="lower">1</property>
+ <property name="upper">100</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="adjustment2">
+ <property name="lower">1</property>
+ <property name="upper">100</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="adjustment3">
+ <property name="lower">1</property>
+ <property name="upper">100</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="adjustment4">
+ <property name="lower">1</property>
+ <property name="upper">731</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkListStore" id="liststore1">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">1st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">5th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">6th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">7th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">8th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">9th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">10th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">11th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">12th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">13th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">14th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">15th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">16th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">17th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">18th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">19th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">20th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">21st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">22nd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">23rd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">24th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">25th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">26th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">27th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">28th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">29th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">30th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">31st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last day of month</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Monday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Tuesday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Wednesday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Thursday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Friday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Saturday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Sunday</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkListStore" id="liststore2">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">None</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Once</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Daily</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Weekly</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Semi-Monthly</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Monthly</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkListStore" id="liststore3">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">No change</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Use previous weekday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Use next weekday</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkListStore" id="liststore4">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">1st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">5th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">6th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">7th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">8th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">9th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">10th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">11th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">12th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">13th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">14th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">15th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">16th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">17th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">18th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">19th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">20th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">21st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">22nd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">23rd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">24th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">25th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">26th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">27th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">28th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">29th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">30th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">31st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last day of month</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Monday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Tuesday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Wednesday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Thursday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Friday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Saturday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Sunday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1st Mon</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1st Tue</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1st Wed</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1st Thu</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1st Fri</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1st Sat</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1st Sun</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd Mon</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd Tue</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd Wed</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd Thu</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd Fri</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd Sat</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd Sun</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd Mon</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd Tue</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd Wed</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd Thu</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd Fri</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd Sat</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd Sun</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th Mon</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th Tue</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th Wed</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th Thu</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th Fri</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th Sat</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th Sun</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkListStore" id="liststore5">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">No change</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Use previous weekday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Use next weekday</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkListStore" id="liststore6">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">1st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">2nd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">3rd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">4th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">5th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">6th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">7th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">8th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">9th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">10th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">11th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">12th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">13th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">14th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">15th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">16th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">17th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">18th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">19th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">20th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">21st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">22nd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">23rd</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">24th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">25th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">26th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">27th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">28th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">29th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">30th</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">31st</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last day of month</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Monday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Tuesday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Wednesday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Thursday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Friday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Saturday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Last Sunday</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkListStore" id="liststore7">
+ <columns>
+ <!-- column-name item -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">No change</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Use previous weekday</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">Use next weekday</col>
+ </row>
+ </data>
+ </object>
+</interface>
More information about the gnucash-changes
mailing list