From 64f5d5e546ff4080a5555eb5e0e8d747084ed0ad Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Tue, 20 Jun 2017 09:24:50 +0100 Subject: [PATCH] Files linked to dialog-print-check.glade --- src/gnome/dialog-print-check.c | 10 +- src/gnome/gtkbuilder/dialog-print-check.glade | 2705 +++++++---------- 2 files changed, 1185 insertions(+), 1530 deletions(-) diff --git a/src/gnome/dialog-print-check.c b/src/gnome/dialog-print-check.c index 4411b0b374..ab4270afc8 100644 --- a/src/gnome/dialog-print-check.c +++ b/src/gnome/dialog-print-check.c @@ -855,10 +855,10 @@ gnc_print_check_save_button_clicked(GtkButton *unused, PrintCheckDialog *pcd) gchar *title; builder = gtk_builder_new(); - gnc_builder_add_from_file (builder, "dialog-print-check.glade", "Format Title Dialog"); + gnc_builder_add_from_file (builder, "dialog-print-check.glade", "format_title_dialog"); /* Get a title for the new check format. */ - dialog = GTK_WIDGET(gtk_builder_get_object (builder, "Format Title Dialog")); + dialog = GTK_WIDGET(gtk_builder_get_object (builder, "format_title_dialog")); entry = GTK_WIDGET(gtk_builder_get_object (builder, "format_title")); button = GTK_WIDGET(gtk_builder_get_object (builder, "ok_button")); gnc_check_format_title_changed(GTK_EDITABLE(entry), button); @@ -1642,12 +1642,12 @@ gnc_ui_print_check_dialog_create(GtkWidget *parent, gnc_builder_add_from_file (builder, "dialog-print-check.glade", "liststore1"); gnc_builder_add_from_file (builder, "dialog-print-check.glade", "liststore2"); gnc_builder_add_from_file (builder, "dialog-print-check.glade", "liststore3"); - gnc_builder_add_from_file (builder, "dialog-print-check.glade", "Print Check Dialog"); + gnc_builder_add_from_file (builder, "dialog-print-check.glade", "print_check_dialog"); gtk_builder_connect_signals_full (builder, gnc_builder_connect_full_func, pcd); pcd->builder = builder; - pcd->dialog = GTK_WIDGET(gtk_builder_get_object (builder, "Print Check Dialog")); + pcd->dialog = GTK_WIDGET(gtk_builder_get_object (builder, "print_check_dialog")); /* now pick out the relevant child widgets */ pcd->format_combobox = GTK_WIDGET(gtk_builder_get_object (builder, "check_format_combobox")); @@ -1686,7 +1686,7 @@ gnc_ui_print_check_dialog_create(GtkWidget *parent, /* Create and attach the date-format chooser */ table = GTK_WIDGET(gtk_builder_get_object (builder, "options_table")); pcd->date_format = gnc_date_format_new_without_label(); - gtk_table_attach_defaults(GTK_TABLE(table), pcd->date_format, 1, 3, 4, 7); + gtk_grid_attach (GTK_GRID(table), pcd->date_format, 1, 4, 1, 1); /* Default font (set in preferences) */ font = gnc_prefs_get_string(GNC_PREFS_GROUP, GNC_PREF_DEFAULT_FONT); diff --git a/src/gnome/gtkbuilder/dialog-print-check.glade b/src/gnome/gtkbuilder/dialog-print-check.glade index d2e2dcccb2..db603beb3a 100644 --- a/src/gnome/gtkbuilder/dialog-print-check.glade +++ b/src/gnome/gtkbuilder/dialog-print-check.glade @@ -1,1528 +1,7 @@ - + + - - - - True - False - Save Custom Check Format - center-on-parent - dialog - - - True - False - - - True - False - end - - - gtk-cancel - True - True - True - False - False - True - - - False - False - 0 - - - - - gtk-ok - True - True - True - True - False - False - True - - - False - False - 1 - - - - - False - True - end - 0 - - - - - True - True - Enter a title for this custom format. This title will appear in the "Check format" selector of the Print Check dialog. Using the title of an existing custom format will cause that format to be overwritten. - True - True - - - True - True - 2 - - - - - True - True - - True - False - False - True - True - - - - False - False - 3 - - - - - - cancel_button - ok_button - - - - False - Print Check - False - dialog - - - - True - False - 8 - - - True - False - end - - - gtk-help - True - True - True - False - False - True - - - False - False - 0 - - - - - gtk-cancel - True - True - True - False - False - True - - - False - False - 1 - - - - - gtk-print - True - True - True - False - False - True - - - False - False - 2 - - - - - False - True - end - 0 - - - - - True - True - - - True - False - 5 - 14 - 3 - 12 - 1 - - - True - False - 0 - Check _format: - True - center - check_format_combobox - - - GTK_FILL - - - - - - True - False - 0 - Check po_sition: - True - center - check_position_combobox - - - 1 - 2 - GTK_FILL - - - - - - True - False - 0 - 0.20000000298023224 - _Date format: - True - center - - - 4 - 5 - GTK_FILL - GTK_FILL - - - - - True - False - liststore3 - - - - - 0 - - - - - 1 - 3 - GTK_FILL - - - - - True - False - liststore2 - - - - - 0 - - - - - 1 - 3 - 1 - 2 - GTK_FILL - GTK_FILL - - - - - True - True - False - False - False - True - True - - - 1 - 3 - 9 - 10 - GTK_FILL - - - - - True - True - False - False - False - True - True - - - 1 - 3 - 10 - 11 - GTK_FILL - - - - - True - True - False - False - False - True - True - - - 1 - 3 - 11 - 12 - GTK_FILL - - - - - True - True - False - False - False - True - True - - - 1 - 3 - 12 - 13 - GTK_FILL - - - - - True - True - False - False - False - True - True - - - 1 - 3 - 13 - 14 - GTK_FILL - - - - - True - False - Check format must have an -ADDRESS item defined in order -to print an address on the check. - 0 - _Address - True - check_address_name - - - 9 - 10 - GTK_FILL - - - - - True - False - - - 3 - 8 - 9 - 5 - - - - - True - False - - - 10 - 11 - - - - - - True - False - - - 11 - 12 - - - - - - True - False - - - 12 - 13 - - - - - - True - False - - - 13 - 14 - - - - - - True - False - 0 - Checks on first _page: - True - first_page_count_entry - - - 2 - 3 - GTK_FILL - - - - - - True - True - - 3 - 1 - False - False - False - True - True - adjustment24 - True - True - True - - - 1 - 2 - 2 - 3 - - - - - - - True - False - - - 3 - 3 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - False - 5 - Options - center - - - False - - - - - True - False - 5 - 19 - 3 - - - True - False - x - center - - - 1 - 2 - GTK_FILL - - - - - - True - False - y - center - - - 2 - 3 - GTK_FILL - - - - - - True - False - 0 - Pa_yee: - True - center - payee_x_entry - - - 1 - 2 - GTK_FILL - - - - - - True - False - 0 - _Date: - True - center - date_x_entry - - - 2 - 3 - GTK_FILL - - - - - - True - False - 0 - Amount (_words): - True - center - amount_words_x_entry - - - 3 - 4 - GTK_FILL - - - - - - True - False - 0 - Amount (_numbers): - True - center - amount_numbers_x_entry - - - 4 - 5 - GTK_FILL - - - - - - True - False - 0 - _Notes: - True - center - notes_x_entry - - - 6 - 7 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment23 - 1 - 3 - True - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment22 - 1 - 3 - True - - - 1 - 2 - 2 - 3 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment21 - 1 - 3 - True - - - 1 - 2 - 3 - 4 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment20 - 1 - 3 - True - - - 1 - 2 - 4 - 5 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment19 - 1 - 3 - True - - - 1 - 2 - 6 - 7 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment18 - 1 - 3 - True - - - 2 - 3 - 1 - 2 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment17 - 1 - 3 - True - - - 2 - 3 - 2 - 3 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment16 - 1 - 3 - True - - - 2 - 3 - 3 - 4 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment15 - 1 - 3 - True - - - 2 - 3 - 4 - 5 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment14 - 1 - 3 - True - - - 2 - 3 - 6 - 7 - GTK_FILL - - - - - - True - False - liststore1 - on - - - - 0 - - - - - 1 - 2 - 14 - 15 - GTK_FILL - - - - - - True - False - 0 - _Units: - True - center - units_combobox - - - 14 - 15 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment13 - 1 - 3 - True - - - 1 - 2 - 12 - 13 - - - - - - True - False - 0 - _Translation: - True - center - translation_x_entry - - - 12 - 13 - GTK_FILL - - - - - - True - False - 0 - _Rotation - True - check_rotation_entry - - - 13 - 14 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment12 - 1 - 3 - True - True - - - 1 - 2 - 13 - 14 - - - - - - True - True - False - False - True - True - adjustment11 - 1 - 3 - True - - - 2 - 3 - 12 - 13 - - - - - - True - False - 0 - The origin point is the upper left-hand corner of the page. - - - 3 - 15 - 16 - GTK_FILL - - 5 - - - - - True - False - 0 - The origin point is the lower left-hand corner of the page. - - - 3 - 16 - 17 - GTK_FILL - - 5 - - - - - True - False - 0 - Degrees - - - 2 - 3 - 13 - 14 - GTK_FILL - - 6 - - - - - True - False - 0 - - - - 17 - 18 - GTK_FILL - - - - - - True - True - False - False - - - - True - False - 0 - 0 - - - True - False - 2 - - - True - False - gtk-save-as - - - False - False - 0 - - - - - True - False - _Save format - True - - - False - False - 1 - - - - - - - - - 2 - 3 - 18 - 19 - GTK_FILL - - - - - - True - False - 0 - _Address: - True - - - 5 - 6 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment10 - 1 - 3 - True - - - 1 - 2 - 5 - 6 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment9 - 1 - 3 - True - - - 2 - 3 - 5 - 6 - GTK_FILL - - - - - - True - False - 0 - _Memo: - True - center - memo_x_entry - - - 7 - 8 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment8 - 1 - 3 - True - - - 2 - 3 - 7 - 8 - GTK_FILL - - - - - - True - True - False - False - True - True - adjustment7 - 1 - 3 - True - - - 1 - 2 - 7 - 8 - GTK_FILL - - - - - - True - False - 0 - Splits Memo - True - center - splits_memo_x_entry - - - 9 - 10 - GTK_FILL - - - - - - True - False - 0 - Splits Amount - True - center - splits_amount_x_entry - - - 8 - 9 - GTK_FILL - - - - - - True - False - 0 - Splits Account - True - center - splits_account_x_entry - - - 10 - 11 - GTK_FILL - - - - - - True - True - - False - False - True - True - adjustment6 - 1 - 3 - True - - - 2 - 3 - 8 - 9 - GTK_FILL - - - - - - True - True - - False - False - True - True - adjustment5 - 1 - 3 - True - - - 1 - 2 - 8 - 9 - GTK_FILL - - - - - - True - True - - False - False - True - True - adjustment4 - 1 - 3 - True - - - 1 - 2 - 9 - 10 - GTK_FILL - - - - - - True - True - - False - False - True - True - adjustment3 - 1 - 3 - True - - - 2 - 3 - 9 - 10 - GTK_FILL - - - - - - True - True - - False - False - True - True - adjustment2 - 1 - 3 - True - - - 2 - 3 - 10 - 11 - GTK_FILL - - - - - - True - True - - False - False - True - True - adjustment1 - 1 - 3 - True - - - 1 - 2 - 10 - 11 - GTK_FILL - - - - - - True - False - - - 3 - 11 - 12 - 3 - - - - - True - False - - - 2 - 3 - 14 - 15 - - - - - - True - False - - - - - - - - - - - - - - - - - - - - 1 - - - - - True - False - 5 - Custom format - center - - - 1 - False - - - - - True - True - 2 - - - - - - helpbutton - cancelbutton - okbutton - - + 100000 0.10000000149 @@ -1561,7 +40,7 @@ to print an address on the check. 100000 - 0.10000000149 + 0.10000000000000001 10 @@ -1644,6 +123,98 @@ to print an address on the check. 0.10000000149 10 + + True + False + Save Custom Check Format + center-on-parent + dialog + + + True + False + vertical + + + True + False + end + + + _Cancel + True + True + True + False + True + + + False + False + 0 + + + + + _OK + True + True + True + True + False + True + + + False + False + 1 + + + + + False + True + end + 0 + + + + + True + True + Enter a title for this custom format. This title will appear in the "Check format" selector of the Print Check dialog. Using the title of an existing custom format will cause that format to be overwritten. + True + True + + + True + True + 2 + + + + + True + True + + True + False + False + + + + False + False + 3 + + + + + + cancel_button + ok_button + + @@ -1704,4 +275,1088 @@ to print an address on the check. + + False + Print Check + False + dialog + + + + True + False + vertical + 8 + + + True + False + end + + + _Help + True + True + True + False + True + + + False + False + 0 + + + + + _Cancel + True + True + True + False + True + + + False + False + 1 + + + + + _Print + True + True + True + False + True + + + False + False + 2 + + + + + False + True + end + 0 + + + + + True + True + + + True + False + 5 + 1 + 12 + + + True + False + start + Check _format: + True + center + check_format_combobox + + + 0 + 0 + + + + + True + False + start + Check po_sition: + True + center + check_position_combobox + + + 0 + 1 + + + + + True + False + start + start + _Date format: + True + center + + + 0 + 4 + + + + + True + False + liststore3 + + + + + 0 + + + + + 1 + 0 + + + + + True + False + liststore2 + + + + + 0 + + + + + 1 + 1 + + + + + True + True + False + False + False + + + 1 + 9 + + + + + True + True + False + False + False + + + 1 + 10 + + + + + True + True + False + False + False + + + 1 + 11 + + + + + True + True + False + False + False + + + 1 + 12 + + + + + True + True + False + False + False + + + 1 + 13 + + + + + True + False + Check format must have an +ADDRESS item defined in order +to print an address on the check. + start + _Address + True + check_address_name + + + 0 + 9 + + + + + True + False + + + 0 + 8 + 2 + + + + + True + False + start + Checks on first _page: + True + first_page_count_entry + + + 0 + 2 + + + + + True + True + + 3 + 1 + False + False + False + adjustment24 + True + True + True + + + 1 + 2 + + + + + True + False + + + 0 + 3 + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + False + Options + center + + + False + + + + + True + False + 5 + 5 + + + True + False + x + center + + + 1 + 0 + + + + + True + False + y + center + + + 2 + 0 + + + + + True + False + start + Pa_yee: + True + center + payee_x_entry + + + 0 + 1 + + + + + True + False + start + _Date: + True + center + date_x_entry + + + 0 + 2 + + + + + True + False + start + Amount (_words): + True + center + amount_words_x_entry + + + 0 + 3 + + + + + True + False + start + Amount (_numbers): + True + center + amount_numbers_x_entry + + + 0 + 4 + + + + + True + False + start + _Notes: + True + center + notes_x_entry + + + 0 + 6 + + + + + True + True + False + False + adjustment23 + 1 + 3 + True + + + 1 + 1 + + + + + True + True + False + False + adjustment22 + 1 + 3 + True + + + 1 + 2 + + + + + True + True + False + False + adjustment21 + 1 + 3 + True + + + 1 + 3 + + + + + True + True + False + False + adjustment20 + 1 + 3 + True + + + 1 + 4 + + + + + True + True + False + False + adjustment19 + 1 + 3 + True + + + 1 + 6 + + + + + True + True + False + False + adjustment18 + 1 + 3 + True + + + 2 + 1 + + + + + True + True + False + False + adjustment17 + 1 + 3 + True + + + 2 + 2 + + + + + True + True + False + False + adjustment16 + 1 + 3 + True + + + 2 + 3 + + + + + True + True + False + False + adjustment15 + 1 + 3 + True + + + 2 + 4 + + + + + True + True + False + False + adjustment14 + 1 + 3 + True + + + 2 + 6 + + + + + True + False + liststore1 + on + + + + 0 + + + + + 1 + 14 + + + + + True + False + start + _Units: + True + center + units_combobox + + + 0 + 14 + + + + + True + True + False + False + adjustment13 + 1 + 3 + True + + + 1 + 12 + + + + + True + False + start + _Translation: + True + center + translation_x_entry + + + 0 + 12 + + + + + True + False + start + _Rotation + True + check_rotation_entry + + + 0 + 13 + + + + + True + True + False + False + adjustment12 + 1 + 3 + True + True + + + 1 + 13 + + + + + True + True + False + False + adjustment11 + 1 + 3 + True + + + 2 + 12 + + + + + True + False + start + The origin point is the upper left-hand corner of the page. + + + 0 + 15 + 3 + + + + + True + False + start + The origin point is the lower left-hand corner of the page. + + + 0 + 16 + 3 + + + + + True + False + start + Degrees + + + 2 + 13 + + + + + _Save Format + True + True + False + True + + + + 2 + 18 + + + + + True + False + start + _Address: + True + + + 0 + 5 + + + + + True + True + False + False + adjustment10 + 1 + 3 + True + + + 1 + 5 + + + + + True + True + False + False + adjustment9 + 1 + 3 + True + + + 2 + 5 + + + + + True + False + start + _Memo: + True + center + memo_x_entry + + + 0 + 7 + + + + + True + True + False + False + adjustment8 + 1 + 3 + True + + + 2 + 7 + + + + + True + True + False + False + adjustment7 + 1 + 3 + True + + + 1 + 7 + + + + + True + False + start + Splits Memo + True + center + splits_memo_x_entry + + + 0 + 9 + + + + + True + False + start + Splits Amount + True + center + splits_amount_x_entry + + + 0 + 8 + + + + + True + False + start + Splits Account + True + center + splits_account_x_entry + + + 0 + 10 + + + + + True + True + + False + False + adjustment6 + 1 + 3 + True + + + 2 + 8 + + + + + True + True + + False + False + adjustment5 + 1 + 3 + True + + + 1 + 8 + + + + + True + True + + False + False + adjustment4 + 1 + 3 + True + + + 1 + 9 + + + + + True + True + + False + False + adjustment3 + 1 + 3 + True + + + 2 + 9 + + + + + True + True + + False + False + adjustment2 + 1 + 3 + True + + + 2 + 10 + + + + + True + True + + False + False + adjustment1 + 1 + 3 + True + + + 1 + 10 + + + + + True + False + + + 0 + 11 + 3 + + + + + True + False + + + 2 + 14 + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + True + False + Custom format + center + + + 1 + False + + + + + True + True + 2 + + + + + + helpbutton + cancelbutton + okbutton + +