mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2001-06-13 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-style-sheet.c: use libglade git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4672 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f55d77b51c
commit
7bfecbb146
@ -1,3 +1,7 @@
|
||||
2001-06-13 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* src/gnome/dialog-style-sheet.c: use libglade
|
||||
|
||||
2001-06-13 James LewisMoss <jimdres@mindspring.com>
|
||||
|
||||
* configure.in (CFLAGS): add test-files makefiles to list.
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
#include "dialog-style-sheet.h"
|
||||
#include "dialog-options.h"
|
||||
#include "glade-gnc-dialogs.h"
|
||||
#include "dialog-utils.h"
|
||||
#include "messages.h"
|
||||
|
||||
StyleSheetDialog * gnc_style_sheet_dialog = NULL;
|
||||
@ -162,11 +162,12 @@ gnc_style_sheet_new_cb(GtkWidget * w, gpointer user_data) {
|
||||
char * name_str = NULL;
|
||||
|
||||
/* get the new name for the style sheet */
|
||||
GtkWidget * dlg = create_New_Style_Sheet_Dialog();
|
||||
GtkObject * tlo = GTK_OBJECT(dlg);
|
||||
template_entry = gtk_object_get_data(tlo, "template_entry");
|
||||
template_combo = gtk_object_get_data(tlo, "template_combo");
|
||||
name_entry = gtk_object_get_data(tlo, "name_entry");
|
||||
GladeXML *xml = gnc_glade_xml_new ("report.glade",
|
||||
"New Style Sheet Dialog");
|
||||
GtkWidget * dlg = glade_xml_get_widget (xml, "New Style Sheet Dialog");
|
||||
template_entry = glade_xml_get_widget (xml, "template_entry");
|
||||
template_combo = glade_xml_get_widget (xml, "template_combo");
|
||||
name_entry = glade_xml_get_widget (xml, "name_entry");
|
||||
|
||||
/* put in the list of style sheet type names */
|
||||
for(; !gh_null_p(templates); templates=gh_cdr(templates)) {
|
||||
@ -196,7 +197,8 @@ gnc_style_sheet_new_cb(GtkWidget * w, gpointer user_data) {
|
||||
gtk_clist_clear(GTK_CLIST(ssd->list));
|
||||
gnc_style_sheet_dialog_fill(ssd, new_ss);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gnome_dialog_close(GNOME_DIALOG(dlg));
|
||||
}
|
||||
|
||||
@ -223,16 +225,18 @@ gnc_style_sheet_dialog_close_cb(GtkWidget * w, GdkEventAny * ev,
|
||||
static StyleSheetDialog *
|
||||
gnc_style_sheet_dialog_create() {
|
||||
StyleSheetDialog * ss = g_new0(StyleSheetDialog, 1);
|
||||
GtkObject * tlo;
|
||||
GtkWidget * new_button=NULL;
|
||||
GtkWidget * delete_button=NULL;
|
||||
ss->toplevel = create_HTML_Style_Sheet_Dialog();
|
||||
GladeXML * xml;
|
||||
|
||||
tlo = GTK_OBJECT(ss->toplevel);
|
||||
ss->list = gtk_object_get_data(tlo, "style_sheet_list");
|
||||
ss->options_frame = gtk_object_get_data(tlo, "style_sheet_options");
|
||||
new_button = gtk_object_get_data(tlo, "new_button");
|
||||
delete_button = gtk_object_get_data(tlo, "delete_button");
|
||||
xml = gnc_glade_xml_new ("report.glade", "HTML Style Sheet Dialog");
|
||||
|
||||
ss->toplevel = glade_xml_get_widget (xml, "HTML Style Sheet Dialog");
|
||||
|
||||
ss->list = glade_xml_get_widget (xml, "style_sheet_list");
|
||||
ss->options_frame = glade_xml_get_widget (xml, "style_sheet_options");
|
||||
new_button = glade_xml_get_widget (xml, "new_button");
|
||||
delete_button = glade_xml_get_widget (xml, "delete_button");
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(ss->list), "select_row",
|
||||
GTK_SIGNAL_FUNC(gnc_style_sheet_dialog_select_cb), ss);
|
||||
|
@ -5774,123 +5774,6 @@ create_Report_Window (void)
|
||||
return Report_Window;
|
||||
}
|
||||
|
||||
GtkWidget*
|
||||
create_New_Style_Sheet_Dialog (void)
|
||||
{
|
||||
GtkWidget *New_Style_Sheet_Dialog;
|
||||
GtkWidget *dialog_vbox15;
|
||||
GtkWidget *frame40;
|
||||
GtkWidget *hbox82;
|
||||
GtkWidget *vbox93;
|
||||
GtkWidget *label847669;
|
||||
GtkWidget *label847670;
|
||||
GtkWidget *vbox94;
|
||||
GtkWidget *name_entry;
|
||||
GtkWidget *template_combo;
|
||||
GtkWidget *template_entry;
|
||||
GtkWidget *dialog_action_area15;
|
||||
GtkWidget *button73;
|
||||
GtkWidget *button75;
|
||||
|
||||
New_Style_Sheet_Dialog = gnome_dialog_new (_("New Style Sheet"), NULL);
|
||||
gtk_object_set_data (GTK_OBJECT (New_Style_Sheet_Dialog), "New_Style_Sheet_Dialog", New_Style_Sheet_Dialog);
|
||||
gtk_window_set_policy (GTK_WINDOW (New_Style_Sheet_Dialog), TRUE, TRUE, FALSE);
|
||||
|
||||
dialog_vbox15 = GNOME_DIALOG (New_Style_Sheet_Dialog)->vbox;
|
||||
gtk_object_set_data (GTK_OBJECT (New_Style_Sheet_Dialog), "dialog_vbox15", dialog_vbox15);
|
||||
gtk_widget_show (dialog_vbox15);
|
||||
|
||||
frame40 = gtk_frame_new (_("New style sheet info"));
|
||||
gtk_widget_ref (frame40);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "frame40", frame40,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (frame40);
|
||||
gtk_box_pack_start (GTK_BOX (dialog_vbox15), frame40, FALSE, FALSE, 0);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (frame40), 2);
|
||||
|
||||
hbox82 = gtk_hbox_new (FALSE, 4);
|
||||
gtk_widget_ref (hbox82);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "hbox82", hbox82,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (hbox82);
|
||||
gtk_container_add (GTK_CONTAINER (frame40), hbox82);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (hbox82), 4);
|
||||
|
||||
vbox93 = gtk_vbox_new (TRUE, 2);
|
||||
gtk_widget_ref (vbox93);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "vbox93", vbox93,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (vbox93);
|
||||
gtk_box_pack_start (GTK_BOX (hbox82), vbox93, FALSE, FALSE, 0);
|
||||
|
||||
label847669 = gtk_label_new (_("Name:"));
|
||||
gtk_widget_ref (label847669);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "label847669", label847669,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (label847669);
|
||||
gtk_box_pack_start (GTK_BOX (vbox93), label847669, FALSE, FALSE, 0);
|
||||
gtk_misc_set_alignment (GTK_MISC (label847669), 1, 0.5);
|
||||
|
||||
label847670 = gtk_label_new (_("Style sheet template:"));
|
||||
gtk_widget_ref (label847670);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "label847670", label847670,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (label847670);
|
||||
gtk_box_pack_start (GTK_BOX (vbox93), label847670, FALSE, FALSE, 0);
|
||||
gtk_misc_set_alignment (GTK_MISC (label847670), 1, 0.5);
|
||||
|
||||
vbox94 = gtk_vbox_new (TRUE, 2);
|
||||
gtk_widget_ref (vbox94);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "vbox94", vbox94,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (vbox94);
|
||||
gtk_box_pack_start (GTK_BOX (hbox82), vbox94, FALSE, TRUE, 0);
|
||||
|
||||
name_entry = gtk_entry_new ();
|
||||
gtk_widget_ref (name_entry);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "name_entry", name_entry,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (name_entry);
|
||||
gtk_box_pack_start (GTK_BOX (vbox94), name_entry, FALSE, FALSE, 0);
|
||||
|
||||
template_combo = gtk_combo_new ();
|
||||
gtk_widget_ref (template_combo);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "template_combo", template_combo,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (template_combo);
|
||||
gtk_box_pack_start (GTK_BOX (vbox94), template_combo, FALSE, FALSE, 0);
|
||||
|
||||
template_entry = GTK_COMBO (template_combo)->entry;
|
||||
gtk_widget_ref (template_entry);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "template_entry", template_entry,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (template_entry);
|
||||
|
||||
dialog_action_area15 = GNOME_DIALOG (New_Style_Sheet_Dialog)->action_area;
|
||||
gtk_object_set_data (GTK_OBJECT (New_Style_Sheet_Dialog), "dialog_action_area15", dialog_action_area15);
|
||||
gtk_widget_show (dialog_action_area15);
|
||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area15), GTK_BUTTONBOX_SPREAD);
|
||||
gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area15), 8);
|
||||
|
||||
gnome_dialog_append_button (GNOME_DIALOG (New_Style_Sheet_Dialog), GNOME_STOCK_BUTTON_OK);
|
||||
button73 = g_list_last (GNOME_DIALOG (New_Style_Sheet_Dialog)->buttons)->data;
|
||||
gtk_widget_ref (button73);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "button73", button73,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (button73);
|
||||
GTK_WIDGET_SET_FLAGS (button73, GTK_CAN_DEFAULT);
|
||||
|
||||
gnome_dialog_append_button (GNOME_DIALOG (New_Style_Sheet_Dialog), GNOME_STOCK_BUTTON_CANCEL);
|
||||
button75 = g_list_last (GNOME_DIALOG (New_Style_Sheet_Dialog)->buttons)->data;
|
||||
gtk_widget_ref (button75);
|
||||
gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "button75", button75,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (button75);
|
||||
GTK_WIDGET_SET_FLAGS (button75, GTK_CAN_DEFAULT);
|
||||
|
||||
return New_Style_Sheet_Dialog;
|
||||
}
|
||||
|
||||
GtkWidget*
|
||||
create_Tax_Information_Dialog (void)
|
||||
{
|
||||
@ -6295,99 +6178,3 @@ create_Duplicate_Transaction_Dialog (void)
|
||||
return Duplicate_Transaction_Dialog;
|
||||
}
|
||||
|
||||
GtkWidget*
|
||||
create_HTML_Style_Sheet_Dialog (void)
|
||||
{
|
||||
GtkWidget *HTML_Style_Sheet_Dialog;
|
||||
GtkWidget *hbox96;
|
||||
GtkWidget *frame39;
|
||||
GtkWidget *vbox92;
|
||||
GtkWidget *scrolledwindow17;
|
||||
GtkWidget *style_sheet_list;
|
||||
GtkWidget *label847668;
|
||||
GtkWidget *hbox81;
|
||||
GtkWidget *new_button;
|
||||
GtkWidget *delete_button;
|
||||
GtkWidget *style_sheet_options;
|
||||
|
||||
HTML_Style_Sheet_Dialog = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||
gtk_object_set_data (GTK_OBJECT (HTML_Style_Sheet_Dialog), "HTML_Style_Sheet_Dialog", HTML_Style_Sheet_Dialog);
|
||||
gtk_window_set_title (GTK_WINDOW (HTML_Style_Sheet_Dialog), _("HTML Style Sheets"));
|
||||
|
||||
hbox96 = gtk_hbox_new (FALSE, 2);
|
||||
gtk_widget_ref (hbox96);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "hbox96", hbox96,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (hbox96);
|
||||
gtk_container_add (GTK_CONTAINER (HTML_Style_Sheet_Dialog), hbox96);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (hbox96), 5);
|
||||
|
||||
frame39 = gtk_frame_new (_("Style sheets"));
|
||||
gtk_widget_ref (frame39);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "frame39", frame39,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (frame39);
|
||||
gtk_box_pack_start (GTK_BOX (hbox96), frame39, FALSE, FALSE, 0);
|
||||
|
||||
vbox92 = gtk_vbox_new (FALSE, 0);
|
||||
gtk_widget_ref (vbox92);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "vbox92", vbox92,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (vbox92);
|
||||
gtk_container_add (GTK_CONTAINER (frame39), vbox92);
|
||||
|
||||
scrolledwindow17 = gtk_scrolled_window_new (NULL, NULL);
|
||||
gtk_widget_ref (scrolledwindow17);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "scrolledwindow17", scrolledwindow17,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (scrolledwindow17);
|
||||
gtk_box_pack_start (GTK_BOX (vbox92), scrolledwindow17, TRUE, TRUE, 0);
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow17), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
|
||||
|
||||
style_sheet_list = gtk_clist_new (1);
|
||||
gtk_widget_ref (style_sheet_list);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "style_sheet_list", style_sheet_list,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (style_sheet_list);
|
||||
gtk_container_add (GTK_CONTAINER (scrolledwindow17), style_sheet_list);
|
||||
gtk_clist_set_column_width (GTK_CLIST (style_sheet_list), 0, 80);
|
||||
gtk_clist_column_titles_hide (GTK_CLIST (style_sheet_list));
|
||||
|
||||
label847668 = gtk_label_new (_("label847668"));
|
||||
gtk_widget_ref (label847668);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "label847668", label847668,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (label847668);
|
||||
gtk_clist_set_column_widget (GTK_CLIST (style_sheet_list), 0, label847668);
|
||||
|
||||
hbox81 = gtk_hbox_new (TRUE, 0);
|
||||
gtk_widget_ref (hbox81);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "hbox81", hbox81,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (hbox81);
|
||||
gtk_box_pack_start (GTK_BOX (vbox92), hbox81, FALSE, TRUE, 0);
|
||||
|
||||
new_button = gtk_button_new_with_label (_("New..."));
|
||||
gtk_widget_ref (new_button);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "new_button", new_button,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (new_button);
|
||||
gtk_box_pack_start (GTK_BOX (hbox81), new_button, TRUE, TRUE, 0);
|
||||
|
||||
delete_button = gtk_button_new_with_label (_("Delete"));
|
||||
gtk_widget_ref (delete_button);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "delete_button", delete_button,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (delete_button);
|
||||
gtk_box_pack_start (GTK_BOX (hbox81), delete_button, TRUE, TRUE, 0);
|
||||
|
||||
style_sheet_options = gtk_frame_new (_("Style sheet options"));
|
||||
gtk_widget_ref (style_sheet_options);
|
||||
gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "style_sheet_options", style_sheet_options,
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (style_sheet_options);
|
||||
gtk_box_pack_start (GTK_BOX (hbox96), style_sheet_options, TRUE, TRUE, 0);
|
||||
|
||||
return HTML_Style_Sheet_Dialog;
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,5 @@ GtkWidget* create_Transfer_Dialog (void);
|
||||
GtkWidget* create_Progress_Dialog (void);
|
||||
GtkWidget* create_Help_Window (void);
|
||||
GtkWidget* create_Report_Window (void);
|
||||
GtkWidget* create_New_Style_Sheet_Dialog (void);
|
||||
GtkWidget* create_Tax_Information_Dialog (void);
|
||||
GtkWidget* create_Duplicate_Transaction_Dialog (void);
|
||||
GtkWidget* create_HTML_Style_Sheet_Dialog (void);
|
||||
|
@ -18,6 +18,320 @@
|
||||
<translatable_strings_file>report_strings.c</translatable_strings_file>
|
||||
</project>
|
||||
|
||||
<widget>
|
||||
<class>GnomeDialog</class>
|
||||
<name>New Style Sheet Dialog</name>
|
||||
<title>New Style Sheet</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>
|
||||
|
||||
<widget>
|
||||
<class>GtkVBox</class>
|
||||
<child_name>GnomeDialog:vbox</child_name>
|
||||
<name>dialog-vbox15</name>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>8</spacing>
|
||||
<child>
|
||||
<padding>4</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkHButtonBox</class>
|
||||
<child_name>GnomeDialog:action_area</child_name>
|
||||
<name>dialog-action_area15</name>
|
||||
<layout_style>GTK_BUTTONBOX_SPREAD</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>button75</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>frame40</name>
|
||||
<border_width>2</border_width>
|
||||
<label>New style sheet info</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>hbox82</name>
|
||||
<border_width>4</border_width>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>4</spacing>
|
||||
|
||||
<widget>
|
||||
<class>GtkVBox</class>
|
||||
<name>vbox93</name>
|
||||
<homogeneous>True</homogeneous>
|
||||
<spacing>2</spacing>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>False</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkLabel</class>
|
||||
<name>label847669</name>
|
||||
<label>Name:</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>label847670</name>
|
||||
<label>Style sheet template:</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>
|
||||
|
||||
<widget>
|
||||
<class>GtkVBox</class>
|
||||
<name>vbox94</name>
|
||||
<homogeneous>True</homogeneous>
|
||||
<spacing>2</spacing>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<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>
|
||||
<class>GtkCombo</class>
|
||||
<name>template_combo</name>
|
||||
<value_in_list>False</value_in_list>
|
||||
<ok_if_empty>True</ok_if_empty>
|
||||
<case_sensitive>False</case_sensitive>
|
||||
<use_arrows>True</use_arrows>
|
||||
<use_arrows_always>False</use_arrows_always>
|
||||
<items></items>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>False</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkEntry</class>
|
||||
<child_name>GtkCombo:entry</child_name>
|
||||
<name>template_entry</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>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GtkWindow</class>
|
||||
<name>HTML Style Sheet Dialog</name>
|
||||
<title>HTML Style Sheets</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>
|
||||
|
||||
<widget>
|
||||
<class>GtkHBox</class>
|
||||
<name>hbox96</name>
|
||||
<border_width>5</border_width>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>2</spacing>
|
||||
|
||||
<widget>
|
||||
<class>GtkFrame</class>
|
||||
<name>frame39</name>
|
||||
<label>Style sheets</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>vbox92</name>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>0</spacing>
|
||||
|
||||
<widget>
|
||||
<class>GtkScrolledWindow</class>
|
||||
<name>scrolledwindow17</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>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkCList</class>
|
||||
<name>style_sheet_list</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>CList:title</child_name>
|
||||
<name>label847668</name>
|
||||
<label>label847668</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>GtkHBox</class>
|
||||
<name>hbox81</name>
|
||||
<homogeneous>True</homogeneous>
|
||||
<spacing>0</spacing>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkButton</class>
|
||||
<name>new_button</name>
|
||||
<can_focus>True</can_focus>
|
||||
<label>New...</label>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GtkButton</class>
|
||||
<name>delete_button</name>
|
||||
<can_focus>True</can_focus>
|
||||
<label>Delete</label>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GtkFrame</class>
|
||||
<name>style_sheet_options</name>
|
||||
<label>Style sheet options</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>Placeholder</class>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GtkWindow</class>
|
||||
<name>Edit Column View Page</name>
|
||||
|
@ -4,6 +4,16 @@
|
||||
* DO NOT compile it as part of your application.
|
||||
*/
|
||||
|
||||
gchar *s = N_("New Style Sheet");
|
||||
gchar *s = N_("New style sheet info");
|
||||
gchar *s = N_("Name:");
|
||||
gchar *s = N_("Style sheet template:");
|
||||
gchar *s = N_("HTML Style Sheets");
|
||||
gchar *s = N_("Style sheets");
|
||||
gchar *s = N_("label847668");
|
||||
gchar *s = N_("New...");
|
||||
gchar *s = N_("Delete");
|
||||
gchar *s = N_("Style sheet options");
|
||||
gchar *s = N_("Available reports");
|
||||
gchar *s = N_(" ");
|
||||
gchar *s = N_("Add >>");
|
||||
|
@ -8507,189 +8507,6 @@ Click "Cancel" to abort the QIF import process.</text>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GnomeDialog</class>
|
||||
<name>New Style Sheet Dialog</name>
|
||||
<title>New Style Sheet</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>
|
||||
|
||||
<widget>
|
||||
<class>GtkVBox</class>
|
||||
<child_name>GnomeDialog:vbox</child_name>
|
||||
<name>dialog-vbox15</name>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>8</spacing>
|
||||
<child>
|
||||
<padding>4</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkHButtonBox</class>
|
||||
<child_name>GnomeDialog:action_area</child_name>
|
||||
<name>dialog-action_area15</name>
|
||||
<layout_style>GTK_BUTTONBOX_SPREAD</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>button75</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>frame40</name>
|
||||
<border_width>2</border_width>
|
||||
<label>New style sheet info</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>hbox82</name>
|
||||
<border_width>4</border_width>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>4</spacing>
|
||||
|
||||
<widget>
|
||||
<class>GtkVBox</class>
|
||||
<name>vbox93</name>
|
||||
<homogeneous>True</homogeneous>
|
||||
<spacing>2</spacing>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>False</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkLabel</class>
|
||||
<name>label847669</name>
|
||||
<label>Name:</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>label847670</name>
|
||||
<label>Style sheet template:</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>
|
||||
|
||||
<widget>
|
||||
<class>GtkVBox</class>
|
||||
<name>vbox94</name>
|
||||
<homogeneous>True</homogeneous>
|
||||
<spacing>2</spacing>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<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>
|
||||
<class>GtkCombo</class>
|
||||
<name>template-combo</name>
|
||||
<value_in_list>False</value_in_list>
|
||||
<ok_if_empty>True</ok_if_empty>
|
||||
<case_sensitive>False</case_sensitive>
|
||||
<use_arrows>True</use_arrows>
|
||||
<use_arrows_always>False</use_arrows_always>
|
||||
<items></items>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>False</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkEntry</class>
|
||||
<child_name>GtkCombo:entry</child_name>
|
||||
<name>template-entry</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>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GnomeDialog</class>
|
||||
<name>Tax Information Dialog</name>
|
||||
@ -9284,135 +9101,4 @@ Click "Cancel" to abort the QIF import process.</text>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GtkWindow</class>
|
||||
<name>HTML Style Sheet Dialog</name>
|
||||
<title>HTML Style Sheets</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>
|
||||
|
||||
<widget>
|
||||
<class>GtkHBox</class>
|
||||
<name>hbox96</name>
|
||||
<border_width>5</border_width>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>2</spacing>
|
||||
|
||||
<widget>
|
||||
<class>GtkFrame</class>
|
||||
<name>frame39</name>
|
||||
<label>Style sheets</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>vbox92</name>
|
||||
<homogeneous>False</homogeneous>
|
||||
<spacing>0</spacing>
|
||||
|
||||
<widget>
|
||||
<class>GtkScrolledWindow</class>
|
||||
<name>scrolledwindow17</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>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkCList</class>
|
||||
<name>style_sheet_list</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>CList:title</child_name>
|
||||
<name>label847668</name>
|
||||
<label>label847668</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>GtkHBox</class>
|
||||
<name>hbox81</name>
|
||||
<homogeneous>True</homogeneous>
|
||||
<spacing>0</spacing>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>False</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
|
||||
<widget>
|
||||
<class>GtkButton</class>
|
||||
<name>new_button</name>
|
||||
<can_focus>True</can_focus>
|
||||
<label>New...</label>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GtkButton</class>
|
||||
<name>delete_button</name>
|
||||
<can_focus>True</can_focus>
|
||||
<label>Delete</label>
|
||||
<child>
|
||||
<padding>0</padding>
|
||||
<expand>True</expand>
|
||||
<fill>True</fill>
|
||||
</child>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<widget>
|
||||
<class>GtkFrame</class>
|
||||
<name>style_sheet_options</name>
|
||||
<label>Style sheet options</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>Placeholder</class>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
</GTK-Interface>
|
||||
|
Loading…
Reference in New Issue
Block a user