Jan Arne Petersen's second batch of patches. Gnome2 gnucash will now

put up a splash screen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@8319 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2003-05-17 00:27:30 +00:00
parent d12b8416bf
commit 9f135c2965
56 changed files with 26600 additions and 25777 deletions

110
ChangeLog
View File

@@ -1,3 +1,113 @@
2003-05-16 Jan Arne Petersen <jpetersen@uni-bonn.de>
* configure.in: Add gnucash.desktop, and gnucash.keys to the AC_OUTPUT targets.
In the following:
- Replace gtk_signal by g_signal
- Replace GNOME_DOCK by BONOBO_DOCK
- Fix wrong gtk_toolbar_new calls
- Replace some GTK_OBJECTs by G_OBJECTs
- Remove useless GOBJECT_DESTROYED calls
- Fix some GType declarations.
* src/business/business-gnome/business-gnome-utils.c:
(gnc_fill_account_select_combo), (add_menu_item),
(make_generic_optionmenu):
* src/business/business-gnome/dialog-billterms.c: (make_menu),
(new_billterm_dialog), (gnc_ui_billterms_window_new):
* src/business/business-gnome/dialog-date-close.c:
(gnc_dialog_dates_acct_parented):
* src/business/business-gnome/dialog-invoice.c:
(gnc_invoice_window_create_popup_menu),
(gnc_invoice_update_job_choice), (gnc_invoice_update_proj_job),
(gnc_invoice_update_window), (gnc_invoice_new_window),
(gnc_invoice_window_new_invoice):
* src/business/business-gnome/dialog-payment.c:
(new_payment_window):
* src/business/business-gnome/dialog-vendor.c:
(gnc_vendor_name_changed_cb):
In the following:
Convert the glade files to Glade 2.0 (with libglade-convert)
* src/business/business-gnome/glade/billterms.glade:
* src/business/business-gnome/glade/customer.glade:
* src/business/business-gnome/glade/date-close.glade:
* src/business/business-gnome/glade/employee.glade:
* src/business/business-gnome/glade/invoice.glade:
* src/business/business-gnome/glade/job.glade:
* src/business/business-gnome/glade/order.glade:
* src/business/business-gnome/glade/payment.glade:
* src/business/business-gnome/glade/vendor.glade:
* src/business/dialog-tax-table/tax-tables.glade:
* src/business/business-gnome/search-owner.c:
* src/gnome-utils/commodity.glade:
* src/gnome-utils/exchange-dialog.glade:
* src/gnome-utils/transfer.glade:
* src/gnome/glade/commodities.glade:
* src/gnome/glade/fincalc.glade:
* src/gnome/glade/help.glade:
* src/gnome/glade/newuser.glade:
* src/gnome/glade/price.glade:
* src/gnome/glade/print.glade:
* src/gnome/glade/progress.glade:
* src/gnome/glade/register.glade:
* src/gnome/glade/stocks.glade:
* src/gnome/glade/tax.glade:
* src/gnome/glade/userpass.glade:
* src/import-export/binary-import/binary-import.glade:
* src/import-export/generic-import.glade:
* src/import-export/hbci/glade/hbci.glade:
* src/import-export/hbci/glade/hbcipass.glade:
* src/import-export/ofx/ofx.glade:
* src/import-export/qif-import/qif.glade:
* src/report/report-gnome/report.glade:
In the following:
- Replace gtk_signal by g_signal
- Replace GNOME_DOCK by BONOBO_DOCK
- Fix wrong gtk_toolbar_new calls
- Replace some GTK_OBJECTs by G_OBJECTs
- Remove useless GOBJECT_DESTROYED calls
- Fix some GType declarations.
(gnc_search_owner_get_type), (gnc_search_owner_class_init),
(gnc_search_owner_finalize), (set_owner_widget),
(type_option_changed), (add_type_menu_item), (make_type_menu),
(how_option_changed), (add_how_menu_item), (make_how_menu):
* src/business/dialog-tax-table/dialog-tax-table.c:
(add_menu_item), (make_menu), (new_tax_table_dialog),
(gnc_ui_tax_table_window_new):
* src/gnome-utils/dialog-options.c: (gnc_options_register_stocks):
* src/gnome-utils/dialog-utils.c:
(gnc_glade_autoconnect_full_func):
* src/gnome/dialog-new-user.c: (gnc_ui_new_user_dialog),
(gnc_ui_new_user_cancel_dialog):
* src/gnome/reconcile-list.c: (gnc_reconcile_list_get_type),
(gnc_reconcile_list_new), (gnc_reconcile_list_init),
(gnc_reconcile_list_class_init), (gnc_reconcile_list_toggle_row),
(gnc_reconcile_list_toggle), (gnc_reconcile_list_select_row),
(gnc_reconcile_list_unselect_row), (gnc_reconcile_list_finalize),
(gnc_reconcile_list_get_needed_height),
(gnc_reconcile_list_get_num_splits),
(gnc_reconcile_list_get_current_split),
(gnc_reconcile_list_refresh),
(gnc_reconcile_list_reconciled_balance),
(gnc_reconcile_list_commit), (gnc_reconcile_list_postpone),
(gnc_reconcile_list_unselect_all), (gnc_reconcile_list_changed),
(gnc_reconcile_list_set_sort_order):
* src/gnome/reconcile-list.h:
* src/gnome/window-reconcile.c: (gnc_recn_create_menu_bar),
(gnc_recn_create_tool_bar), (recnWindowWithBalance):
* src/gnome/window-register.c: (gnc_register_setup_menu_widgets),
(gnc_register_set_read_only):
* src/import-export/binary-import/druid-commodity.c:
(make_commodity_druid_page):
* src/import-export/import-main-matcher.c:
(gnc_gen_trans_list_new):
* src/import-export/import-match-picker.c: (init_match_picker_gui):
* src/import-export/qif-import/druid-qif-import.c:
(gnc_ui_qif_import_loaded_files_prepare_cb),
(gnc_ui_qif_import_load_another_cb),
(gnc_ui_qif_import_default_acct_back_cb), (make_qif_druid_page):
2003-05-15 Jan Arne Petersen <jpetersen@uni-bonn.de>
* TODO: Remove 15 th batch task

View File

@@ -1179,6 +1179,10 @@ AC_OUTPUT( m4/Makefile
dnl # we configure gnucash-config here because we *don't*
dnl # want variables to be fully expanded
gnucash-config
dnl # GNOME 2 Port (should be moved to Makefile.am)
src/gnome/gnucash.desktop
src/gnome/gnucash.keys
,
dnl # commands go here, but we don't have any right now
)

View File

@@ -147,7 +147,7 @@ gnc_fill_account_select_combo (GtkWidget *combo, GNCBook *book,
GList *acct_types)
{
GList *list, *node, *names = NULL;
const char *text;
char *text;
gboolean found = FALSE;
g_return_if_fail (combo);
@@ -155,11 +155,7 @@ gnc_fill_account_select_combo (GtkWidget *combo, GNCBook *book,
g_return_if_fail (acct_types);
/* Figure out if anything is set in the combo */
text = gtk_entry_get_text (GTK_ENTRY ((GTK_COMBO (combo))->entry));
if (text && strcmp (text, ""))
text = g_strdup (text);
else
text = NULL;
text = gtk_editable_get_chars (GTK_EDITABLE ((GTK_COMBO (combo))->entry), 0, -1);
list = xaccGroupGetSubAccounts (gnc_book_get_group (book));
@@ -265,9 +261,9 @@ add_menu_item (GtkWidget *menu, const char *label, OpMenuData *omd,
gpointer this_item)
{
GtkWidget *item = gtk_menu_item_new_with_label (label);
gtk_object_set_data (GTK_OBJECT (item), "this_item", this_item);
gtk_signal_connect (GTK_OBJECT (item), "activate",
business_option_changed, omd);
g_object_set_data (G_OBJECT (item), "this_item", this_item);
g_signal_connect (G_OBJECT (item), "activate",
G_CALLBACK (business_option_changed), omd);
gtk_menu_append (GTK_MENU (menu), item);
gtk_widget_show (item);
}
@@ -360,8 +356,8 @@ make_generic_optionmenu (GtkWidget *omenu, GNCBook *book,
type_name,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gtk_signal_connect (GTK_OBJECT (omenu), "destroy",
generic_omenu_destroy_cb, omd);
g_signal_connect (G_OBJECT (omenu), "destroy",
G_CALLBACK (generic_omenu_destroy_cb), omd);
}

View File

@@ -7,6 +7,7 @@
#include "config.h"
#include <gnome.h>
#include <gconf/gconf-client.h>
#include "dialog-utils.h"
#include "gnc-component-manager.h"
@@ -356,13 +357,15 @@ make_menu (GtkWidget *omenu, NewBillTerm *nbt)
{
GladeXML *xml;
GtkWidget *popup;
GConfClient *client;
/* Open and read the Popup XML */
xml = gnc_glade_xml_new ("billterms.glade", "Term Type Popup");
popup = glade_xml_get_widget (xml, "Term Type Popup");
/* Glade insists on making this a tearoff menu. */
if (gnome_preferences_get_menus_have_tearoff ()) {
client = gconf_client_get_default ();
if (gconf_client_get_bool (client, "/desktop/gnome/interface/menus_have_tearoff", NULL)) {
GtkMenuShell *ms = GTK_MENU_SHELL (popup);
GtkWidget *tearoff;
@@ -373,9 +376,9 @@ make_menu (GtkWidget *omenu, NewBillTerm *nbt)
/* attach the signal handlers */
glade_xml_signal_connect_data (xml, "on_days1_activate",
on_days1_activate, nbt);
G_CALLBACK (on_days1_activate), nbt);
glade_xml_signal_connect_data (xml, "on_proximo1_activate",
on_proximo1_activate, nbt);
G_CALLBACK (on_proximo1_activate), nbt);
gtk_option_menu_set_menu (GTK_OPTION_MENU (omenu), popup);
gtk_option_menu_set_history (GTK_OPTION_MENU (omenu),
@@ -431,18 +434,18 @@ new_billterm_dialog (BillTermsWindow *btw, GncBillTerm *term)
/* Connect the dialog buttons */
gnome_dialog_button_connect (GNOME_DIALOG (nbt->dialog), 0,
new_billterm_ok_cb, nbt);
G_CALLBACK (new_billterm_ok_cb), nbt);
gnome_dialog_button_connect (GNOME_DIALOG (nbt->dialog), 1,
new_billterm_cancel_cb, nbt);
G_CALLBACK (new_billterm_cancel_cb), nbt);
/* Set our modality */
gnome_dialog_set_parent (GNOME_DIALOG (nbt->dialog),
GTK_WINDOW (btw->dialog));
gtk_window_set_modal (GTK_WINDOW (nbt->dialog), TRUE);
gtk_signal_connect (GTK_OBJECT (nbt->dialog), "destroy",
new_billterm_dialog_destroy_cb, nbt);
g_signal_connect (G_OBJECT (nbt->dialog), "destroy",
G_CALLBACK (new_billterm_dialog_destroy_cb), nbt);
/* Show what we should */
@@ -724,29 +727,29 @@ gnc_ui_billterms_window_new (GNCBook *book)
widget = glade_xml_get_widget (xml, "notebook_box");
gtk_box_pack_start (GTK_BOX (widget), btw->notebook.notebook,
TRUE, TRUE, 0);
g_object_unref (GTK_OBJECT (btw->notebook.notebook));
g_object_unref (G_OBJECT (btw->notebook.notebook));
/* Connect all the buttons */
button = glade_xml_get_widget (xml, "new_term_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
billterms_new_term_cb, btw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (billterms_new_term_cb), btw);
button = glade_xml_get_widget (xml, "delete_term_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
billterms_delete_term_cb, btw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (billterms_delete_term_cb), btw);
button = glade_xml_get_widget (xml, "edit_term_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
billterms_edit_term_cb, btw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (billterms_edit_term_cb), btw);
/* Set the row-select callbacks */
gtk_signal_connect (GTK_OBJECT (btw->terms_clist), "select-row",
billterms_row_selected, btw);
g_signal_connect (G_OBJECT (btw->terms_clist), "select-row",
G_CALLBACK (billterms_row_selected), btw);
/* Connect the dialog buttons */
gnome_dialog_button_connect (GNOME_DIALOG (btw->dialog), 0,
billterms_window_close, btw);
G_CALLBACK (billterms_window_close), btw);
gtk_signal_connect (GTK_OBJECT (btw->dialog), "destroy",
billterms_window_destroy_cb, btw);
g_signal_connect (G_OBJECT (btw->dialog), "destroy",
G_CALLBACK (billterms_window_destroy_cb), btw);
/* register with component manager */
btw->component_id =

View File

@@ -275,8 +275,8 @@ gnc_dialog_dates_acct_parented (GtkWidget *parent, const char *message,
/* Deal with the terms handling of the due date */
if (terms) {
gtk_signal_connect (GTK_OBJECT (ddc->post_date), "date_changed",
post_date_changed_cb, ddc);
g_signal_connect (G_OBJECT (ddc->post_date), "date_changed",
G_CALLBACK (post_date_changed_cb), ddc);
gtk_widget_set_sensitive (ddc->date, FALSE);
post_date_changed_cb (GNC_DATE_EDIT (ddc->post_date), ddc);
} else

View File

@@ -7,6 +7,7 @@
#include "config.h"
#include <gnome.h>
#include <gconf/gconf-client.h>
#include <g-wrap-wct.h>
#include <libguile.h>
@@ -920,6 +921,7 @@ gnc_invoice_window_create_popup_menu (InvoiceWindow *iw)
{
GtkWidget *popup;
GladeXML *xml;
GConfClient *client;
xml = gnc_glade_xml_new ("invoice.glade", "Invoice Window Popup Menu");
@@ -928,7 +930,8 @@ gnc_invoice_window_create_popup_menu (InvoiceWindow *iw)
glade_xml_signal_autoconnect_full (xml, gnc_glade_autoconnect_full_func, iw);
/* Glade insists on making this a tearoff menu. */
if (gnome_preferences_get_menus_have_tearoff ()) {
client = gconf_client_get_default ();
if (gconf_client_get_bool (client, "/desktop/gnome/interface/menus_have_tearoff", NULL)) {
GtkMenuShell *ms = GTK_MENU_SHELL (popup);
GtkWidget *tearoff;
@@ -1084,9 +1087,8 @@ gnc_invoice_update_job_choice (InvoiceWindow *iw)
gtk_box_pack_start (GTK_BOX (iw->job_box), iw->job_choice,
TRUE, TRUE, 0);
gtk_signal_connect (GTK_OBJECT (iw->job_choice), "changed",
GTK_SIGNAL_FUNC (gnc_invoice_job_changed_cb),
iw);
g_signal_connect (G_OBJECT (iw->job_choice), "changed",
G_CALLBACK (gnc_invoice_job_changed_cb), iw);
break;
}
@@ -1156,9 +1158,8 @@ gnc_invoice_update_proj_job (InvoiceWindow *iw)
gtk_box_pack_start (GTK_BOX (iw->proj_job_box), iw->proj_job_choice,
TRUE, TRUE, 0);
gtk_signal_connect (GTK_OBJECT (iw->proj_job_choice), "changed",
GTK_SIGNAL_FUNC (gnc_invoice_proj_job_changed_cb),
iw);
g_signal_connect (G_OBJECT (iw->proj_job_choice), "changed",
G_CALLBACK (gnc_invoice_proj_job_changed_cb), iw);
}
break;
}
@@ -1422,13 +1423,11 @@ gnc_invoice_update_window (InvoiceWindow *iw)
gnc_owner_select_create (NULL, iw->proj_cust_box, iw->book,
&(iw->proj_cust));
gtk_signal_connect (GTK_OBJECT (iw->owner_choice), "changed",
GTK_SIGNAL_FUNC (gnc_invoice_owner_changed_cb),
iw);
g_signal_connect (G_OBJECT (iw->owner_choice), "changed",
G_CALLBACK (gnc_invoice_owner_changed_cb), iw);
gtk_signal_connect (GTK_OBJECT (iw->proj_cust_choice), "changed",
GTK_SIGNAL_FUNC (gnc_invoice_proj_cust_changed_cb),
iw);
g_signal_connect (G_OBJECT (iw->proj_cust_choice), "changed",
G_CALLBACK (gnc_invoice_proj_cust_changed_cb), iw);
break;
}
@@ -1817,12 +1816,12 @@ gnc_invoice_new_window (GNCBook *bookp, InvoiceDialogType type,
GNC_INVOICE_MODULE_NAME,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gtk_signal_connect (GTK_OBJECT (iw->dialog), "destroy",
GTK_SIGNAL_FUNC(gnc_invoice_window_destroy_cb), iw);
gtk_signal_connect (GTK_OBJECT (iw->dialog), "size-allocate",
GTK_SIGNAL_FUNC(size_allocate), iw);
gtk_signal_connect (GTK_OBJECT (iw->id_entry), "changed",
gnc_invoice_id_changed_cb, iw);
g_signal_connect (G_OBJECT (iw->dialog), "destroy",
G_CALLBACK (gnc_invoice_window_destroy_cb), iw);
g_signal_connect (G_OBJECT (iw->dialog), "size-allocate",
G_CALLBACK (size_allocate), iw);
g_signal_connect (GTK_OBJECT (iw->id_entry), "changed",
G_CALLBACK (gnc_invoice_id_changed_cb), iw);
/* Create the register */
{
@@ -1845,12 +1844,12 @@ gnc_invoice_new_window (GNCBook *bookp, InvoiceDialogType type,
iw->reg = GNUCASH_REGISTER (regWidget);
GNUCASH_SHEET (iw->reg->sheet)->window = iw->dialog;
gtk_signal_connect (GTK_OBJECT(regWidget), "activate_cursor",
GTK_SIGNAL_FUNC(gnc_invoice_window_recordCB), iw);
gtk_signal_connect (GTK_OBJECT(regWidget), "redraw_all",
GTK_SIGNAL_FUNC(gnc_invoice_redraw_all_cb), iw);
gtk_signal_connect (GTK_OBJECT(regWidget), "redraw_help",
GTK_SIGNAL_FUNC(gnc_invoice_redraw_help_cb), iw);
g_signal_connect (G_OBJECT (regWidget), "activate_cursor",
G_CALLBACK (gnc_invoice_window_recordCB), iw);
g_signal_connect (G_OBJECT (regWidget), "redraw_all",
G_CALLBACK (gnc_invoice_redraw_all_cb), iw);
g_signal_connect (G_OBJECT (regWidget), "redraw_help",
G_CALLBACK (gnc_invoice_redraw_help_cb), iw);
popup = gnc_invoice_window_create_popup_menu (iw);
gnucash_register_attach_popup (GNUCASH_REGISTER (regWidget), popup, iw);
@@ -1954,17 +1953,17 @@ gnc_invoice_window_new_invoice (GNCBook *bookp, GncOwner *owner,
gnome_dialog_editable_enters (iwd, GTK_EDITABLE (iw->id_entry));
gnome_dialog_set_default (iwd, 0);
gtk_signal_connect (GTK_OBJECT (iw->dialog), "destroy",
GTK_SIGNAL_FUNC(gnc_invoice_window_destroy_cb), iw);
gtk_signal_connect (GTK_OBJECT (iw->id_entry), "changed",
gnc_invoice_id_changed_cb, iw);
g_signal_connect (G_OBJECT (iw->dialog), "destroy",
G_CALLBACK (gnc_invoice_window_destroy_cb), iw);
g_signal_connect (G_OBJECT (iw->id_entry), "changed",
G_CALLBACK (gnc_invoice_id_changed_cb), iw);
gnome_dialog_button_connect (iwd, 0,
GTK_SIGNAL_FUNC(gnc_invoice_window_ok_cb), iw);
G_CALLBACK (gnc_invoice_window_ok_cb), iw);
gnome_dialog_button_connect (iwd, 1,
GTK_SIGNAL_FUNC(gnc_invoice_window_cancel_cb), iw);
G_CALLBACK (gnc_invoice_window_cancel_cb), iw);
gnome_dialog_button_connect (iwd, 2,
GTK_SIGNAL_FUNC(gnc_invoice_window_help_cb), iw);
G_CALLBACK (gnc_invoice_window_help_cb), iw);
/* Setup initial values */
iw->invoice_guid = *gncInvoiceGetGUID (invoice);

View File

@@ -268,13 +268,13 @@ new_payment_window (GncOwner *owner, GNCBook *book, gnc_numeric initial_payment)
/* Connect the dialog buttons */
gnome_dialog_button_connect (GNOME_DIALOG (pw->dialog), 0,
gnc_payment_ok_cb, pw);
G_CALLBACK (gnc_payment_ok_cb), pw);
gnome_dialog_button_connect (GNOME_DIALOG (pw->dialog), 1,
gnc_payment_cancel_cb, pw);
G_CALLBACK (gnc_payment_cancel_cb), pw);
/* Setup various signal handlers */
gtk_signal_connect (GTK_OBJECT (pw->dialog), "destroy",
gnc_payment_window_destroy_cb, pw);
g_signal_connect (G_OBJECT (pw->dialog), "destroy",
G_CALLBACK (gnc_payment_window_destroy_cb), pw);
/* Register with the component manager */
pw->component_id =

View File

@@ -246,11 +246,11 @@ gnc_vendor_name_changed_cb (GtkWidget *widget, gpointer data)
if (!vw)
return;
name = gtk_entry_get_text (GTK_ENTRY (vw->name_entry));
name = gtk_editable_get_chars (GTK_EDITABLE (vw->name_entry), 0, -1);
if (!name || *name == '\0')
name = _("<No name>");
name = g_strdup (_("<No name>"));
id = gtk_entry_get_text (GTK_ENTRY (vw->id_entry));
id = gtk_editable_get_chars (GTK_EDITABLE (vw->id_entry), 0, -1);
fullname = g_strconcat (name, " (", id, ")", NULL);
@@ -261,6 +261,8 @@ gnc_vendor_name_changed_cb (GtkWidget *widget, gpointer data)
gtk_window_set_title (GTK_WINDOW (vw->dialog), title);
g_free (name);
g_free (id);
g_free (fullname);
g_free (title);
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,483 +1,485 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Date-close</name>
<program_name>date-close</program_name>
<directory></directory>
<source_directory>src</source_directory>
<pixmaps_directory>pixmaps</pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget class="GtkDialog" id="Date Close Dialog">
<property name="title" translatable="yes">Question</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Date Close Dialog</name>
<title>Question</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox1</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button1">
<property name="can_default">yes</property>
<property name="has_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox1">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="the_hbox">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox2">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label1">
<property name="label" translatable="yes"></property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label">
<property name="label" translatable="yes">label1</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">3</property>
<property name="expand">no</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="date_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">3</property>
<property name="expand">no</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label2">
<property name="label" translatable="yes"></property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area1</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button1</name>
<can_default>True</can_default>
<has_default>True</has_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button3</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox1</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>the_hbox</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>hbox2</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>label1</name>
<label></label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label</name>
<label>label1</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>3</padding>
<expand>False</expand>
<fill>True</fill>
</child>
</widget>
<widget>
<class>GtkHBox</class>
<name>date_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>3</padding>
<expand>False</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkLabel</class>
<name>label2</name>
<label></label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
</widget>
</widget>
</widget>
<widget class="GtkDialog" id="Date Account Dialog">
<property name="title" translatable="yes">Question</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Date Account Dialog</name>
<title>Question</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="vbox2">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>vbox2</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="hbuttonbox1">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button4">
<property name="can_default">yes</property>
<property name="has_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button5">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox3">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="the_hbox">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox4">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label3">
<property name="label" translatable="yes"></property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox4">
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="postdate_label">
<property name="label" translatable="yes">postd</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="date_label">
<property name="label" translatable="yes">duedate</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="memo_label">
<property name="label" translatable="yes">Description</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="acct_label">
<property name="label" translatable="yes">acct</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">3</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox5">
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="post_date_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="date_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="memo_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="acct_hbox">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">3</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label5">
<property name="label" translatable="yes"></property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>hbuttonbox1</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button4</name>
<can_default>True</can_default>
<has_default>True</has_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button5</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox3</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>the_hbox</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>hbox4</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>label3</name>
<label></label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox4</name>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>3</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>postdate_label</name>
<label>postd</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>date_label</name>
<label>duedate</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>memo_label</name>
<label>Description</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>acct_label</name>
<label>acct</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox5</name>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>3</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>post_date_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>date_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkEntry</class>
<name>memo_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkHBox</class>
<name>acct_hbox</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
</widget>
<widget>
<class>GtkLabel</class>
<name>label5</name>
<label></label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,352 +1,357 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Job</name>
<program_name>job</program_name>
<directory></directory>
<source_directory>src</source_directory>
<pixmaps_directory>pixmaps</pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget class="GtkDialog" id="Job Dialog">
<property name="title" translatable="yes">Job Dialog</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Job Dialog</name>
<title>Job Dialog</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox2">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox2</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area2">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button8">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button9">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button10">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-help</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox1">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkFrame" id="frame1">
<property name="border_width">3</property>
<property name="label" translatable="yes">Job Information</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox8">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox4">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label1">
<property name="label" translatable="yes">Job Number</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label3">
<property name="label" translatable="yes">Job Name</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="width-request">100</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox12">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkEntry" id="id_entry">
<property name="tooltip" translatable="yes">The job ID number. If left blank a reasonable number will be chosen for you</property>
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="width-request">50</property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="name_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame2">
<property name="border_width">3</property>
<property name="label" translatable="yes">Owner Information</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox9">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox5">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="owner_label">
<property name="label" translatable="yes">(owner)</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label4">
<property name="label" translatable="yes">Billing ID</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="width-request">100</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox13">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="customer_hbox">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="desc_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame3">
<property name="border_width">3</property>
<property name="label" translatable="yes">Active</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkCheckButton" id="active_check">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Job Active</property>
<property name="active">yes</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area2</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button8</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button9</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button10</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_HELP</stock_button>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox1</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkFrame</class>
<name>frame1</name>
<border_width>3</border_width>
<label>Job Information</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox8</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkVBox</class>
<name>vbox4</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>label1</name>
<label>Job Number</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label3</name>
<width>100</width>
<label>Job Name</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox12</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkEntry</class>
<name>id_entry</name>
<width>50</width>
<tooltip>The job ID number. If left blank a reasonable number will be chosen for you</tooltip>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>name_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame2</name>
<border_width>3</border_width>
<label>Owner Information</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox9</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkVBox</class>
<name>vbox5</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>owner_label</name>
<label>(owner)</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label4</name>
<width>100</width>
<label>Billing ID</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox13</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>customer_hbox</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkEntry</class>
<name>desc_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame3</name>
<border_width>3</border_width>
<label>Active</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkCheckButton</class>
<name>active_check</name>
<can_focus>True</can_focus>
<label>Job Active</label>
<active>True</active>
<draw_indicator>True</draw_indicator>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

File diff suppressed because it is too large Load Diff

View File

@@ -1,364 +1,398 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Payment</name>
<program_name>payment</program_name>
<directory></directory>
<source_directory>src</source_directory>
<pixmaps_directory>pixmaps</pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
</project>
<glade-interface>
<widget class="GtkDialog" id="Payment Dialog">
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">yes</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Payment Dialog</name>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox1</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button1">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox1">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkFrame" id="frame1">
<property name="label" translatable="yes">Payment Information</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox1">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox2">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="owner_label">
<property name="label" translatable="yes">(owner)</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label3">
<property name="label" translatable="yes">Date</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label2">
<property name="label" translatable="yes">Amount</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label4">
<property name="label" translatable="yes">Num</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label5">
<property name="label" translatable="yes">Memo</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox3">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="owner_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="date_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="amount_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="num_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="memo_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame2">
<property name="label" translatable="yes">Post To</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkCombo" id="post_combo">
<property name="border_width">3</property>
<property name="value_in_list">yes</property>
<property name="case_sensitive">no</property>
<property name="enable_arrow_keys">yes</property>
<property name="enable_arrows_always">no</property>
<property name="allow_empty">no</property>
<property name="visible">yes</property>
<child internal-child="entry">
<widget class="GtkEntry" id="combo-entry1">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="list">
<widget class="GtkList" id="convertwidget1">
<property name="visible">yes</property>
<child>
<widget class="GtkListItem" id="convertwidget2">
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="convertwidget3">
<property name="label" translatable="yes"></property>
<property name="xalign">0.0</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame3">
<property name="label" translatable="yes">Transfer Account</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkScrolledWindow" id="acct_window">
<property name="border_width">3</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="width-request">150</property>
<property name="height-request">100</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget4">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget5">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area1</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button1</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button3</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox1</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkFrame</class>
<name>frame1</name>
<label>Payment Information</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox1</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkVBox</class>
<name>vbox2</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>owner_label</name>
<label>(owner)</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label3</name>
<label>Date</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label2</name>
<label>Amount</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label4</name>
<label>Num</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label5</name>
<label>Memo</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox3</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>owner_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>date_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>amount_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkEntry</class>
<name>num_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>memo_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame2</name>
<label>Post To</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkCombo</class>
<name>post_combo</name>
<border_width>3</border_width>
<value_in_list>True</value_in_list>
<ok_if_empty>False</ok_if_empty>
<case_sensitive>False</case_sensitive>
<use_arrows>True</use_arrows>
<use_arrows_always>False</use_arrows_always>
<items></items>
<widget>
<class>GtkEntry</class>
<child_name>GtkCombo:entry</child_name>
<name>combo-entry1</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame3</name>
<label>Transfer Account</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkScrolledWindow</class>
<name>acct_window</name>
<border_width>3</border_width>
<width>150</width>
<height>100</height>
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<widget>
<class>Placeholder</class>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

File diff suppressed because it is too large Load Diff

View File

@@ -41,7 +41,7 @@ static QueryPredData_t gncs_get_predicate (GNCSearchCoreType *fe);
static void gnc_search_owner_class_init (GNCSearchOwnerClass *class);
static void gnc_search_owner_init (GNCSearchOwner *gspaper);
static void gnc_search_owner_finalise (GtkObject *obj);
static void gnc_search_owner_finalize (GObject *obj);
#define _PRIVATE(x) (((GNCSearchOwner *)(x))->priv)
@@ -73,8 +73,8 @@ gnc_search_owner_get_type (void)
sizeof(GNCSearchOwnerClass),
(GtkClassInitFunc)gnc_search_owner_class_init,
(GtkObjectInitFunc)gnc_search_owner_init,
(GtkArgSetFunc)NULL,
(GtkArgGetFunc)NULL
NULL,
NULL
};
type = gtk_type_unique(gnc_search_core_type_get_type (), &type_info);
@@ -86,26 +86,19 @@ gnc_search_owner_get_type (void)
static void
gnc_search_owner_class_init (GNCSearchOwnerClass *class)
{
GtkObjectClass *object_class;
GObjectClass *object_class;
GNCSearchCoreTypeClass *gnc_search_core_type = (GNCSearchCoreTypeClass *)class;
object_class = (GtkObjectClass *)class;
object_class = G_OBJECT_CLASS (class);
parent_class = gtk_type_class(gnc_search_core_type_get_type ());
object_class->finalize = gnc_search_owner_finalise;
object_class->finalize = gnc_search_owner_finalize;
/* override methods */
gnc_search_core_type->validate = gncs_validate;
gnc_search_core_type->get_widget = gncs_get_widget;
gnc_search_core_type->get_predicate = gncs_get_predicate;
gnc_search_core_type->clone = gncs_clone;
#if 0
/* signals */
#if LAST_SIGNAL > 0
gtk_object_class_add_signals(object_class, signals, LAST_SIGNAL);
#endif
#endif
}
static void
@@ -115,14 +108,14 @@ gnc_search_owner_init (GNCSearchOwner *o)
}
static void
gnc_search_owner_finalise (GtkObject *obj)
gnc_search_owner_finalize (GObject *obj)
{
GNCSearchOwner *o = (GNCSearchOwner *)obj;
g_assert (IS_GNCSEARCH_OWNER (o));
g_free(o->priv);
((GtkObjectClass *)(parent_class))->finalize(obj);
G_OBJECT_CLASS (parent_class)->finalize(obj);
}
/**
@@ -180,8 +173,8 @@ set_owner_widget (GNCSearchOwner *fe)
gnc_get_current_book(), &(fe->priv->owner));
/* Setup the "changed" callback */
gtk_signal_connect (GTK_OBJECT (fe->priv->owner_choice), "changed",
GTK_SIGNAL_FUNC (owner_changed_cb), fe);
g_signal_connect (G_OBJECT (fe->priv->owner_choice), "changed",
G_CALLBACK (owner_changed_cb), fe);
gtk_widget_show_all (fe->priv->owner_choice);
}
@@ -190,7 +183,7 @@ static void
type_option_changed (GtkWidget *widget, GNCSearchOwner *fe)
{
GncOwnerType type = (GncOwnerType)
gtk_object_get_data (GTK_OBJECT (widget), "option");
g_object_get_data (G_OBJECT (widget), "option");
/* If the type changed or if we don't have a type create the owner_choice */
if (type != gncOwnerGetType (&(fe->priv->owner))) {
@@ -206,9 +199,9 @@ add_type_menu_item (GtkWidget *menu, gpointer user_data, char *label,
GncOwnerType type)
{
GtkWidget *item = gtk_menu_item_new_with_label (label);
gtk_object_set_data (GTK_OBJECT (item), "option", (gpointer) type);
gtk_signal_connect (GTK_OBJECT (item), "activate", type_option_changed,
user_data);
g_object_set_data (G_OBJECT (item), "option", (gpointer) type);
g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (type_option_changed),
user_data);
gtk_menu_append (GTK_MENU (menu), item);
gtk_widget_show (item);
return item;
@@ -240,7 +233,7 @@ make_type_menu (GNCSearchCoreType *fe)
opmenu = gtk_option_menu_new ();
gtk_option_menu_set_menu (GTK_OPTION_MENU (opmenu), menu);
gtk_signal_emit_by_name (GTK_OBJECT (first), "activate", fe);
g_signal_emit_by_name (G_OBJECT (first), "activate", fe);
gtk_option_menu_set_history (GTK_OPTION_MENU (opmenu), current);
return opmenu;
@@ -250,7 +243,7 @@ static void
how_option_changed (GtkWidget *widget, GNCSearchOwner *fe)
{
fe->how = (query_compare_t)
gtk_object_get_data (GTK_OBJECT (widget), "option");
g_object_get_data (G_OBJECT (widget), "option");
}
static GtkWidget *
@@ -258,9 +251,9 @@ add_how_menu_item (GtkWidget *menu, gpointer user_data, char *label,
query_compare_t option)
{
GtkWidget *item = gtk_menu_item_new_with_label (label);
gtk_object_set_data (GTK_OBJECT (item), "option", (gpointer) option);
gtk_signal_connect (GTK_OBJECT (item), "activate", how_option_changed,
user_data);
g_object_set_data (G_OBJECT (item), "option", (gpointer) option);
g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (how_option_changed),
user_data);
gtk_menu_append (GTK_MENU (menu), item);
gtk_widget_show (item);
return item;
@@ -288,7 +281,7 @@ make_how_menu (GNCSearchCoreType *fe)
opmenu = gtk_option_menu_new ();
gtk_option_menu_set_menu (GTK_OPTION_MENU (opmenu), menu);
gtk_signal_emit_by_name (GTK_OBJECT (first), "activate", fe);
g_signal_emit_by_name (G_OBJECT (first), "activate", fe);
gtk_option_menu_set_history (GTK_OPTION_MENU (opmenu), current);
return opmenu;

View File

@@ -178,8 +178,8 @@ add_menu_item (GtkWidget *menu, NewTaxTable *ntt, char *label, gint type)
GtkWidget *item;
item = gtk_menu_item_new_with_label (label);
gtk_object_set_data (GTK_OBJECT (item), "option", GINT_TO_POINTER (type));
gtk_signal_connect (GTK_OBJECT (item), "activate", optionmenu_changed, ntt);
g_object_set_data (G_OBJECT (item), "option", GINT_TO_POINTER (type));
g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (optionmenu_changed), ntt);
gtk_menu_append (GTK_MENU (menu), item);
gtk_widget_show (item);
return item;
@@ -198,7 +198,7 @@ make_menu (GtkWidget *omenu, NewTaxTable *ntt)
gtk_option_menu_set_menu (GTK_OPTION_MENU (omenu), menu);
gtk_signal_emit_by_name (GTK_OBJECT ((current == GNC_AMT_TYPE_VALUE-1 ?
g_signal_emit_by_name (G_OBJECT ((current == GNC_AMT_TYPE_VALUE-1 ?
value : percent)), "activate", ntt);
gtk_option_menu_set_history (GTK_OPTION_MENU (omenu), current);
return menu;
@@ -257,10 +257,10 @@ new_tax_table_dialog (TaxTableWindow *ttw, gboolean new_table,
/* Connect the dialog buttons */
gnome_dialog_button_connect (GNOME_DIALOG (ntt->dialog), 0,
new_tax_table_ok_cb, ntt);
G_CALLBACK (new_tax_table_ok_cb), ntt);
gnome_dialog_button_connect (GNOME_DIALOG (ntt->dialog), 1,
new_tax_table_cancel_cb, ntt);
G_CALLBACK (new_tax_table_cancel_cb), ntt);
/* Fill in the widgets appropriately */
if (entry) {
@@ -275,8 +275,8 @@ new_tax_table_dialog (TaxTableWindow *ttw, gboolean new_table,
GTK_WINDOW (ttw->dialog));
gtk_window_set_modal (GTK_WINDOW (ntt->dialog), TRUE);
gtk_signal_connect (GTK_OBJECT (ntt->dialog), "destroy",
new_tax_table_dialog_destroy_cb, ntt);
g_signal_connect (G_OBJECT (ntt->dialog), "destroy",
G_CALLBACK (new_tax_table_dialog_destroy_cb), ntt);
/* Show what we should */
gtk_widget_show_all (ntt->dialog);
@@ -652,33 +652,33 @@ gnc_ui_tax_table_window_new (GNCBook *book)
/* Connect all the buttons */
button = glade_xml_get_widget (xml, "new_table_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
tax_table_new_table_cb, ttw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (tax_table_new_table_cb), ttw);
button = glade_xml_get_widget (xml, "delete_table_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
tax_table_delete_table_cb, ttw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (tax_table_delete_table_cb), ttw);
button = glade_xml_get_widget (xml, "new_entry_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
tax_table_new_entry_cb, ttw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (tax_table_new_entry_cb), ttw);
button = glade_xml_get_widget (xml, "edit_entry_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
tax_table_edit_entry_cb, ttw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (tax_table_edit_entry_cb), ttw);
button = glade_xml_get_widget (xml, "delete_entry_button");
gtk_signal_connect (GTK_OBJECT (button), "clicked",
tax_table_delete_entry_cb, ttw);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (tax_table_delete_entry_cb), ttw);
/* Set the row-select callbacks */
gtk_signal_connect (GTK_OBJECT (ttw->names_clist), "select-row",
tax_table_row_selected, ttw);
gtk_signal_connect (GTK_OBJECT (ttw->entries_clist), "select-row",
tax_table_entry_row_selected, ttw);
g_signal_connect (G_OBJECT (ttw->names_clist), "select-row",
G_CALLBACK (tax_table_row_selected), ttw);
g_signal_connect (G_OBJECT (ttw->entries_clist), "select-row",
G_CALLBACK (tax_table_entry_row_selected), ttw);
/* Connect the dialog buttons */
gnome_dialog_button_connect (GNOME_DIALOG (ttw->dialog), 0,
tax_table_window_close, ttw);
G_CALLBACK (tax_table_window_close), ttw);
gtk_signal_connect (GTK_OBJECT (ttw->dialog), "destroy",
tax_table_window_destroy_cb, ttw);
g_signal_connect (G_OBJECT (ttw->dialog), "destroy",
G_CALLBACK (tax_table_window_destroy_cb), ttw);
/* register with component manager */
ttw->component_id =

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1334,6 +1334,7 @@ gnc_options_dialog_list_select_cb(GtkWidget * list, GtkWidget * item,
void
gnc_options_register_stocks (void)
{
#if 0
static gboolean done = FALSE;
GtkStockItem items[] = {
@@ -1350,7 +1351,7 @@ gnc_options_register_stocks (void)
done = TRUE;
gtk_stock_add (items, G_N_ELEMENTS (items));
#endif
}

View File

@@ -1106,10 +1106,9 @@ gnc_glade_autoconnect_full_func(const gchar *handler_name,
if (other_object) {
if (signal_after)
g_signal_connect_object (signal_object, signal_name, func,
other_object, G_CONNECT_AFTER);
other_object, G_CONNECT_AFTER | G_CONNECT_SWAPPED);
else
g_signal_connect_object(signal_object, signal_name, func,
other_object, 0);
g_signal_connect_swapped (signal_object, signal_name, func, other_object);
} else {
if (signal_after)
g_signal_connect_after(signal_object, signal_name, func, user_data);

View File

@@ -1,373 +1,380 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Exchange-dialog</name>
<program_name>exchange-dialog</program_name>
<directory></directory>
<source_directory>src</source_directory>
<pixmaps_directory>pixmaps</pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
</project>
<glade-interface>
<widget class="GtkDialog" id="Exchange Dialog">
<property name="type">GTK_WINDOW_POPUP</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Exchange Dialog</name>
<type>GTK_WINDOW_POPUP</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox1</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button1">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox2">
<property name="homogeneous">no</property>
<property name="spacing">3</property>
<property name="visible">yes</property>
<child>
<widget class="GtkFrame" id="frame1">
<property name="label" translatable="yes">Split Information</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox1">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox1">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label7">
<property name="label" translatable="yes">Amount:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label1">
<property name="label" translatable="yes">From:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label2">
<property name="label" translatable="yes">To:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label4">
<property name="label" translatable="yes">Date:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox2">
<property name="border_width">3</property>
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="from_amount_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="from_entry">
<property name="sensitive">no</property>
<property name="can_focus">yes</property>
<property name="editable">no</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="to_entry">
<property name="sensitive">no</property>
<property name="can_focus">yes</property>
<property name="editable">no</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="date_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame2">
<property name="label" translatable="yes">Exchange/Price Information</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox4">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox3">
<property name="homogeneous">yes</property>
<property name="spacing">3</property>
<property name="visible">yes</property>
<child>
<widget class="GtkRadioButton" id="rate_button">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Exchange Rate:</property>
<property name="active">yes</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="amount_button">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">To Amount:</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
<property name="group">rate_button</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox4">
<property name="homogeneous">yes</property>
<property name="spacing">3</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="rate_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="to_amount_box">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area1</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button1</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button3</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox2</name>
<homogeneous>False</homogeneous>
<spacing>3</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkFrame</class>
<name>frame1</name>
<label>Split Information</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox1</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkVBox</class>
<name>vbox1</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>label7</name>
<label>Amount:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label1</name>
<label>From:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label2</name>
<label>To:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label4</name>
<label>Date:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox2</name>
<border_width>3</border_width>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>from_amount_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkEntry</class>
<name>from_entry</name>
<sensitive>False</sensitive>
<can_focus>True</can_focus>
<editable>False</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>to_entry</name>
<sensitive>False</sensitive>
<can_focus>True</can_focus>
<editable>False</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkHBox</class>
<name>date_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame2</name>
<label>Exchange/Price Information</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox4</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkVBox</class>
<name>vbox3</name>
<homogeneous>True</homogeneous>
<spacing>3</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkRadioButton</class>
<name>rate_button</name>
<can_focus>True</can_focus>
<label>Exchange Rate:</label>
<active>True</active>
<draw_indicator>True</draw_indicator>
<group>exch_type</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkRadioButton</class>
<name>amount_button</name>
<can_focus>True</can_focus>
<label>To Amount:</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>exch_type</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox4</name>
<homogeneous>True</homogeneous>
<spacing>3</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>rate_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>to_amount_box</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

View File

@@ -72,7 +72,7 @@ gnc_ui_get_toplevel (void)
app = GNOME_APP (w);
gnc_mdi = gtk_object_get_data (GTK_OBJECT (w), "gnc_mdi");
gnc_mdi = g_object_get_data (G_OBJECT (w), "gnc_mdi");
if (!gnc_mdi)
continue;
@@ -557,12 +557,12 @@ gnc_mdi_app_created_cb (GnomeMDI * mdi, GnomeApp * app, gpointer data)
gnome_app_enable_layout_config (app, TRUE);
/* flag the app as gnc mdi created */
gtk_object_set_data (GTK_OBJECT (app), "gnc_mdi", mainwin);
g_object_set_data (G_OBJECT (app), "gnc_mdi", mainwin);
/* add a signal to preserve the toolbar on destroy */
gtk_signal_connect (GTK_OBJECT (app), "destroy",
GTK_SIGNAL_FUNC (gnc_mdi_app_destroyed_cb),
mainwin);
g_signal_connect (G_OBJECT (app), "destroy",
G_CALLBACK (gnc_mdi_app_destroyed_cb),
mainwin);
}
/**
@@ -902,17 +902,17 @@ gnc_mdi_new (const char *app_name,
gnc_mdi->component_id = gnc_register_gui_component (GNC_MDI_CM_CLASS,
NULL, NULL, gnc_mdi);
gtk_signal_connect (GTK_OBJECT(gnc_mdi->mdi), "destroy",
GTK_SIGNAL_FUNC(gnc_mdi_destroy_cb),
gnc_mdi);
g_signal_connect (G_OBJECT (gnc_mdi->mdi), "destroy",
G_CALLBACK (gnc_mdi_destroy_cb),
gnc_mdi);
gtk_signal_connect (GTK_OBJECT(gnc_mdi->mdi), "app_created",
GTK_SIGNAL_FUNC(gnc_mdi_app_created_cb),
gnc_mdi);
g_signal_connect (G_OBJECT (gnc_mdi->mdi), "app_created",
G_CALLBACK (gnc_mdi_app_created_cb),
gnc_mdi);
gtk_signal_connect (GTK_OBJECT(gnc_mdi->mdi), "child_changed",
GTK_SIGNAL_FUNC(gnc_mdi_child_changed_cb),
gnc_mdi);
g_signal_connect (G_OBJECT (gnc_mdi->mdi), "child_changed",
G_CALLBACK (gnc_mdi_child_changed_cb),
gnc_mdi);
gnc_mdi->toolbar_change_callback_id =
gnc_register_option_change_callback (gnc_mdi_configure_toolbar_cb,
@@ -1003,7 +1003,7 @@ gnc_mdi_has_apps (void)
continue;
#endif
gnc_mdi = gtk_object_get_data (GTK_OBJECT (toplevels->data), "gnc_mdi");
gnc_mdi = g_object_get_data (G_OBJECT (toplevels->data), "gnc_mdi");
if (!gnc_mdi)
continue;
@@ -1024,7 +1024,7 @@ gnc_app_set_title (GnomeApp *app)
g_return_if_fail (app != NULL);
mainwin = gtk_object_get_data (GTK_OBJECT (app), "gnc_mdi");
mainwin = g_object_get_data (G_OBJECT (app), "gnc_mdi");
if (!mainwin || !mainwin->mdi)
return;

File diff suppressed because it is too large Load Diff

View File

@@ -67,8 +67,6 @@ gnc_ui_new_user_dialog (void)
dialog = glade_xml_get_widget (xml, "New User Dialog");
gnome_dialog_close_hides (GNOME_DIALOG (dialog), TRUE);
new_accounts_button = glade_xml_get_widget (xml, "new_accounts_button");
import_qif_button = glade_xml_get_widget (xml, "import_qif_button");
tutorial_button = glade_xml_get_widget (xml, "tutorial_button");
@@ -78,30 +76,25 @@ gnc_ui_new_user_dialog (void)
*/
gtk_widget_set_sensitive (import_qif_button, (qifImportDruidFcn != NULL));
result = gnome_dialog_run_and_close (GNOME_DIALOG (dialog));
if (result != 0)
{
gnc_ui_new_user_cancel_dialog ();
gtk_widget_destroy (dialog);
gncp_new_user_finish ();
return;
}
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (new_accounts_button)))
{
gnc_ui_hierarchy_druid ();
gtk_widget_destroy (dialog);
return;
}
if ((qifImportDruidFcn != NULL) &&
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (import_qif_button)))
{
qifImportDruidFcn();
}
else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (tutorial_button)))
{
helpWindow (NULL, NULL, HH_QUICKSTART);
result = gtk_dialog_run (GTK_DIALOG (dialog));
switch (result) {
case GTK_RESPONSE_CANCEL:
gnc_ui_new_user_cancel_dialog ();
break;
case GTK_RESPONSE_OK:
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (new_accounts_button))) {
gnc_ui_hierarchy_druid ();
break;
} else if ((qifImportDruidFcn != NULL) &&
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (import_qif_button))) {
qifImportDruidFcn();
break;
} else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (tutorial_button))) {
helpWindow (NULL, NULL, HH_QUICKSTART);
break;
}
default:
g_assert_not_reached ();
}
gncp_new_user_finish ();
@@ -121,10 +114,8 @@ gnc_ui_new_user_cancel_dialog (void)
dialog = glade_xml_get_widget (xml, "New User Cancel Dialog");
toggle = glade_xml_get_widget (xml, "run_again_toggle");
gnome_dialog_close_hides (GNOME_DIALOG (dialog), TRUE);
result = gnome_dialog_run_and_close (GNOME_DIALOG (dialog));
if (result == 0)
result = gtk_dialog_run (GTK_DIALOG (dialog));
if (result == GTK_RESPONSE_OK)
{
gboolean keepshowing = TRUE;

View File

@@ -1,257 +1,257 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget class="GtkDialog" id="Commodities Dialog">
<property name="title" translatable="yes">Commodities</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">yes</property>
<property name="allow_grow">yes</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Commodities Dialog</name>
<title>Commodities</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>True</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="vbox127">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>vbox127</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="hbuttonbox6">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="close_button">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-close</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox107">
<property name="homogeneous">no</property>
<property name="spacing">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkFrame" id="frame51">
<property name="border_width">3</property>
<property name="label" translatable="yes">Commodities</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox128">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkCheckButton" id="show_currencies_button">
<property name="border_width">3</property>
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Show National Currencies</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow33">
<property name="border_width">3</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkTreeView" id="commodity_list">
<property name="can_focus">yes</property>
<property name="headers-visible">yes</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label8477426">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">Type</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label8477427">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">Symbol</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label8477428">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">Name</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label8477429">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">Code</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label8477430">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">Fraction</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget1">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget2">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkHButtonBox" id="hbuttonbox7">
<property name="border_width">3</property>
<property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
<property name="spacing">30</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="add_button">
<property name="tooltip" translatable="yes">Add a new commodity.</property>
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Add</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="remove_button">
<property name="tooltip" translatable="yes">Remove the current commodity.</property>
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Remove</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="edit_button">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Edit</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>hbuttonbox6</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>close_button</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CLOSE</stock_button>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>hbox107</name>
<homogeneous>False</homogeneous>
<spacing>2</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkFrame</class>
<name>frame51</name>
<border_width>3</border_width>
<label>Commodities</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkVBox</class>
<name>vbox128</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkCheckButton</class>
<name>show_currencies_button</name>
<border_width>3</border_width>
<can_focus>True</can_focus>
<label>Show National Currencies</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkScrolledWindow</class>
<name>scrolledwindow33</name>
<border_width>3</border_width>
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkCList</class>
<name>commodity_list</name>
<can_focus>True</can_focus>
<columns>5</columns>
<column_widths>80,80,80,80,80</column_widths>
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
<show_titles>True</show_titles>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label8477426</name>
<label>Type</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label8477427</name>
<label>Symbol</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label8477428</name>
<label>Name</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label8477429</name>
<label>Code</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label8477430</name>
<label>Fraction</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
</widget>
<widget>
<class>GtkHButtonBox</class>
<name>hbuttonbox7</name>
<border_width>3</border_width>
<layout_style>GTK_BUTTONBOX_SPREAD</layout_style>
<spacing>30</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkButton</class>
<name>add_button</name>
<tooltip>Add a new commodity.</tooltip>
<can_default>True</can_default>
<can_focus>True</can_focus>
<label>Add</label>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkButton</class>
<name>remove_button</name>
<tooltip>Remove the current commodity.</tooltip>
<can_default>True</can_default>
<can_focus>True</can_focus>
<label>Remove</label>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkButton</class>
<name>edit_button</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<label>Edit</label>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

File diff suppressed because it is too large Load Diff

View File

@@ -1,342 +1,358 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
<output_translatable_strings>True</output_translatable_strings>
<translatable_strings_file>help_strings.c</translatable_strings_file>
</project>
<glade-interface>
<widget class="GtkWindow" id="Help Window">
<property name="title" translatable="yes">GnuCash Help</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<property name="visible">yes</property>
<widget>
<class>GtkWindow</class>
<name>Help Window</name>
<title>GnuCash Help</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>False</auto_shrink>
<child>
<widget class="GtkVBox" id="vbox90">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<name>vbox90</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<widget class="GtkHandleBox" id="handlebox1">
<property name="handle_position">GTK_POS_LEFT</property>
<property name="snap_edge">GTK_POS_TOP</property>
<property name="shadow">GTK_SHADOW_OUT</property>
<property name="visible">yes</property>
<widget>
<class>GtkHandleBox</class>
<name>handlebox1</name>
<shadow_type>GTK_SHADOW_OUT</shadow_type>
<handle_position>GTK_POS_LEFT</handle_position>
<snap_edge>GTK_POS_TOP</snap_edge>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<child>
<widget class="GtkToolbar" id="help_toolbar">
<property name="border_width">2</property>
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
<property name="toolbar-style">GTK_TOOLBAR_BOTH</property>
<property name="visible">yes</property>
<widget>
<class>GtkToolbar</class>
<name>help_toolbar</name>
<border_width>2</border_width>
<orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
<type>GTK_TOOLBAR_BOTH</type>
<space_size>5</space_size>
<space_style>GTK_TOOLBAR_SPACE_LINE</space_style>
<relief>GTK_RELIEF_NONE</relief>
<tooltips>True</tooltips>
<child>
<placeholder />
</child>
<widget>
<class>Placeholder</class>
</widget>
<child>
<placeholder />
</child>
<widget>
<class>Placeholder</class>
</widget>
<child>
<placeholder />
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<widget>
<class>Placeholder</class>
</widget>
<child>
<widget class="GtkHPaned" id="help_paned">
<property name="position">200</property>
<property name="visible">yes</property>
<child>
<widget class="GtkNotebook" id="notebook3">
<property name="can_focus">yes</property>
<property name="show_tabs">yes</property>
<property name="show_border">yes</property>
<property name="tab_pos">GTK_POS_BOTTOM</property>
<property name="scrollable">no</property>
<property name="tab_hborder">2</property>
<property name="tab_vborder">2</property>
<property name="enable-popup">no</property>
<property name="visible">yes</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow15">
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="visible">yes</property>
<child>
<widget class="GtkViewport" id="viewport3">
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkTreeView" id="help_topics_tree">
<property name="can_focus">yes</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="headers-visible">no</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label847">
<property name="child_name">CTree:title</property>
<property name="label" translatable="yes">Help Topics</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget1">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget2">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label847666">
<property name="label" translatable="yes">Topics</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="type">tab</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame37">
<property name="label" translatable="yes">Search GnuCash Help</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox91">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">5</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label849">
<property name="label" translatable="yes">Search Term:</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">no</property>
<property name="xalign">7.45058e-09</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="help_search_entry">
<property name="tooltip" translatable="yes">Type a single term into the box and hit 'search'. At the moment, this search engine does not support complex searches, just single words.</property>
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox80">
<property name="homogeneous">yes</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="help_search_button">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Search</property>
<property name="visible">yes</property>
<signal name="clicked" handler="gnc_help_window_search_button_cb" />
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="help_search_help_button">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Help</property>
<property name="visible">yes</property>
<signal name="clicked" handler="gnc_help_window_search_help_button_cb" />
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame38">
<property name="label" translatable="yes">Search results</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow16">
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="visible">yes</property>
<child>
<widget class="GtkViewport" id="viewport4">
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkTreeView" id="search_results_list">
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget3">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget4">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label848">
<property name="label" translatable="yes">Search</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="type">tab</property>
</packing>
</child>
</widget>
<packing>
<property name="shrink">yes</property>
<property name="resize">no</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="help_html_vbox">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
<child>
<widget class="GtkHBox" id="statusbar_hbox">
<property name="homogeneous">no</property>
<property name="spacing">5</property>
<property name="visible">yes</property>
<child>
<widget class="GtkStatusbar" id="help_statusbar">
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
</widget>
<packing>
<property name="shrink">no</property>
<property name="resize">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</widget>
<widget>
<class>GtkHPaned</class>
<name>help_paned</name>
<handle_size>10</handle_size>
<gutter_size>15</gutter_size>
<position>200</position>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkNotebook</class>
<name>notebook3</name>
<can_focus>True</can_focus>
<show_tabs>True</show_tabs>
<show_border>True</show_border>
<tab_pos>GTK_POS_BOTTOM</tab_pos>
<scrollable>False</scrollable>
<tab_hborder>2</tab_hborder>
<tab_vborder>2</tab_vborder>
<popup_enable>False</popup_enable>
<child>
<shrink>True</shrink>
<resize>False</resize>
</child>
<widget>
<class>GtkScrolledWindow</class>
<name>scrolledwindow15</name>
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<widget>
<class>GtkViewport</class>
<name>viewport3</name>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkCTree</class>
<name>help_topics_tree</name>
<can_focus>True</can_focus>
<columns>1</columns>
<column_widths>80</column_widths>
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
<show_titles>False</show_titles>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkLabel</class>
<child_name>CTree:title</child_name>
<name>label847</name>
<label>Help Topics</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkLabel</class>
<child_name>Notebook:tab</child_name>
<name>label847666</name>
<label>Topics</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame37</name>
<label>Search GnuCash Help</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<widget>
<class>GtkVBox</class>
<name>vbox91</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>5</spacing>
<widget>
<class>GtkLabel</class>
<name>label849</name>
<label>Search Term:</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
<xalign>7.45058e-09</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>help_search_entry</name>
<tooltip>Type a single term into the box and hit 'search'. At the moment, this search engine does not support complex searches, just single words.</tooltip>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkHBox</class>
<name>hbox80</name>
<homogeneous>True</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkButton</class>
<name>help_search_button</name>
<can_focus>True</can_focus>
<signal>
<name>clicked</name>
<handler>gnc_help_window_search_button_cb</handler>
<data>Help_Window</data>
<last_modification_time>Fri, 15 Dec 2000 18:13:53 GMT</last_modification_time>
</signal>
<label>Search</label>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
<widget>
<class>GtkButton</class>
<name>help_search_help_button</name>
<can_focus>True</can_focus>
<signal>
<name>clicked</name>
<handler>gnc_help_window_search_help_button_cb</handler>
<data>Help_Window</data>
<last_modification_time>Fri, 15 Dec 2000 18:14:21 GMT</last_modification_time>
</signal>
<label>Help</label>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame38</name>
<label>Search results</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkScrolledWindow</class>
<name>scrolledwindow16</name>
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<widget>
<class>GtkViewport</class>
<name>viewport4</name>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkList</class>
<name>search_results_list</name>
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkLabel</class>
<child_name>Notebook:tab</child_name>
<name>label848</name>
<label>Search</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>help_html_vbox</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<shrink>False</shrink>
<resize>True</resize>
</child>
<widget>
<class>Placeholder</class>
</widget>
<widget>
<class>GtkHBox</class>
<name>statusbar_hbox</name>
<homogeneous>False</homogeneous>
<spacing>5</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkStatusbar</class>
<name>help_statusbar</name>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
</widget>
</widget>
</widget>
</widget>
</child>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

View File

@@ -1,241 +1,239 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget>
<class>GnomeDialog</class>
<name>New User Dialog</name>
<title>Welcome to GnuCash!</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<widget class="GtkDialog" id="New User Dialog">
<property name="visible">True</property>
<property name="title" translatable="yes">Welcome to GnuCash!</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="has_separator">True</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox1</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">8</property>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area2</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area2">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="button1">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-6</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-ok</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-5</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<widget>
<class>GtkButton</class>
<name>button1</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button3</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame4</name>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
<widget class="GtkFrame" id="frame4">
<property name="border_width">12</property>
<property name="visible">True</property>
<property name="label_xalign">0</property>
<property name="label_yalign">0.5</property>
<property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
<child>
<widget class="GtkVBox" id="vbox6">
<property name="border_width">3</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkRadioButton" id="new_accounts_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Create a new set of accounts</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="import_qif_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Import my QIF files</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">new_accounts_button</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="tutorial_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Open the new user tutorial</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">new_accounts_button</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<widget>
<class>GtkVBox</class>
<name>vbox6</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkRadioButton</class>
<name>new_accounts_button</name>
<can_focus>True</can_focus>
<label>Create a new set of accounts</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>new_user_group</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkRadioButton</class>
<name>import_qif_button</name>
<can_focus>True</can_focus>
<label>Import my QIF files</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>new_user_group</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkRadioButton</class>
<name>tutorial_button</name>
<can_focus>True</can_focus>
<label>Open the new user tutorial</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>new_user_group</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</widget>
</child>
</widget>
<widget>
<class>GnomeDialog</class>
<name>New User Cancel Dialog</name>
<title>Canceling</title>
<type>GTK_WINDOW_DIALOG</type>
<position>GTK_WIN_POS_MOUSE</position>
<modal>True</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<widget class="GtkDialog" id="New User Cancel Dialog">
<property name="visible">True</property>
<property name="title" translatable="yes">Canceling</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">True</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="has_separator">True</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog_vbox</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog_vbox">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">8</property>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area1</name>
<layout_style>GTK_BUTTONBOX_DEFAULT_STYLE</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="ok_button">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-ok</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-5</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<widget>
<class>GtkButton</class>
<name>ok_button</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox1</name>
<homogeneous>False</homogeneous>
<spacing>5</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
<widget class="GtkVBox" id="vbox1">
<property name="border_width">12</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">6</property>
<child>
<widget class="GtkLabel" id="newAccountCancelDialog_ShouldRunAgainLable">
<property name="visible">True</property>
<property name="label" translatable="yes">Uncheck if you do not want this dialog to run if you start GnuCash up again. </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="run_again_toggle">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Run dialog for new user again?</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="active">True</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<widget>
<class>GtkLabel</class>
<name>newAccountCancelDialog_ShouldRunAgainLable</name>
<label>Uncheck if you do not want this dialog to run if you start GnuCash up again. </label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>True</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkCheckButton</class>
<name>run_again_toggle</name>
<can_focus>True</can_focus>
<label>Run dialog for new user again?</label>
<active>True</active>
<draw_indicator>True</draw_indicator>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</child>
</widget>
</GTK-Interface>
</glade-interface>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,112 +1,98 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget class="GtkWindow" id="Progress Dialog">
<property name="title" translatable="yes">Working...</property>
<property name="type">GTK_WINDOW_DIALOG</property>
<property name="modal">yes</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<property name="visible">yes</property>
<widget>
<class>GtkWindow</class>
<name>Progress Dialog</name>
<title>Working...</title>
<type>GTK_WINDOW_DIALOG</type>
<position>GTK_WIN_POS_NONE</position>
<modal>True</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<child>
<widget class="GtkVBox" id="vbox85">
<property name="border_width">5</property>
<property name="homogeneous">no</property>
<property name="spacing">5</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<name>vbox85</name>
<border_width>5</border_width>
<homogeneous>False</homogeneous>
<spacing>5</spacing>
<child>
<widget class="GtkLabel" id="heading_label">
<property name="label" translatable="yes">Heading</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<widget>
<class>GtkLabel</class>
<name>heading_label</name>
<label>Heading</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<child>
<widget class="GtkProgressBar" id="progress_bar">
<property name="bar_style">GTK_PROGRESS_CONTINUOUS</property>
<property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
<property name="activity_mode">no</property>
<property name="show_text">yes</property>
<property name="format" translatable="yes">%P %%</property>
<property name="text_xalign">0.5</property>
<property name="text_yalign">0.5</property>
<property name="visible">yes</property>
<property name="adjustment">0 0 100 1 10 10</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<widget>
<class>GtkProgressBar</class>
<name>progress_bar</name>
<value>0</value>
<lower>0</lower>
<upper>100</upper>
<bar_style>GTK_PROGRESS_CONTINUOUS</bar_style>
<orientation>GTK_PROGRESS_LEFT_TO_RIGHT</orientation>
<activity_mode>False</activity_mode>
<show_text>True</show_text>
<format>%P %%</format>
<text_xalign>0.5</text_xalign>
<text_yalign>0.5</text_yalign>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<child>
<widget class="GtkHButtonBox" id="hbuttonbox3">
<property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property>
<property name="spacing">30</property>
<property name="visible">yes</property>
<widget>
<class>GtkHButtonBox</class>
<name>hbuttonbox3</name>
<layout_style>GTK_BUTTONBOX_DEFAULT_STYLE</layout_style>
<spacing>30</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<child>
<widget class="GtkButton" id="ok_button">
<property name="sensitive">no</property>
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<widget>
<class>GtkButton</class>
<name>ok_button</name>
<sensitive>False</sensitive>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
<relief>GTK_RELIEF_NORMAL</relief>
<child>
<widget class="GtkButton" id="cancel_button">
<property name="visible">no</property>
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<widget>
<class>GtkButton</class>
<name>cancel_button</name>
<visible>False</visible>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
</widget>
</child>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,435 +1,481 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget class="GtkDialog" id="Tax Information Dialog">
<property name="title" translatable="yes">Tax Information</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">yes</property>
<property name="allow_grow">yes</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Tax Information Dialog</name>
<title>Tax Information</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>True</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>False</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox14">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox14</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area14">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button73">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="apply_button">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-apply</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button75">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-close</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox81">
<property name="homogeneous">no</property>
<property name="spacing">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkFrame" id="account_frame">
<property name="label" translatable="yes">Accounts</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox96">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox97">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkRadioButton" id="income_radio">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Income</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="expense_radio">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Expense</property>
<property name="active">yes</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
<property name="group">income_radio</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">2</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkScrolledWindow" id="account_scroll">
<property name="border_width">3</property>
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="visible">yes</property>
<child>
<placeholder />
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget1">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget2">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox98">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label847733">
<property name="label" translatable="yes">Accounts Selected:</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="num_accounts_label">
<property name="label" translatable="yes">0</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="select_subaccounts_button">
<property name="border_width">3</property>
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Select Subaccounts</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="tax_info_frame">
<property name="sensitive">no</property>
<property name="label" translatable="yes">Tax Information</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox92">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">3</property>
<property name="visible">yes</property>
<child>
<widget class="GtkCheckButton" id="tax_related_button">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Tax Related</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkHSeparator" id="hseparator1">
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">6</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="txf_categories_frame">
<property name="sensitive">no</property>
<property name="label" translatable="yes">TXF Categories</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox113">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow28">
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkTreeView" id="txf_category_clist">
<property name="can_focus">yes</property>
<property name="headers-visible">yes</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label847734">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">Form</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label847735">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">Description</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget3">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget4">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkScrolledWindow" id="help_scroll">
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkTextView" id="txf_help_text">
<property name="can_focus">yes</property>
<property name="editable">no</property>
<property name="text" translatable="yes"></property>
<property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget5">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget6">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="payer_name_source_frame">
<property name="label" translatable="yes">Payer Name Source</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox97">
<property name="border_width">3</property>
<property name="homogeneous">no</property>
<property name="spacing">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkRadioButton" id="current_account_button">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Current Account</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="parent_account_button">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Parent Account</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
<property name="group">current_account_button</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area14</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button73</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>apply_button</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_APPLY</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button75</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CLOSE</stock_button>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>hbox81</name>
<homogeneous>False</homogeneous>
<spacing>2</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkFrame</class>
<name>account_frame</name>
<label>Accounts</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkVBox</class>
<name>vbox96</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkHBox</class>
<name>hbox97</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>2</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkRadioButton</class>
<name>income_radio</name>
<can_focus>True</can_focus>
<label>Income</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>tax_info_account_type</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkRadioButton</class>
<name>expense_radio</name>
<can_focus>True</can_focus>
<label>Expense</label>
<active>True</active>
<draw_indicator>True</draw_indicator>
<group>tax_info_account_type</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkScrolledWindow</class>
<name>account_scroll</name>
<border_width>3</border_width>
<hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>Placeholder</class>
</widget>
</widget>
<widget>
<class>GtkHBox</class>
<name>hbox98</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>2</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>label847733</name>
<label>Accounts Selected:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>num_accounts_label</name>
<label>0</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkButton</class>
<name>select_subaccounts_button</name>
<border_width>3</border_width>
<can_focus>True</can_focus>
<label>Select Subaccounts</label>
<relief>GTK_RELIEF_NORMAL</relief>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>tax_info_frame</name>
<sensitive>False</sensitive>
<label>Tax Information</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkVBox</class>
<name>vbox92</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>3</spacing>
<widget>
<class>GtkCheckButton</class>
<name>tax_related_button</name>
<can_focus>True</can_focus>
<label>Tax Related</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkHSeparator</class>
<name>hseparator1</name>
<child>
<padding>6</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkFrame</class>
<name>txf_categories_frame</name>
<sensitive>False</sensitive>
<label>TXF Categories</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkVBox</class>
<name>vbox113</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>2</spacing>
<widget>
<class>GtkScrolledWindow</class>
<name>scrolledwindow28</name>
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkCList</class>
<name>txf_category_clist</name>
<can_focus>True</can_focus>
<columns>2</columns>
<column_widths>80,80</column_widths>
<selection_mode>GTK_SELECTION_BROWSE</selection_mode>
<show_titles>True</show_titles>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label847734</name>
<label>Form</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label847735</name>
<label>Description</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
</widget>
<widget>
<class>GtkScrolledWindow</class>
<name>help_scroll</name>
<hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkText</class>
<name>txf_help_text</name>
<can_focus>True</can_focus>
<editable>False</editable>
<text></text>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>payer_name_source_frame</name>
<label>Payer Name Source</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkVBox</class>
<name>vbox97</name>
<border_width>3</border_width>
<homogeneous>False</homogeneous>
<spacing>2</spacing>
<widget>
<class>GtkRadioButton</class>
<name>current_account_button</name>
<can_focus>True</can_focus>
<label>Current Account</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>payer_name_source</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkRadioButton</class>
<name>parent_account_button</name>
<can_focus>True</can_focus>
<label>Parent Account</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>payer_name_source</group>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

View File

@@ -1,205 +1,197 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget class="GtkDialog" id="Username Password Dialog">
<property name="title" translatable="yes">Username and Password</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Username Password Dialog</name>
<title>Username and Password</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>True</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox16">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox16</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area16">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button79">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button81">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="heading_label">
<property name="label" translatable="yes">Enter your username and password</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame47">
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox95">
<property name="border_width">10</property>
<property name="homogeneous">no</property>
<property name="spacing">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkVBox" id="vbox105">
<property name="homogeneous">yes</property>
<property name="spacing">5</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label847713">
<property name="label" translatable="yes">Username:</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label847714">
<property name="label" translatable="yes">Password:</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox106">
<property name="homogeneous">yes</property>
<property name="spacing">5</property>
<property name="visible">yes</property>
<child>
<widget class="GtkEntry" id="username_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="password_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">no</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area16</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button79</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button81</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkLabel</class>
<name>heading_label</name>
<label>Enter your username and password</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame47</name>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox95</name>
<border_width>10</border_width>
<homogeneous>False</homogeneous>
<spacing>2</spacing>
<widget>
<class>GtkVBox</class>
<name>vbox105</name>
<homogeneous>True</homogeneous>
<spacing>5</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkLabel</class>
<name>label847713</name>
<label>Username:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label847714</name>
<label>Password:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkVBox</class>
<name>vbox106</name>
<homogeneous>True</homogeneous>
<spacing>5</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkEntry</class>
<name>username_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>password_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>False</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

View File

@@ -44,8 +44,9 @@ static void
unselect_account_callback(GNCAccountTree *tree, Account *account, gpointer user_data)
{
GNCMainWinAccountTree *mw_tree = (GNCMainWinAccountTree *) user_data;
gtk_signal_emit(GTK_OBJECT(mw_tree),
g_signal_emit(G_OBJECT(mw_tree),
mainwinaccounttree_signals[UNSELECT_ACCOUNT_SIGNAL],
0,
account);
return;
}
@@ -54,8 +55,9 @@ static void
activate_account_callback(GNCAccountTree *tree, Account *account, gpointer user_data)
{
GNCMainWinAccountTree *mw_tree = (GNCMainWinAccountTree *) user_data;
gtk_signal_emit(GTK_OBJECT(mw_tree),
g_signal_emit(G_OBJECT(mw_tree),
mainwinaccounttree_signals[ACTIVATE_ACCOUNT_SIGNAL],
0,
account);
return;
}
@@ -78,8 +80,8 @@ select_account_callback(GNCAccountTree *tree, Account *account, gpointer user_d
}
}
gtk_signal_emit(GTK_OBJECT(clicked_window),
mainwinaccounttree_signals[SELECT_ACCOUNT_SIGNAL],
g_signal_emit(G_OBJECT(clicked_window),
mainwinaccounttree_signals[SELECT_ACCOUNT_SIGNAL], 0,
account);
return;
@@ -88,41 +90,39 @@ select_account_callback(GNCAccountTree *tree, Account *account, gpointer user_d
static void
gnc_mainwin_account_tree_class_init (GNCMainWinAccountTreeClass *klass)
{
GtkObjectClass *object_class;
object_class = (GtkObjectClass*) klass;
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
mainwinaccounttree_signals[SELECT_ACCOUNT_SIGNAL] =
gtk_signal_new("select_account",
GTK_RUN_FIRST,
GTK_CLASS_TYPE(object_class),
GTK_SIGNAL_OFFSET(GNCMainWinAccountTreeClass,
select_account),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1,
GTK_TYPE_POINTER);
mainwinaccounttree_signals[SELECT_ACCOUNT_SIGNAL] =
g_signal_new("select_account",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET(GNCMainWinAccountTreeClass, select_account),
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
mainwinaccounttree_signals[UNSELECT_ACCOUNT_SIGNAL] =
gtk_signal_new("unselect_account",
GTK_RUN_FIRST,
GTK_CLASS_TYPE(object_class),
GTK_SIGNAL_OFFSET(GNCMainWinAccountTreeClass,
unselect_account),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1,
GTK_TYPE_POINTER);
mainwinaccounttree_signals[UNSELECT_ACCOUNT_SIGNAL] =
g_signal_new("unselect_account",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET(GNCMainWinAccountTreeClass, unselect_account),
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
mainwinaccounttree_signals[ACTIVATE_ACCOUNT_SIGNAL] =
gtk_signal_new("activate_account",
GTK_RUN_FIRST,
GTK_CLASS_TYPE(object_class),
GTK_SIGNAL_OFFSET(GNCMainWinAccountTreeClass,
activate_account),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1,
GTK_TYPE_POINTER);
mainwinaccounttree_signals[ACTIVATE_ACCOUNT_SIGNAL] =
g_signal_new("activate_account",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET(GNCMainWinAccountTreeClass, activate_account),
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
}
static void
@@ -135,14 +135,14 @@ gnc_mainwin_account_tree_init(GNCMainWinAccountTree *mwac_tree)
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_signal_connect(GTK_OBJECT(mwac_tree->acc_tree), "activate_account",
GTK_SIGNAL_FUNC (activate_account_callback), mwac_tree);
g_signal_connect (G_OBJECT (mwac_tree->acc_tree), "activate_account",
G_CALLBACK (activate_account_callback), mwac_tree);
gtk_signal_connect(GTK_OBJECT(mwac_tree->acc_tree), "select_account",
GTK_SIGNAL_FUNC(select_account_callback), mwac_tree);
g_signal_connect (G_OBJECT(mwac_tree->acc_tree), "select_account",
G_CALLBACK (select_account_callback), mwac_tree);
gtk_signal_connect(GTK_OBJECT(mwac_tree->acc_tree), "unselect_account",
GTK_SIGNAL_FUNC(unselect_account_callback), mwac_tree);
g_signal_connect (G_OBJECT(mwac_tree->acc_tree), "unselect_account",
G_CALLBACK (unselect_account_callback), mwac_tree);
gtk_container_add(GTK_CONTAINER(mwac_tree->scrolled_window), GTK_WIDGET(mwac_tree->acc_tree));
@@ -151,29 +151,29 @@ gnc_mainwin_account_tree_init(GNCMainWinAccountTree *mwac_tree)
gtk_widget_show(GTK_WIDGET(mwac_tree->scrolled_window));
}
guint
GType
gnc_mainwin_account_tree_get_type ()
{
static guint mwactree = 0;
if (!mwactree)
{
static const GtkTypeInfo mwactree_info =
{
"GNCMainWinAccountTree",
sizeof (GNCMainWinAccountTree),
sizeof (GNCMainWinAccountTreeClass),
(GtkClassInitFunc) gnc_mainwin_account_tree_class_init,
(GtkObjectInitFunc) gnc_mainwin_account_tree_init,
NULL,
NULL,
(GtkClassInitFunc) NULL
};
mwactree = gtk_type_unique (gtk_hbox_get_type (), &mwactree_info);
}
return mwactree;
static GType mwactree = 0;
if (mwactree == 0) {
static const GTypeInfo mwactree_info = {
sizeof (GNCMainWinAccountTreeClass),
NULL,
NULL,
(GClassInitFunc) gnc_mainwin_account_tree_class_init,
NULL,
NULL,
sizeof (GNCMainWinAccountTree),
0,
(GInstanceInitFunc) gnc_mainwin_account_tree_init
};
mwactree = g_type_register_static (GTK_TYPE_HBOX,
"GNCMainWinAccountTree",
&mwactree_info, 0);
}
return mwactree;
}

View File

@@ -31,37 +31,32 @@
#include "gnc-account-tree.h"
#include "Account.h"
#define GNC_MAINWIN_ACCOUNT_TREE(obj) GTK_CHECK_CAST (obj, gnc_mainwin_account_tree_get_type (), GNCMainWinAccountTree)
#define GNC_MAINWIN_ACCOUNT_TREE_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnc_mainwin_account_tree_get_type(), GNCMainWinAccountTreeClass)
#define IS_GNC_MAINWIN_ACCOUNT_TREE(obj) GTK_CHECK_TYPE (obj, gnc_mainwin_account_tree_get_type ())
#define GNC_TYPE_MAINWIN_ACCOUNT_TREE (gnc_mainwin_account_tree_get_type ())
#define GNC_MAINWIN_ACCOUNT_TREE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_MAINWIN_ACCOUNT_TREE, GNCMainWinAccountTree))
#define GNC_MAINWIN_ACCOUNT_TREE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_MAINWIN_ACCOUNT_TREE, GNCMainWinAccountTreeClass))
#define GNC_IS_MAINWIN_ACCOUNT_TREE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_MAINWIN_ACCOUNT_TREE))
typedef struct {
GtkVBox vbox;
GtkScrolledWindow *scrolled_window;
GNCAccountTree *acc_tree;
} GNCMainWinAccountTree;
typedef struct _GNCMainWinAccountTree GNCMainWinAccountTree;
typedef struct _GNCMainWinAccountTreeClass GNCMainWinAccountTreeClass;
typedef struct {
GtkVBoxClass parent_class;
struct _GNCMainWinAccountTree
{
GtkVBox vbox;
GtkScrolledWindow *scrolled_window;
GNCAccountTree *acc_tree;
};
void (*select_account) (GNCMainWinAccountTree *tree,
Account *account);
struct _GNCMainWinAccountTreeClass
{
GtkVBoxClass parent_class;
void (*unselect_account) (GNCMainWinAccountTree *tree,
Account *account);
void (*select_account) (GNCMainWinAccountTree *tree,
Account *account);
void (*activate_account) (GNCMainWinAccountTree *tree,
Account *account);
} GNCMainWinAccountTreeClass;
void (*unselect_account) (GNCMainWinAccountTree *tree,
Account *account);
void (*activate_account) (GNCMainWinAccountTree *tree,
Account *account);
};
guint gnc_mainwin_account_tree_get_type(void);
GtkWidget* gnc_mainwin_account_tree_new(void);
GType gnc_mainwin_account_tree_get_type (void);
GtkWidget* gnc_mainwin_account_tree_new (void);
GtkWidget*
gnc_mainwin_account_tree_attach_popup(GNCMainWinAccountTree *tree,

View File

@@ -68,7 +68,7 @@ static void gnc_reconcile_list_select_row(GtkCList *clist, gint row,
gint column, GdkEvent *event);
static void gnc_reconcile_list_unselect_row(GtkCList *clist, gint row,
gint column, GdkEvent *event);
static void gnc_reconcile_list_destroy(GtkObject *object);
static void gnc_reconcile_list_finalize (GObject *object);
static void gnc_reconcile_list_fill(GNCReconcileList *list);
static void gnc_reconcile_list_click_column_cb(GtkWidget *w, gint column,
gpointer data);
@@ -77,30 +77,30 @@ static void gnc_reconcile_list_size_allocate_cb(GtkWidget *w,
gpointer data);
GtkType
GType
gnc_reconcile_list_get_type (void)
{
static GtkType gnc_reconcile_list_type = 0;
static GType gnc_reconcile_list_type = 0;
if (!gnc_reconcile_list_type)
{
static const GtkTypeInfo gnc_reconcile_list_info =
{
"GNCReconcileList",
sizeof (GNCReconcileList),
sizeof (GNCReconcileListClass),
(GtkClassInitFunc) gnc_reconcile_list_class_init,
(GtkObjectInitFunc) gnc_reconcile_list_init,
/* reserved_1 */ NULL,
/* reserved_2 */ NULL,
(GtkClassInitFunc) NULL
};
if (gnc_reconcile_list_type == 0) {
static const GTypeInfo gnc_reconcile_list_info = {
sizeof (GNCReconcileListClass),
NULL,
NULL,
(GClassInitFunc) gnc_reconcile_list_class_init,
NULL,
NULL,
sizeof (GNCReconcileList),
0,
(GInstanceInitFunc) gnc_reconcile_list_init
};
gnc_reconcile_list_type = gtk_type_unique(GTK_TYPE_CLIST,
&gnc_reconcile_list_info);
}
gnc_reconcile_list_type = g_type_register_static (GTK_TYPE_CLIST,
"GNCReconcileList",
&gnc_reconcile_list_info, 0);
}
return gnc_reconcile_list_type;
return gnc_reconcile_list_type;
}
@@ -123,7 +123,9 @@ gnc_reconcile_list_new(Account *account, GNCReconcileListType type)
g_return_val_if_fail((type == RECLIST_DEBIT) ||
(type == RECLIST_CREDIT), NULL);
list = GNC_RECONCILE_LIST(gtk_type_new(gnc_reconcile_list_get_type()));
list = g_object_new (GNC_TYPE_RECONCILE_LIST,
"n-columns", 5,
NULL);
list->account = account;
list->list_type = type;
@@ -215,11 +217,11 @@ gnc_reconcile_list_init (GNCReconcileList *list)
list->first_fill = TRUE;
list->query = NULL;
/* GNOME 2 Port (move that to clist creation and use GtkTreeView */
/* while (titles[list->num_columns] != NULL)
while (titles[list->num_columns] != NULL) {
gtk_clist_set_column_title (clist, list->num_columns, titles[list->num_columns]);
list->num_columns++;
}
gtk_clist_construct (clist, list->num_columns, titles); */
gtk_clist_set_shadow_type (clist, GTK_SHADOW_IN);
gnc_reconcile_list_column_title(list, 0, titles[0]);
@@ -233,12 +235,12 @@ gnc_reconcile_list_init (GNCReconcileList *list)
gtk_clist_column_title_passive (clist, 4);
gtk_clist_set_column_resizeable (clist, 4, FALSE);
gtk_signal_connect (GTK_OBJECT (clist), "click_column",
GTK_SIGNAL_FUNC(gnc_reconcile_list_click_column_cb),
NULL);
gtk_signal_connect (GTK_OBJECT (clist), "size_allocate",
GTK_SIGNAL_FUNC(gnc_reconcile_list_size_allocate_cb),
NULL);
g_signal_connect (G_OBJECT (clist), "click_column",
G_CALLBACK (gnc_reconcile_list_click_column_cb),
NULL);
g_signal_connect (G_OBJECT (clist), "size_allocate",
G_CALLBACK (gnc_reconcile_list_size_allocate_cb),
NULL);
list->key = BY_STANDARD;
list->increasing = TRUE;
@@ -269,45 +271,40 @@ gnc_reconcile_list_init (GNCReconcileList *list)
static void
gnc_reconcile_list_class_init (GNCReconcileListClass *klass)
{
GtkObjectClass *object_class;
GtkWidgetClass *widget_class;
GtkContainerClass *container_class;
GtkCListClass *clist_class;
GObjectClass *object_class;
GtkCListClass *clist_class;
object_class = (GtkObjectClass*) klass;
widget_class = (GtkWidgetClass*) klass;
container_class = (GtkContainerClass*) klass;
clist_class = (GtkCListClass*) klass;
object_class = G_OBJECT_CLASS (klass);
clist_class = GTK_CLIST_CLASS (klass);
parent_class = gtk_type_class(GTK_TYPE_CLIST);
parent_class = g_type_class_peek_parent (klass);
reconcile_list_signals[TOGGLE_RECONCILED] =
gtk_signal_new("toggle_reconciled",
GTK_RUN_FIRST,
GTK_CLASS_TYPE(object_class),
GTK_SIGNAL_OFFSET(GNCReconcileListClass,
toggle_reconciled),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1,
GTK_TYPE_POINTER);
reconcile_list_signals[TOGGLE_RECONCILED] =
g_signal_new("toggle_reconciled",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GNCReconcileListClass,
toggle_reconciled),
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
reconcile_list_signals[DOUBLE_CLICK_SPLIT] =
gtk_signal_new("double_click_split",
GTK_RUN_FIRST,
GTK_CLASS_TYPE(object_class),
GTK_SIGNAL_OFFSET(GNCReconcileListClass,
double_click_split),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1,
GTK_TYPE_POINTER);
reconcile_list_signals[DOUBLE_CLICK_SPLIT] =
g_signal_new("double_click_split",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GNCReconcileListClass,
double_click_split),
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
object_class->destroy = gnc_reconcile_list_destroy;
object_class->finalize = gnc_reconcile_list_finalize;
clist_class->select_row = gnc_reconcile_list_select_row;
clist_class->unselect_row = gnc_reconcile_list_unselect_row;
klass->toggle_reconciled = NULL;
klass->double_click_split = NULL;
clist_class->select_row = gnc_reconcile_list_select_row;
clist_class->unselect_row = gnc_reconcile_list_unselect_row;
}
static void
@@ -315,7 +312,7 @@ gnc_reconcile_list_toggle_row(GNCReconcileList *list, gint row)
{
Split *split, *current;
g_return_if_fail (IS_GNC_RECONCILE_LIST(list));
g_return_if_fail (GNC_IS_RECONCILE_LIST(list));
g_return_if_fail (list->reconciled != NULL);
if (list->no_toggle)
@@ -390,7 +387,7 @@ gnc_reconcile_list_toggle (GNCReconcileList *list)
gint row;
gboolean include_children;
g_return_if_fail (IS_GNC_RECONCILE_LIST(list));
g_return_if_fail (GNC_IS_RECONCILE_LIST(list));
g_return_if_fail (list->reconciled != NULL);
if (list->no_toggle)
@@ -413,8 +410,8 @@ gnc_reconcile_list_toggle (GNCReconcileList *list)
if(include_children)
gnc_reconcile_list_toggle_children(list->account, list, split);
gtk_signal_emit (GTK_OBJECT (list),
reconcile_list_signals[TOGGLE_RECONCILED], split);
g_signal_emit (G_OBJECT (list),
reconcile_list_signals[TOGGLE_RECONCILED], 0, split);
}
static void
@@ -440,8 +437,8 @@ gnc_reconcile_list_select_row (GtkCList *clist, gint row, gint column,
split = gtk_clist_get_row_data (clist, row);
gtk_signal_emit(GTK_OBJECT(list),
reconcile_list_signals[DOUBLE_CLICK_SPLIT], split);
g_signal_emit(G_OBJECT(list),
reconcile_list_signals[DOUBLE_CLICK_SPLIT], 0, split);
}
}
@@ -470,30 +467,27 @@ gnc_reconcile_list_unselect_row (GtkCList *clist, gint row, gint column,
split = gtk_clist_get_row_data (clist, row);
gtk_signal_emit (GTK_OBJECT(list),
reconcile_list_signals[DOUBLE_CLICK_SPLIT], split);
g_signal_emit (G_OBJECT(list),
reconcile_list_signals[DOUBLE_CLICK_SPLIT], 0, split);
}
}
static void
gnc_reconcile_list_destroy (GtkObject *object)
gnc_reconcile_list_finalize (GObject *object)
{
GNCReconcileList *list = GNC_RECONCILE_LIST(object);
GNCReconcileList *list = GNC_RECONCILE_LIST(object);
if (list->reconciled != NULL)
{
g_hash_table_destroy(list->reconciled);
list->reconciled = NULL;
}
if (list->reconciled != NULL) {
g_hash_table_destroy(list->reconciled);
list->reconciled = NULL;
}
if (list->query != NULL)
{
xaccFreeQuery(list->query);
list->query = NULL;
}
if (list->query != NULL) {
xaccFreeQuery(list->query);
list->query = NULL;
}
if (GTK_OBJECT_CLASS(parent_class)->destroy)
GTK_OBJECT_CLASS(parent_class)->destroy (object);
G_OBJECT_CLASS (parent_class)->finalize (object);
}
gint
@@ -504,7 +498,7 @@ gnc_reconcile_list_get_needed_height (GNCReconcileList *list, gint num_rows)
gint title_height;
g_return_val_if_fail (list != NULL, 0);
g_return_val_if_fail (IS_GNC_RECONCILE_LIST(list), 0);
g_return_val_if_fail (GNC_IS_RECONCILE_LIST(list), 0);
if (!GTK_WIDGET_REALIZED (list))
return 0;
@@ -524,7 +518,7 @@ gint
gnc_reconcile_list_get_num_splits (GNCReconcileList *list)
{
g_return_val_if_fail (list != NULL, 0);
g_return_val_if_fail (IS_GNC_RECONCILE_LIST(list), 0);
g_return_val_if_fail (GNC_IS_RECONCILE_LIST(list), 0);
return list->num_splits;
}
@@ -533,7 +527,7 @@ Split *
gnc_reconcile_list_get_current_split (GNCReconcileList *list)
{
g_return_val_if_fail (list != NULL, NULL);
g_return_val_if_fail (IS_GNC_RECONCILE_LIST(list), NULL);
g_return_val_if_fail (GNC_IS_RECONCILE_LIST(list), NULL);
return list->current_split;
}
@@ -625,7 +619,7 @@ gnc_reconcile_list_refresh (GNCReconcileList *list)
gint new_row;
g_return_if_fail (list != NULL);
g_return_if_fail (IS_GNC_RECONCILE_LIST(list));
g_return_if_fail (GNC_IS_RECONCILE_LIST(list));
adjustment = gtk_clist_get_vadjustment (GTK_CLIST(list));
if (adjustment != NULL)
@@ -698,7 +692,7 @@ gnc_reconcile_list_reconciled_balance (GNCReconcileList *list)
total = gnc_numeric_zero ();
g_return_val_if_fail (list != NULL, total);
g_return_val_if_fail (IS_GNC_RECONCILE_LIST(list), total);
g_return_val_if_fail (GNC_IS_RECONCILE_LIST(list), total);
if (list->reconciled == NULL)
return total;
@@ -735,7 +729,7 @@ gnc_reconcile_list_commit (GNCReconcileList *list, time_t date)
int i;
g_return_if_fail (list != NULL);
g_return_if_fail (IS_GNC_RECONCILE_LIST(list));
g_return_if_fail (GNC_IS_RECONCILE_LIST(list));
if (list->reconciled == NULL)
return;
@@ -774,7 +768,7 @@ gnc_reconcile_list_postpone (GNCReconcileList *list)
int i;
g_return_if_fail(list != NULL);
g_return_if_fail(IS_GNC_RECONCILE_LIST(list));
g_return_if_fail(GNC_IS_RECONCILE_LIST(list));
if (list->reconciled == NULL)
return;
@@ -806,7 +800,7 @@ void
gnc_reconcile_list_unselect_all(GNCReconcileList *list)
{
g_return_if_fail (list != NULL);
g_return_if_fail (IS_GNC_RECONCILE_LIST(list));
g_return_if_fail (GNC_IS_RECONCILE_LIST(list));
list->no_toggle = TRUE;
list->always_unselect = TRUE;
@@ -831,7 +825,7 @@ gboolean
gnc_reconcile_list_changed (GNCReconcileList *list)
{
g_return_val_if_fail (list != NULL, FALSE);
g_return_val_if_fail (IS_GNC_RECONCILE_LIST(list), FALSE);
g_return_val_if_fail (GNC_IS_RECONCILE_LIST(list), FALSE);
return g_hash_table_size (list->reconciled) != 0;
}
@@ -852,7 +846,7 @@ gnc_reconcile_list_set_sort_order (GNCReconcileList *list, sort_type_t key)
gboolean sort_order;
g_return_if_fail (list != NULL);
g_return_if_fail (IS_GNC_RECONCILE_LIST(list));
g_return_if_fail (GNC_IS_RECONCILE_LIST(list));
g_return_if_fail (list->query != NULL);
/* Clear all arrows */

View File

@@ -28,73 +28,67 @@
#include "Query.h"
#include "gnc-numeric.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
#define GTK_TYPE_GNC_RECONCILE_LIST (gnc_reconcile_list_get_type ())
#define GNC_RECONCILE_LIST(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_GNC_RECONCILE_LIST, GNCReconcileList))
#define GNC_RECONCILE_LIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_GNC_RECONCILE_LIST, GNCReconcileListClass))
#define IS_GNC_RECONCILE_LIST(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_GNC_RECONCILE_LIST))
#define IS_GNC_RECONCILE_LIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GNC_RECONCILE_LIST))
#define GNC_TYPE_RECONCILE_LIST (gnc_reconcile_list_get_type ())
#define GNC_RECONCILE_LIST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_RECONCILE_LIST, GNCReconcileList))
#define GNC_RECONCILE_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_RECONCILE_LIST, GNCReconcileListClass))
#define GNC_IS_RECONCILE_LIST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_RECONCILE_LIST))
#define GNC_IS_RECONCILE_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_RECONCILE_LIST))
typedef struct _GNCReconcileList GNCReconcileList;
typedef struct _GNCReconcileListClass GNCReconcileListClass;
typedef struct GNCReconcileList GNCReconcileList;
typedef enum
{
RECLIST_DEBIT,
RECLIST_CREDIT
typedef enum {
RECLIST_DEBIT,
RECLIST_CREDIT
} GNCReconcileListType;
struct _GNCReconcileList
{
GtkCList clist;
struct GNCReconcileList {
GtkCList clist;
GNCReconcileListType list_type;
GNCReconcileListType list_type;
gint num_splits;
gint num_columns;
gint num_splits;
gint num_columns;
gint current_row;
Split *current_split;
gint current_row;
Split *current_split;
gboolean no_toggle;
gboolean always_unselect;
gboolean first_fill;
gboolean no_toggle;
gboolean always_unselect;
gboolean first_fill;
GHashTable *reconciled;
GHashTable *reconciled;
Account *account;
Query *query;
Account *account;
Query *query;
GNCReconcileList *sibling;
GNCReconcileList *sibling;
/* Sorting info */
gint key;
gboolean increasing;
GtkWidget *title_arrow[5];
/* Sorting info */
gint key;
gboolean increasing;
GtkWidget *title_arrow[5];
/* Column resizing */
gint prev_allocation;
gint title_width[5];
/* Column resizing */
gint prev_allocation;
gint title_width[5];
};
struct _GNCReconcileListClass
{
GtkCListClass parent_class;
typedef struct {
GtkCListClass parent_class;
void (*toggle_reconciled) (GNCReconcileList *list,
Split *split);
void (*double_click_split) (GNCReconcileList *list,
Split *split);
};
void (*toggle_reconciled) (GNCReconcileList *list,
Split *split);
void (*double_click_split) (GNCReconcileList *list,
Split *split);
} GNCReconcileListClass;
/***********************************************************
* public functions *
***********************************************************/
GtkType gnc_reconcile_list_get_type (void);
GType gnc_reconcile_list_get_type (void);
GtkWidget * gnc_reconcile_list_new (Account * account,
GNCReconcileListType type);
@@ -118,8 +112,6 @@ void gnc_reconcile_list_unselect_all(GNCReconcileList *list);
gboolean gnc_reconcile_list_changed(GNCReconcileList *list);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* RECONCILE_LIST_H */

View File

@@ -325,8 +325,11 @@ gnc_main_window_open_accounts(gboolean toplevel)
{
GNCMDIInfo * maininfo = gnc_mdi_get_current ();
GnomeMDIChild * accountchild = gnc_acct_tree_window_create_child(NULL);
gnome_mdi_add_child(GNOME_MDI(maininfo->mdi),
GNOME_MDI_CHILD(accountchild));
g_assert (maininfo->mdi != NULL);
g_assert (accountchild != NULL);
g_assert (gnome_mdi_add_child(GNOME_MDI(maininfo->mdi),
GNOME_MDI_CHILD(accountchild)));
if(toplevel) {
gnome_mdi_add_toplevel_view(GNOME_MDI(maininfo->mdi),

View File

@@ -35,6 +35,7 @@
#include <stdio.h>
#include <time.h>
#include <libgnomeui/gnome-window-icon.h>
#include <gconf/gconf-client.h>
#include "AccWindow.h"
#include "Scrub.h"
@@ -1342,7 +1343,8 @@ gnc_recn_create_menu_bar(RecnWindow *recnData, GtkWidget *statusbar)
menubar = gtk_menu_bar_new();
accel_group = gtk_accel_group_new();
gtk_accel_group_attach(accel_group, GTK_OBJECT(recnData->window));
/* GNOME 2 Port (replace this accel_group stuff) */
/*gtk_accel_group_attach(accel_group, GTK_OBJECT(recnData->window));*/
gnome_app_fill_menu(GTK_MENU_SHELL(menubar), reconcile_window_menu,
accel_group, TRUE, 0);
@@ -1464,7 +1466,7 @@ gnc_recn_create_tool_bar(RecnWindow *recnData)
GNOMEUIINFO_END
};
toolbar = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH);
toolbar = gtk_toolbar_new ();
gnome_app_fill_toolbar_with_data(GTK_TOOLBAR(toolbar), toolbar_info,
NULL, recnData);
@@ -1687,6 +1689,7 @@ recnWindowWithBalance (GtkWidget *parent, Account *account,
GtkWidget *statusbar;
GtkWidget *vbox;
GtkWidget *dock;
GConfClient *client;
if (account == NULL)
return NULL;
@@ -1696,6 +1699,8 @@ recnWindowWithBalance (GtkWidget *parent, Account *account,
if (recnData)
return recnData;
client = gconf_client_get_default ();
recnData = g_new0 (RecnWindow, 1);
recnData->account = *xaccAccountGetGUID (account);
@@ -1721,7 +1726,7 @@ recnWindowWithBalance (GtkWidget *parent, Account *account,
vbox = gtk_vbox_new(FALSE, 0);
gtk_container_add(GTK_CONTAINER(recnData->window), vbox);
dock = gnome_dock_new();
dock = bonobo_dock_new();
gtk_box_pack_start(GTK_BOX(vbox), dock, TRUE, TRUE, 0);
statusbar = gnc_recn_create_status_bar(recnData);
@@ -1732,36 +1737,36 @@ recnWindowWithBalance (GtkWidget *parent, Account *account,
/* The menu bar */
{
GnomeDockItemBehavior behavior;
BonoboDockItemBehavior behavior;
GtkWidget *dock_item;
GtkWidget *menubar;
behavior = GNOME_DOCK_ITEM_BEH_EXCLUSIVE;
if (!gnome_preferences_get_menubar_detachable ())
behavior |= GNOME_DOCK_ITEM_BEH_LOCKED;
behavior = BONOBO_DOCK_ITEM_BEH_EXCLUSIVE;
if (!gconf_client_get_bool (client, "/desktop/gnome/interface/menubar_detachable", NULL))
behavior |= BONOBO_DOCK_ITEM_BEH_LOCKED;
dock_item = gnome_dock_item_new("menu", behavior);
dock_item = bonobo_dock_item_new("menu", behavior);
menubar = gnc_recn_create_menu_bar(recnData, statusbar);
gtk_container_set_border_width(GTK_CONTAINER(menubar), 2);
gtk_container_add(GTK_CONTAINER(dock_item), menubar);
gnome_dock_add_item (GNOME_DOCK(dock), GNOME_DOCK_ITEM(dock_item),
GNOME_DOCK_TOP, 0, 0, 0, TRUE);
bonobo_dock_add_item (BONOBO_DOCK(dock), BONOBO_DOCK_ITEM(dock_item),
BONOBO_DOCK_TOP, 0, 0, 0, TRUE);
}
/* The tool bar */
{
GnomeDockItemBehavior behavior;
BonoboDockItemBehavior behavior;
GtkWidget *dock_item;
GtkWidget *toolbar;
SCM id;
behavior = GNOME_DOCK_ITEM_BEH_EXCLUSIVE;
if (!gnome_preferences_get_toolbar_detachable ())
behavior |= GNOME_DOCK_ITEM_BEH_LOCKED;
behavior = BONOBO_DOCK_ITEM_BEH_EXCLUSIVE;
if (!gconf_client_get_bool (client, "/desktop/gnome/interface/toolbar_detachable", NULL))
behavior |= BONOBO_DOCK_ITEM_BEH_LOCKED;
dock_item = gnome_dock_item_new("toolbar", behavior);
dock_item = bonobo_dock_item_new("toolbar", behavior);
toolbar = gnc_recn_create_tool_bar(recnData);
gtk_container_set_border_width(GTK_CONTAINER(toolbar), 2);
@@ -1771,8 +1776,8 @@ recnWindowWithBalance (GtkWidget *parent, Account *account,
"General", "Toolbar Buttons");
recnData->toolbar_change_cb_id = id;
gnome_dock_add_item (GNOME_DOCK(dock), GNOME_DOCK_ITEM(dock_item),
GNOME_DOCK_TOP, 1, 0, 0, TRUE);
bonobo_dock_add_item (BONOBO_DOCK(dock), BONOBO_DOCK_ITEM(dock_item),
BONOBO_DOCK_TOP, 1, 0, 0, TRUE);
}
/* The main area */
@@ -1784,7 +1789,7 @@ recnWindowWithBalance (GtkWidget *parent, Account *account,
GtkWidget *credits_box;
GtkWidget *popup;
gnome_dock_set_client_area(GNOME_DOCK(dock), frame);
bonobo_dock_set_client_area(BONOBO_DOCK(dock), frame);
/* Force a reasonable starting size */
gtk_widget_set_usize(GTK_WIDGET(recnData->window), 800, 600);

View File

@@ -32,6 +32,7 @@
#include <gnome.h>
#include <time.h>
#include <g-wrap-wct.h>
#include <gconf/gconf-client.h>
#include "AccWindow.h"
#include "Scrub.h"
@@ -1044,6 +1045,7 @@ gnc_register_setup_menu_widgets( RegWindow *regData, GladeXML *xml )
{
int adj = 0;
GtkWidget *mbar, *menu, *regMenu, *regMenuItem, *tmpMi;
GConfClient *client;
/* Get our menu bar from glade. */
mbar = glade_xml_get_widget( xml, "gnc_register_menubar" );
@@ -1056,8 +1058,8 @@ gnc_register_setup_menu_widgets( RegWindow *regData, GladeXML *xml )
* . remove the RegWindow menu from the menu bar, saving it's index.
* . insert the GNCSplitReg menu at the same index.
* . destroy now-unused widgets. */
if ( gnome_preferences_get_menus_have_tearoff() ) {
client = gconf_client_get_default ();
if ( gconf_client_get_bool (client, "/desktop/gnome/interface/menus_have_tearoff", NULL) ) {
/* offset by one for the tearoff menu item. */
adj = 1;
}
@@ -1428,15 +1430,11 @@ static
void
gnc_register_set_read_only( RegWindow *regData )
{
gchar *old_title, *new_title;
GtkArg objarg;
gchar old_title, *new_title;
objarg.name = "GtkWindow::title";
gtk_object_arg_get(GTK_OBJECT(regData->window), &objarg, NULL);
old_title = GTK_VALUE_STRING(objarg);
new_title = g_strdup_printf(_("%s [Read-Only]"), old_title);
g_object_get (G_OBJECT (regData->window), "title", &old_title, NULL);
new_title = g_strdup_printf(_("%s [Read-Only]"), &old_title);
gtk_window_set_title( GTK_WINDOW(regData->window), new_title );
g_free(old_title);
g_free(new_title);
regData->read_only = TRUE;

View File

@@ -1,47 +1,26 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<requires lib="gnome" />
<widget>
<class>GtkWindow</class>
<name>New Commodity Format Druid</name>
<title>Import currency and stock information</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>True</auto_shrink>
<widget class="GtkWindow" id="New Commodity Format Druid">
<property name="title" translatable="yes">Import currency and stock information</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<property name="visible">yes</property>
<widget>
<class>GnomeDruid</class>
<name>commodity_druid</name>
<child>
<widget class="GnomeDruid" id="commodity_druid">
<property name="visible">yes</property>
<widget>
<class>GnomeDruidPageStart</class>
<name>start_page</name>
<signal>
<name>cancel</name>
<handler>gnc_ui_commodity_druid_cancel_cb</handler>
<data>New_Commodity_Format_Druid</data>
<last_modification_time>Fri, 11 Aug 2000 21:12:16 GMT</last_modification_time>
</signal>
<title>Import currency and stock information </title>
<text>The file you are loading is from an older version of GnuCash.
<child>
<widget class="GnomeDruidPageEdge" id="start_page">
<property name="title" translatable="yes">Import currency and stock information </property>
<property name="text" translatable="yes">The file you are loading is from an older version of GnuCash.
Information about currencies, stocks, and mutual funds needs to
be updated for the new version.
@@ -50,43 +29,41 @@ each currency, stock, and mutual fund that appear in your
accounts. After you have entered this information, you can
update your accounts for the new version of GnuCash.
Hit &quot;Cancel&quot; now to stop loading the file. </text>
<title_color>255,255,255</title_color>
<text_color>0,0,0</text_color>
<background_color>153,191,153</background_color>
<logo_background_color>255,255,255</logo_background_color>
<textbox_color>255,255,255</textbox_color>
</widget>
Hit &quot;Cancel&quot; now to stop loading the file. </property>
<property name="position">GNOME_EDGE_START</property>
<property name="visible">yes</property>
<property name="title_color">#ffffff</property>
<property name="text_color">#000000</property>
<property name="background_color">#99bf99</property>
<property name="logo_background_color">#ffffff</property>
<property name="textbox_color">#ffffff</property>
<widget>
<class>GnomeDruidPageFinish</class>
<name>finish_page</name>
<signal>
<name>finish</name>
<handler>gnc_ui_commodity_druid_finish_cb</handler>
<data>New_Commodity_Format_Druid</data>
<last_modification_time>Fri, 11 Aug 2000 21:17:16 GMT</last_modification_time>
</signal>
<signal>
<name>cancel</name>
<handler>gnc_ui_commodity_druid_cancel_cb</handler>
<data>New_Commodity_Format_Druid</data>
<last_modification_time>Fri, 11 Aug 2000 21:17:46 GMT</last_modification_time>
</signal>
<title>Update your accounts with the new information</title>
<text>Click &quot;Finish&quot; to update your accounts to use the new
<signal name="cancel" handler="gnc_ui_commodity_druid_cancel_cb" />
</widget>
</child>
<child>
<widget class="GnomeDruidPageEdge" id="finish_page">
<property name="title" translatable="yes">Update your accounts with the new information</property>
<property name="text" translatable="yes">Click &quot;Finish&quot; to update your accounts to use the new
information you have entered.
Click &quot;Cancel&quot; to cancel the file-loading process.
Click &quot;Back&quot; to review your currency selections.</text>
<background_color>155,191,156</background_color>
<logo_background_color>255,255,255</logo_background_color>
<textbox_color>255,255,255</textbox_color>
<text_color>0,0,0</text_color>
<title_color>255,255,255</title_color>
</widget>
</widget>
</widget>
Click &quot;Back&quot; to review your currency selections.</property>
<property name="position">GNOME_EDGE_FINISH</property>
<property name="visible">yes</property>
<property name="title_color">#ffffff</property>
<property name="text_color">#000000</property>
<property name="background_color">#9bbf9c</property>
<property name="logo_background_color">#ffffff</property>
<property name="textbox_color">#ffffff</property>
</GTK-Interface>
<signal name="finish" handler="gnc_ui_commodity_druid_finish_cb" />
<signal name="cancel" handler="gnc_ui_commodity_druid_cancel_cb" />
</widget>
</child>
</widget>
</child>
</widget>
</glade-interface>

View File

@@ -244,7 +244,7 @@ make_commodity_druid_page(gnc_commodity * comm)
GnomeDruidPageStandard * page;
/* make the page widget */
retval->page = gnome_druid_page_standard_new_with_vals("", NULL);
retval->page = gnome_druid_page_standard_new_with_vals("", NULL, NULL);
gtk_object_set_data(GTK_OBJECT(retval->page), "page_struct", retval);
page = GNOME_DRUID_PAGE_STANDARD(retval->page);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,350 +1,326 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>Glade</name>
<program_name>glade</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<widget class="GtkDialog" id="Password Dialog">
<property name="title" translatable="yes">Enter Password</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Password Dialog</name>
<title>Enter Password</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>True</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox16">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>dialog-vbox16</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area16">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button79">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button81">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="heading_label">
<property name="label" translatable="yes">Enter your password</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame47">
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkHBox" id="hbox95">
<property name="border_width">10</property>
<property name="homogeneous">no</property>
<property name="spacing">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label847714">
<property name="label" translatable="yes">Password:</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="password_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">no</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area16</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button79</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button81</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkLabel</class>
<name>heading_label</name>
<label>Enter your password</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame47</name>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox95</name>
<border_width>10</border_width>
<homogeneous>False</homogeneous>
<spacing>2</spacing>
<widget>
<class>GtkLabel</class>
<name>label847714</name>
<label>Password:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>password_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>False</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
</widget>
</widget>
</widget>
<widget class="GtkDialog" id="Initial Password Dialog">
<property name="title" translatable="yes">Enter new Password</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">no</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<widget>
<class>GnomeDialog</class>
<name>Initial Password Dialog</name>
<title>Enter new Password</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<auto_close>False</auto_close>
<hide_on_close>True</hide_on_close>
<child internal-child="vbox">
<widget class="GtkVBox" id="vbox106">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDialog:vbox</child_name>
<name>vbox106</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="hbuttonbox1">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="button82">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-ok</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="button83">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="heading_label">
<property name="label" translatable="yes">Enter and confirm your new password</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame48">
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<child>
<widget class="GtkTable" id="table1">
<property name="border_width">10</property>
<property name="homogeneous">no</property>
<property name="row_spacing">0</property>
<property name="column_spacing">0</property>
<property name="n-rows">2</property>
<property name="n-columns">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkEntry" id="password_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">no</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label847716">
<property name="label" translatable="yes">Password:</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="confirm_entry">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">no</property>
<property name="visible">yes</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_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label847717">
<property name="label" translatable="yes">Confirm Password:</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>hbuttonbox1</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>8</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
<pack>GTK_PACK_END</pack>
</child>
<widget>
<class>GtkButton</class>
<name>button82</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
</widget>
<widget>
<class>GtkButton</class>
<name>button83</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
</widget>
</widget>
<widget>
<class>GtkLabel</class>
<name>heading_label</name>
<label>Enter and confirm your new password</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkFrame</class>
<name>frame48</name>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkTable</class>
<name>table1</name>
<border_width>10</border_width>
<rows>2</rows>
<columns>2</columns>
<homogeneous>False</homogeneous>
<row_spacing>0</row_spacing>
<column_spacing>0</column_spacing>
<widget>
<class>GtkEntry</class>
<name>password_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>False</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<left_attach>1</left_attach>
<right_attach>2</right_attach>
<top_attach>0</top_attach>
<bottom_attach>1</bottom_attach>
<xpad>0</xpad>
<ypad>0</ypad>
<xexpand>True</xexpand>
<yexpand>False</yexpand>
<xshrink>False</xshrink>
<yshrink>False</yshrink>
<xfill>True</xfill>
<yfill>False</yfill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label847716</name>
<label>Password:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<left_attach>0</left_attach>
<right_attach>1</right_attach>
<top_attach>0</top_attach>
<bottom_attach>1</bottom_attach>
<xpad>0</xpad>
<ypad>0</ypad>
<xexpand>False</xexpand>
<yexpand>False</yexpand>
<xshrink>False</xshrink>
<yshrink>False</yshrink>
<xfill>True</xfill>
<yfill>False</yfill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>confirm_entry</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>False</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<left_attach>1</left_attach>
<right_attach>2</right_attach>
<top_attach>1</top_attach>
<bottom_attach>2</bottom_attach>
<xpad>0</xpad>
<ypad>0</ypad>
<xexpand>True</xexpand>
<yexpand>False</yexpand>
<xshrink>False</xshrink>
<yshrink>False</yshrink>
<xfill>True</xfill>
<yfill>False</yfill>
</child>
</widget>
<widget>
<class>GtkLabel</class>
<name>label847717</name>
<label>Confirm Password:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<left_attach>0</left_attach>
<right_attach>1</right_attach>
<top_attach>1</top_attach>
<bottom_attach>2</bottom_attach>
<xpad>0</xpad>
<ypad>0</ypad>
<xexpand>False</xexpand>
<yexpand>False</yexpand>
<xshrink>False</xshrink>
<yshrink>False</yshrink>
<xfill>True</xfill>
<yfill>False</yfill>
</child>
</widget>
</widget>
</widget>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

View File

@@ -396,12 +396,12 @@ GNCImportMainMatcher *gnc_gen_trans_list_new (GtkWidget *parent,
/* Initialize the GnomeDialog. */
xml = gnc_glade_xml_new ("generic-import.glade", "transaction_matcher");
g_assert
(info->dialog = glade_xml_get_widget (xml, "transaction_matcher"));
g_assert
(info->clist = glade_xml_get_widget (xml, "downloaded_clist"));
g_assert
(heading_label = glade_xml_get_widget (xml, "heading_label"));
info->dialog = glade_xml_get_widget (xml, "transaction_matcher");
g_assert (info->dialog != NULL);
info->clist = glade_xml_get_widget (xml, "downloaded_clist");
g_assert (info->clist != NULL);
heading_label = glade_xml_get_widget (xml, "heading_label");
g_assert (heading_label != NULL);
/*if (parent)
gnome_dialog_set_parent (GNOME_DIALOG (info->dialog),

View File

@@ -276,8 +276,9 @@ init_match_picker_gui(GNCImportMatchPicker * matcher)
matcher->user_settings = gnc_import_Settings_new ();
/* load the interface */
g_assert
(xml = gnc_glade_xml_new ("generic-import.glade", "match_picker"));
xml = gnc_glade_xml_new ("generic-import.glade", "match_picker");
g_return_if_fail (xml != NULL);
/* connect the signals in the interface */
glade_xml_signal_connect_data(xml,
"match_transaction_select_cb",

View File

@@ -1,53 +1,28 @@
<?xml version="1.0"?>
<GTK-Interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
<project>
<name>OFX import</name>
<program_name>ofx-import</program_name>
<directory></directory>
<source_directory></source_directory>
<pixmaps_directory></pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>False</output_build_files>
<backup_source_files>False</backup_source_files>
</project>
<glade-interface>
<requires lib="gnome" />
<widget>
<class>GtkWindow</class>
<name>OFX Import Druid</name>
<title>OFX Import</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>True</auto_shrink>
<widget class="GtkWindow" id="OFX Import Druid">
<property name="title" translatable="yes">OFX Import</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">yes</property>
<property name="window-position">GTK_WIN_POS_NONE</property>
<property name="visible">yes</property>
<widget>
<class>GnomeDruid</class>
<name>ofx_import_druid</name>
<signal>
<name>cancel</name>
<handler>gnc_ui_ofx_import_cancel_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Wed, 30 Aug 2000 15:11:02 GMT</last_modification_time>
</signal>
<child>
<widget class="GnomeDruid" id="ofx_import_druid">
<property name="visible">yes</property>
<widget>
<class>GnomeDruidPageStart</class>
<name>start_page</name>
<signal>
<name>next</name>
<handler>gnc_ui_ofx_import_generic_next_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Tue, 06 Feb 2001 17:04:30 GMT</last_modification_time>
</signal>
<title>Import OFX files</title>
<text>GnuCash can import financial data from OFX (Quicken
<signal name="cancel" handler="gnc_ui_ofx_import_cancel_cb" />
<child>
<widget class="GnomeDruidPageEdge" id="start_page">
<property name="title" translatable="yes">Import OFX files</property>
<property name="text" translatable="yes">GnuCash can import financial data from OFX (Quicken
Interchange Format) files written by Quicken/QuickBooks,
MS Money, Moneydance, and many other programs.
@@ -56,313 +31,305 @@ accounts will not be changed until you click &quot;Finish&quot;
at the end of the process.
Click &quot;Next&quot; to start loading your OFX data, or &quot;Cancel&quot;
to abort the process. </text>
<title_color>255,255,255</title_color>
<text_color>0,0,0</text_color>
<background_color>153,191,153</background_color>
<logo_background_color>255,255,255</logo_background_color>
<textbox_color>255,255,255</textbox_color>
</widget>
to abort the process. </property>
<property name="position">GNOME_EDGE_START</property>
<property name="visible">yes</property>
<property name="title_color">#ffffff</property>
<property name="text_color">#000000</property>
<property name="background_color">#99bf99</property>
<property name="logo_background_color">#ffffff</property>
<property name="textbox_color">#ffffff</property>
<widget>
<class>GnomeDruidPageStandard</class>
<name>load_file_page</name>
<signal>
<name>next</name>
<handler>gnc_ui_ofx_import_load_file_next_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Wed, 30 Aug 2000 14:30:37 GMT</last_modification_time>
</signal>
<signal>
<name>back</name>
<handler>gnc_ui_ofx_import_generic_back_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Tue, 06 Feb 2001 17:05:58 GMT</last_modification_time>
</signal>
<title>Select a OFX file to load</title>
<title_color>255,255,255</title_color>
<background_color>153,191,154</background_color>
<logo_background_color>255,255,255</logo_background_color>
<signal name="next" handler="gnc_ui_ofx_import_generic_next_cb" />
</widget>
</child>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDruidPageStandard:vbox</child_name>
<name>druid-vbox8</name>
<border_width>25</border_width>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<child>
<widget class="GnomeDruidPageStandard" id="load_file_page">
<property name="title" translatable="yes">Select a OFX file to load</property>
<property name="visible">yes</property>
<property name="title_foreground">#ffffff</property>
<property name="background">#99bf9a</property>
<property name="logo_background">#ffffff</property>
<widget>
<class>GtkLabel</class>
<name>label822</name>
<label>Please select a file to load. When you click &quot;Next&quot;, the file will be loaded
<signal name="next" handler="gnc_ui_ofx_import_load_file_next_cb" />
<signal name="back" handler="gnc_ui_ofx_import_generic_back_cb" />
<child internal-child="vbox">
<widget class="GtkVBox" id="druid-vbox8">
<property name="border_width">25</property>
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label822">
<property name="label" translatable="yes">Please select a file to load. When you click &quot;Next&quot;, the file will be loaded
and analyzed. You may need to answer some questions about the account(s)
in the file.
You will have the opportunity to load as many files as you wish, so don't
worry if your data is in multiple files.
</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>5</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">5</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox69</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<child>
<widget class="GtkHBox" id="hbox69">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<widget>
<class>GtkLabel</class>
<name>label821</name>
<label>OFX Filename:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>1</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>4</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<child>
<widget class="GtkLabel" id="label821">
<property name="label" translatable="yes">OFX Filename:</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">1</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<widget>
<class>GtkEntry</class>
<name>ofx_filename_entry</name>
<can_default>True</can_default>
<has_default>True</has_default>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
<child>
<widget class="GtkEntry" id="ofx_filename_entry">
<property name="can_default">yes</property>
<property name="has_default">yes</property>
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<widget>
<class>GtkButton</class>
<name>button71</name>
<can_focus>True</can_focus>
<signal>
<name>clicked</name>
<handler>gnc_ui_ofx_import_select_file_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Wed, 30 Aug 2000 17:33:50 GMT</last_modification_time>
</signal>
<label>Select...</label>
<relief>GTK_RELIEF_NORMAL</relief>
<child>
<padding>3</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
</widget>
</widget>
</widget>
<child>
<widget class="GtkButton" id="button71">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Select...</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
<widget>
<class>GnomeDruidPageStandard</class>
<name>loaded_files_page</name>
<signal>
<name>prepare</name>
<handler>gnc_ui_ofx_import_loaded_files_prepare_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Wed, 30 Aug 2000 22:42:22 GMT</last_modification_time>
</signal>
<signal>
<name>next</name>
<handler>gnc_ui_ofx_import_generic_next_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Fri, 09 Feb 2001 17:04:25 GMT</last_modification_time>
</signal>
<signal>
<name>back</name>
<handler>gnc_ui_ofx_import_generic_back_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Tue, 06 Feb 2001 17:08:05 GMT</last_modification_time>
</signal>
<title>OFX files you have loaded</title>
<title_color>255,255,255</title_color>
<background_color>153,191,153</background_color>
<logo_background_color>255,255,255</logo_background_color>
<signal name="clicked" handler="gnc_ui_ofx_import_select_file_cb" />
</widget>
<packing>
<property name="padding">3</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
<widget>
<class>GtkVBox</class>
<child_name>GnomeDruidPageStandard:vbox</child_name>
<name>druid-vbox1</name>
<border_width>25</border_width>
<homogeneous>False</homogeneous>
<spacing>4</spacing>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<child>
<widget class="GnomeDruidPageStandard" id="loaded_files_page">
<property name="title" translatable="yes">OFX files you have loaded</property>
<property name="visible">yes</property>
<property name="title_foreground">#ffffff</property>
<property name="background">#99bf99</property>
<property name="logo_background">#ffffff</property>
<widget>
<class>GtkFrame</class>
<name>frame33</name>
<label>OFX Files</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<signal name="prepare" handler="gnc_ui_ofx_import_loaded_files_prepare_cb" />
<signal name="next" handler="gnc_ui_ofx_import_generic_next_cb" />
<signal name="back" handler="gnc_ui_ofx_import_generic_back_cb" />
<widget>
<class>GtkScrolledWindow</class>
<name>scrolledwindow10</name>
<hscrollbar_policy>GTK_POLICY_ALWAYS</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<child internal-child="vbox">
<widget class="GtkVBox" id="druid-vbox1">
<property name="border_width">25</property>
<property name="homogeneous">no</property>
<property name="spacing">4</property>
<property name="visible">yes</property>
<widget>
<class>GtkCList</class>
<name>selected_file_list</name>
<can_focus>True</can_focus>
<signal>
<name>select_row</name>
<handler>gnc_ui_ofx_import_select_loaded_file_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Wed, 30 Aug 2000 23:00:57 GMT</last_modification_time>
</signal>
<columns>1</columns>
<column_widths>80</column_widths>
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
<show_titles>False</show_titles>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<child>
<widget class="GtkFrame" id="frame33">
<property name="label" translatable="yes">OFX Files</property>
<property name="label_xalign">0</property>
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
<property name="visible">yes</property>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label827</name>
<label>label827</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
</widget>
</widget>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow10">
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="visible">yes</property>
<widget>
<class>GtkLabel</class>
<name>label816</name>
<label>Click &quot;Load another file&quot; if you have more data to import at this time.
<child>
<widget class="GtkTreeView" id="selected_file_list">
<property name="can_focus">yes</property>
<property name="headers-visible">no</property>
<property name="visible">yes</property>
<signal name="select_row" handler="gnc_ui_ofx_import_select_loaded_file_cb" />
<child>
<widget class="GtkLabel" id="label827">
<property name="child_name">CList:title</property>
<property name="label" translatable="yes">label827</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
<child internal-child="hscrollbar">
<widget class="GtkHScrollbar" id="convertwidget1">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
<child internal-child="vscrollbar">
<widget class="GtkVScrollbar" id="convertwidget2">
<property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label816">
<property name="label" translatable="yes">Click &quot;Load another file&quot; if you have more data to import at this time.
Do this if you have saved your accounts to separate OFX files.
Click &quot;Next&quot; to finish loading files and move to the next step
of the OFX import process. </label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<child>
<padding>3</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
of the OFX import process. </property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">3</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox68</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<child>
<widget class="GtkHBox" id="hbox68">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<widget>
<class>GtkButton</class>
<name>button69</name>
<can_focus>True</can_focus>
<signal>
<name>clicked</name>
<handler>gnc_ui_ofx_import_load_another_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Wed, 30 Aug 2000 15:32:12 GMT</last_modification_time>
</signal>
<label>Load another file</label>
<relief>GTK_RELIEF_NORMAL</relief>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
<child>
<widget class="GtkButton" id="button69">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Load another file</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
<widget>
<class>GtkButton</class>
<name>button70</name>
<can_focus>True</can_focus>
<signal>
<name>clicked</name>
<handler>gnc_ui_ofx_import_unload_file_cb</handler>
<data>OFX_Import_Druid</data>
<last_modification_time>Wed, 30 Aug 2000 15:34:33 GMT</last_modification_time>
</signal>
<label>Unload selected file</label>
<relief>GTK_RELIEF_NORMAL</relief>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
<signal name="clicked" handler="gnc_ui_ofx_import_load_another_cb" />
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="button70">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Unload selected file</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="visible">yes</property>
<signal name="clicked" handler="gnc_ui_ofx_import_unload_file_cb" />
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</child>
<child>
<widget class="GnomeDruidPageEdge" id="druidpagefinish1">
<property name="title" translatable="yes"></property>
<property name="text" translatable="yes">OFX import complete</property>
<property name="position">GNOME_EDGE_FINISH</property>
<property name="visible">yes</property>
<property name="title_color">#ffffff</property>
<property name="text_color">#000000</property>
<property name="background_color">#99bf99</property>
<property name="logo_background_color">#ffffff</property>
<property name="textbox_color">#ffffff</property>
</widget>
</child>
</widget>
</widget>
<widget>
<class>GnomeDruidPageFinish</class>
<name>druidpagefinish1</name>
<title></title>
<text>OFX import complete</text>
<background_color>153,191,153</background_color>
<logo_background_color>255,255,255</logo_background_color>
<textbox_color>255,255,255</textbox_color>
<text_color>0,0,0</text_color>
<title_color>255,255,255</title_color>
</widget>
</child>
</widget>
</widget>
</GTK-Interface>
</glade-interface>

View File

@@ -698,7 +698,7 @@ gnc_ui_qif_import_loaded_files_prepare_cb(GnomeDruidPage * page,
update_file_page(wind);
gnome_druid_set_buttons_sensitive(GNOME_DRUID(wind->druid),
FALSE, TRUE, TRUE);
FALSE, TRUE, TRUE, TRUE);
}
@@ -717,7 +717,7 @@ gnc_ui_qif_import_load_another_cb(GtkButton * button,
gnome_druid_set_page(GNOME_DRUID(wind->druid),
get_named_page(wind, "load_file_page"));
gnome_druid_set_buttons_sensitive(GNOME_DRUID(wind->druid),
TRUE, TRUE, TRUE);
TRUE, TRUE, TRUE, TRUE);
}
@@ -858,7 +858,7 @@ gnc_ui_qif_import_default_acct_back_cb(GnomeDruidPage * page,
gnome_druid_set_page(GNOME_DRUID(wind->druid),
get_named_page(wind, "load_file_page"));
gnome_druid_set_buttons_sensitive(GNOME_DRUID(wind->druid),
TRUE, TRUE, TRUE);
TRUE, TRUE, TRUE, TRUE);
return TRUE;
}
@@ -1535,7 +1535,7 @@ make_qif_druid_page(gnc_commodity * comm)
GnomeDruidPageStandard * page;
/* make the page widget */
retval->page = gnome_druid_page_standard_new_with_vals("", NULL);
retval->page = gnome_druid_page_standard_new_with_vals("", NULL, NULL);
retval->commodity = comm;
gtk_object_set_data(GTK_OBJECT(retval->page),
"page_struct", (gpointer)retval);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff