Commit dd6fabaa authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

New file. Moved a bunch of commands here, and move to be moved.

1999-09-17  Miguel de Icaza  <miguel@gnu.org>

	* src/workbook-cmd.c: New file.  Moved a bunch of commands here,
	and move to be moved.
	Implemented the set money format;   Implemented the percent formt.

1999-09-16  Miguel de Icaza  <miguel@gnu.org>

	* src/sheet.c (sheet_update_controls, cell_is_homogeneous):
	Include checks for font name and font size.

	* src/dialogs/dialog-printer-setup.c (dialog_printer_setup): Add
	call to gnome_dialog_set_parent here.

	* src/tools.h: New file, moved here all the tools declarations.
	Please, try to keep indentation for public functions as the rest
	of the Gnumeric ones.

	* src/workbook.c: Enable comands Format/Column, Format/Row and
	Format/Sheet.
	(create_format_toolbar): Add font selector toolbar widget.
	(change_font_in_selection_cmd): New routine.  Applies a font to a
	selection in the workbook.
	(workbook_feedback_set): Upgraded feedback interface

	* src/sheet-view.c (sheet_view_row_size_changed): There is no need
	to call gnumeric_compute_visible_ranges, the sheet_row_set_height
	code does this.

	* src/item-bar.c (item_bar_event): Support also row-autosizing.

	* src/sheet.c (sheet_col_size_fit): Add this routine.
	(sheet_col_set_internal_width): New function.  Similar to its
	counterpart

	* src/dialogs/dialog-cell-format.c (dialog_cell_format): Change
	call to g_list_free for sheet_cell_list_free.

	* src/selection.c (sheet_cell_list_free): New routine.

	* src/workbook.c: Reworked toolbars again.  We now only have 2
	toolbars instead of 8 or so.

	* src/sheet.h (SHEET_MAX_ROWS): New excel supports 64k rows, mimic this.

	* src/widgets/gnumeric-toolbar.c: Added new file.  Handles the
	Gnumeric toolbars.
parent ae3caa2a
1999-09-17 Miguel de Icaza <miguel@gnu.org>
* src/workbook-cmd.c: New file. Moved a bunch of commands here,
and move to be moved.
Implemented the set money format; Implemented the percent formt.
1999-09-16 Miguel de Icaza <miguel@gnu.org>
* src/sheet.c (sheet_update_controls, cell_is_homogeneous):
Include checks for font name and font size.
* src/dialogs/dialog-printer-setup.c (dialog_printer_setup): Add
call to gnome_dialog_set_parent here.
* src/tools.h: New file, moved here all the tools declarations.
Please, try to keep indentation for public functions as the rest
of the Gnumeric ones.
* src/workbook.c: Enable comands Format/Column, Format/Row and
Format/Sheet.
(create_format_toolbar): Add font selector toolbar widget.
(change_font_in_selection_cmd): New routine. Applies a font to a
selection in the workbook.
(workbook_feedback_set): Upgraded feedback interface
* src/sheet-view.c (sheet_view_row_size_changed): There is no need
to call gnumeric_compute_visible_ranges, the sheet_row_set_height
code does this.
* src/item-bar.c (item_bar_event): Support also row-autosizing.
* src/sheet.c (sheet_col_size_fit): Add this routine.
(sheet_col_set_internal_width): New function. Similar to its
counterpart
* src/dialogs/dialog-cell-format.c (dialog_cell_format): Change
call to g_list_free for sheet_cell_list_free.
* src/selection.c (sheet_cell_list_free): New routine.
* src/workbook.c: Reworked toolbars again. We now only have 2
toolbars instead of 8 or so.
* src/sheet.h (SHEET_MAX_ROWS): New excel supports 64k rows, mimic this.
* src/widgets/gnumeric-toolbar.c: Added new file. Handles the
Gnumeric toolbars.
1999-09-17 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_get_unit_distance,
......
1999-09-17 Miguel de Icaza <miguel@gnu.org>
* src/workbook-cmd.c: New file. Moved a bunch of commands here,
and move to be moved.
Implemented the set money format; Implemented the percent formt.
1999-09-16 Miguel de Icaza <miguel@gnu.org>
* src/sheet.c (sheet_update_controls, cell_is_homogeneous):
Include checks for font name and font size.
* src/dialogs/dialog-printer-setup.c (dialog_printer_setup): Add
call to gnome_dialog_set_parent here.
* src/tools.h: New file, moved here all the tools declarations.
Please, try to keep indentation for public functions as the rest
of the Gnumeric ones.
* src/workbook.c: Enable comands Format/Column, Format/Row and
Format/Sheet.
(create_format_toolbar): Add font selector toolbar widget.
(change_font_in_selection_cmd): New routine. Applies a font to a
selection in the workbook.
(workbook_feedback_set): Upgraded feedback interface
* src/sheet-view.c (sheet_view_row_size_changed): There is no need
to call gnumeric_compute_visible_ranges, the sheet_row_set_height
code does this.
* src/item-bar.c (item_bar_event): Support also row-autosizing.
* src/sheet.c (sheet_col_size_fit): Add this routine.
(sheet_col_set_internal_width): New function. Similar to its
counterpart
* src/dialogs/dialog-cell-format.c (dialog_cell_format): Change
call to g_list_free for sheet_cell_list_free.
* src/selection.c (sheet_cell_list_free): New routine.
* src/workbook.c: Reworked toolbars again. We now only have 2
toolbars instead of 8 or so.
* src/sheet.h (SHEET_MAX_ROWS): New excel supports 64k rows, mimic this.
* src/widgets/gnumeric-toolbar.c: Added new file. Handles the
Gnumeric toolbars.
1999-09-17 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_get_unit_distance,
......
......@@ -7,14 +7,9 @@
# gnumeric:
# the plain spreadsheet
#
# gnumeric-corba:
# spreadsheet with CORBA additions
#
# gnumeric-bonobo:
# spreadsheet with CORBA and Bonobo additions
#
# Note that gnumeric/gnumeric-corba and gnumeric-bonobo are mutually
# exclusive.
#
SUBDIRS = dialogs functions widgets
......@@ -76,6 +71,8 @@ GNUMERIC_BASE_SOURCES = \
func.h \
format.c \
format.h \
global-gnome-font.c \
global-gnome-font.h \
goal-seek.c \
goal-seek.h \
gnumeric-sheet.c \
......@@ -150,6 +147,8 @@ GNUMERIC_BASE_SOURCES = \
value.h \
workbook.c \
workbook.h \
workbook-cmd-format.c \
workbook-cmd-format.h \
xml-io.c \
xml-io.h
......
......@@ -31,28 +31,37 @@ libdialogs_a_SOURCES = \
dialog-printer.c \
dialog-printer.h \
dialog-printer-setup.c \
dialog-summary.c \
dialog-simple-input.c \
dialog-solver.c \
dialog-summary.c \
dialog-zoom.c \
dialogs.h
dialogs.h \
tools.h
gladedir = $(datadir)/gnumeric/glade
glade_DATA = \
col-width.glade \
font-sel.glade \
hf-config.glade \
import.glade \
names.glade \
print.glade \
summary.glade \
names.glade
row-height.glade \
sheet-rename.glade \
summary.glade
glade_msgs = \
col-width.glade.h \
font-sel.glade.h \
hf-config.glade.h \
import.glade.h \
print.glade.h \
names.glade.h \
print.glade.h \
row-height.glade.h \
sheet-rename.glade.h \
summary.glade.h
EXTRA_DIST = $(glade_DATA) $(glade_msgs)
<?xml version="1.0"?>
<GTK-Interface>
<project>
<name>row-height</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>
<use_widget_names>False</use_widget_names>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>True</output_build_files>
<backup_source_files>True</backup_source_files>
<main_source_file>interface.c</main_source_file>
<main_header_file>interface.h</main_header_file>
<handler_source_file>callbacks.c</handler_source_file>
<handler_header_file>callbacks.h</handler_header_file>
<support_source_file>support.c</support_source_file>
<support_header_file>support.h</support_header_file>
<output_translatable_strings>True</output_translatable_strings>
<translatable_strings_file></translatable_strings_file>
</project>
<widget>
<class>GnomeDialog</class>
<name>dialog1</name>
<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-vbox1</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox1</name>
<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>_Column width:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<default_focus_target>entry1</default_focus_target>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>entry1</name>
<width>60</width>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>3</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
<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>
</widget>
</GTK-Interface>
......@@ -12,23 +12,23 @@
#include "gnumeric-util.h"
#include "dialogs.h"
#include "utils.h"
static void dialog_correlation_tool(Workbook *wb, Sheet *sheet);
static void dialog_covariance_tool(Workbook *wb, Sheet *sheet);
static void dialog_descriptive_stat_tool(Workbook *wb, Sheet *sheet);
static void dialog_ztest_tool(Workbook *wb, Sheet *sheet);
static void dialog_ranking_tool(Workbook *wb, Sheet *sheet);
static void dialog_sampling_tool(Workbook *wb, Sheet *sheet);
static void dialog_ttest_paired_tool(Workbook *wb, Sheet *sheet);
static void dialog_ttest_eq_tool(Workbook *wb, Sheet *sheet);
static void dialog_ttest_neq_tool(Workbook *wb, Sheet *sheet);
static void dialog_ftest_tool(Workbook *wb, Sheet *sheet);
static void dialog_average_tool(Workbook *wb, Sheet *sheet);
static void dialog_random_tool(Workbook *wb, Sheet *sheet);
static void dialog_regression_tool(Workbook *wb, Sheet *sheet);
static void dialog_anova_single_factor_tool(Workbook *wb, Sheet *sheet);
#include "tools.h"
static void dialog_correlation_tool (Workbook *wb, Sheet *sheet);
static void dialog_covariance_tool (Workbook *wb, Sheet *sheet);
static void dialog_descriptive_stat_tool (Workbook *wb, Sheet *sheet);
static void dialog_ztest_tool (Workbook *wb, Sheet *sheet);
static void dialog_ranking_tool (Workbook *wb, Sheet *sheet);
static void dialog_sampling_tool (Workbook *wb, Sheet *sheet);
static void dialog_ttest_paired_tool (Workbook *wb, Sheet *sheet);
static void dialog_ttest_eq_tool (Workbook *wb, Sheet *sheet);
static void dialog_ttest_neq_tool (Workbook *wb, Sheet *sheet);
static void dialog_ftest_tool (Workbook *wb, Sheet *sheet);
static void dialog_average_tool (Workbook *wb, Sheet *sheet);
static void dialog_random_tool (Workbook *wb, Sheet *sheet);
static void dialog_regression_tool (Workbook *wb, Sheet *sheet);
static void dialog_anova_single_factor_tool (Workbook *wb, Sheet *sheet);
static void dialog_anova_two_factor_without_r_tool(Workbook *wb, Sheet *sheet);
......
......@@ -1055,5 +1055,5 @@ dialog_cell_format (Workbook *wb, Sheet *sheet)
gtk_main ();
cell_format_prop_win = NULL;
g_list_free (cells);
sheet_cell_list_free (cells);
}
......@@ -936,7 +936,7 @@ dialog_print_info_destroy (dialog_print_info_t *dpi)
}
void
dialog_printer_setup (Sheet *sheet)
dialog_printer_setup (Workbook *wb, Sheet *sheet)
{
dialog_print_info_t *dpi;
int v;
......@@ -945,8 +945,10 @@ dialog_printer_setup (Sheet *sheet)
if (!dpi)
return;
gnome_dialog_set_parent (GNOME_DIALOG (dpi->dialog), GTK_WINDOW (wb->toplevel));
v = gnome_dialog_run (GNOME_DIALOG (dpi->dialog));
if (v == 0) {
fetch_settings (dpi);
print_info_save (dpi->pi);
......
/*
* dialog-simple-input.c: Implements various dialogs for simple
* input values
*
* Author:
* Miguel de Icaza (miguel@gnu.org)
*/
#include <config.h>
#include <math.h>
#include <gnome.h>
#include <glade/glade.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
gboolean
dialog_get_number (Workbook *wb, const char *glade_file, double *init_and_return)
{
GladeXML *gui;
GnomeDialog *dialog;
GtkWidget *entry;
char *f;
f = g_concat_dir_and_file (GNUMERIC_GLADEDIR, glade_file);
gui = glade_xml_new (f, NULL);
g_free (f);
if (!gui)
return FALSE;
dialog = GNOME_DIALOG (glade_xml_get_widget (gui, "dialog1"));
if (dialog == NULL){
g_warning ("Can not find the `dialog1' widget in %s", glade_file);
return FALSE;
}
entry = glade_xml_get_widget (gui, "entry1");
if (*init_and_return != 0.0){
char buffer [80];
sprintf (buffer, "%g", *init_and_return);
gtk_entry_set_text (GTK_ENTRY (entry), buffer);
}
gnome_dialog_set_parent (dialog, GTK_WINDOW (wb->toplevel));
switch (gnome_dialog_run (dialog)){
case 1: /* cancel */
case -1: /* window manager close */
return FALSE;
default:
*init_and_return = atof (gtk_entry_get_text (GTK_ENTRY (entry)));
}
gtk_object_destroy (GTK_OBJECT (gui));
return TRUE;
}
char *
dialog_get_sheet_name (Workbook *wb, const char *current)
{
GladeXML *gui;
GnomeDialog *dialog;
GtkWidget *entry;
char *str;
gui = glade_xml_new (GNUMERIC_GLADEDIR "/sheet-rename.glade", NULL);
if (!gui)
return NULL;
dialog = GNOME_DIALOG (glade_xml_get_widget (gui, "dialog"));
if (dialog == NULL){
g_warning ("Can not find the `dialog' widget in sheet-rename.glade");
return NULL;
}
entry = glade_xml_get_widget (gui, "entry");
gtk_entry_set_text (GTK_ENTRY (entry), current);
gnome_dialog_set_parent (dialog, GTK_WINDOW (wb->toplevel));
switch (gnome_dialog_run (dialog)){
case 1: /* cancel */
case -1: /* window manager close */
return NULL;
default:
str = g_strdup (gtk_entry_get_text (GTK_ENTRY (entry)));
}
gtk_object_destroy (GTK_OBJECT (gui));
return str;
}
......@@ -77,76 +77,29 @@ typedef struct {
gboolean labels_flag;
} data_analysis_output_t;
void dialog_goto_cell (Workbook *wb);
void dialog_cell_format (Workbook *wb, Sheet *sheet);
int dialog_paste_special (Workbook *wb);
void dialog_insert_cells (Workbook *wb, Sheet *sheet);
void dialog_delete_cells (Workbook *wb, Sheet *sheet);
void dialog_zoom (Workbook *wb, Sheet *sheet);
char *dialog_query_load_file (Workbook *wb);
void dialog_about (Workbook *wb);
void dialog_define_names (Workbook *wb);
void dialog_cell_comment (Workbook *wb, Cell *cell);
void dialog_cell_sort (Workbook *wb, Sheet *sheet);
char *dialog_function_wizard (Workbook *wb, FunctionDefinition *fd);
void dialog_goal_seek (Workbook *wb, Sheet *sheet);
void dialog_solver (Workbook *wb, Sheet *sheet);
void dialog_printer_setup (Sheet *sheet);
void dialog_summary_update (GtkWidget *w, SummaryInfo *sin);
void dialog_goto_cell (Workbook *wb);
void dialog_cell_format (Workbook *wb, Sheet *sheet);
int dialog_paste_special (Workbook *wb);
void dialog_insert_cells (Workbook *wb, Sheet *sheet);
void dialog_delete_cells (Workbook *wb, Sheet *sheet);
void dialog_zoom (Workbook *wb, Sheet *sheet);
char *dialog_query_load_file (Workbook *wb);
void dialog_about (Workbook *wb);
void dialog_define_names (Workbook *wb);
void dialog_cell_comment (Workbook *wb, Cell *cell);
void dialog_cell_sort (Workbook *wb, Sheet *sheet);
char *dialog_function_wizard (Workbook *wb, FunctionDefinition *fd);
void dialog_goal_seek (Workbook *wb, Sheet *sheet);
void dialog_solver (Workbook *wb, Sheet *sheet);
void dialog_printer_setup (Workbook *wb, Sheet *sheet);
void dialog_summary_update (GtkWidget *w, SummaryInfo *sin);
void dialog_data_analysis (Workbook *wb, Sheet *sheet);
char *dialog_get_sheet_name (Workbook *wb, const char *name);
gboolean dialog_get_number (Workbook *wb,
const char *glade_file,
double *init_and_return_value);
FunctionDefinition *dialog_function_select (Workbook *wb);
void dialog_data_analysis (Workbook *wb, Sheet *sheet);
int correlation_tool (Workbook *wb, Sheet *current_sheet,
Range *input_range, int columns_flag,
data_analysis_output_t *dao);
int covariance_tool (Workbook *wb, Sheet *current_sheet,
Range *input_range, int columns_flag,
data_analysis_output_t *dao);
int descriptive_stat_tool (Workbook *wb, Sheet *current_sheet,
Range *input_range, int columns_flag,
descriptive_stat_tool_t *ds,
data_analysis_output_t *dao);
int sampling_tool (Workbook *wb, Sheet *sheet, Range *input_range,
gboolean periodic_flag, int size,
data_analysis_output_t *dao);
int ftest_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t alpha,
data_analysis_output_t *dao);
int regression_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t alpha,
data_analysis_output_t *dao);
int ttest_paired_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t mean_diff, float_t alpha,
data_analysis_output_t *dao);
int ttest_eq_var_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t mean_diff, float_t alpha,
data_analysis_output_t *dao);
int ttest_neq_var_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t mean_diff, float_t alpha,
data_analysis_output_t *dao);
int ztest_tool (Workbook *wb, Sheet *sheet, Range *range_input1,
Range *range_input2, float_t mean_diff,
float_t var1, float_t var2, float_t alpha,
data_analysis_output_t *dao);
int random_tool (Workbook *wb, Sheet *sheet, int vars, int count,
random_distribution_t distribution,
random_tool_t *param, data_analysis_output_t *dao);
int average_tool (Workbook *wb, Sheet *sheet, Range *range, int interval,
int std_error_flag, data_analysis_output_t *dao);
int ranking_tool (Workbook *wb, Sheet *sheet, Range *input_range,
int columns_flag, data_analysis_output_t *dao);
int anova_single_factor_tool (Workbook *wb, Sheet *sheet, Range *range,
int columns_flag, float_t alpha,
data_analysis_output_t *dao);
int anova_two_factor_without_r_tool (Workbook *wb, Sheet *sheet, Range *range,
float_t alpha,
data_analysis_output_t *dao);
GtkWidget *hbox_pack_label_and_entry(char *str, char *default_str,
int entry_len, GtkWidget *vbox);
GList *add_strings_to_glist (const char *strs[]);
#endif /* GNUMERIC_DIALOGS_H */
<?xml version="1.0"?>
<GTK-Interface>
<project>
<name>row-height</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>
<use_widget_names>False</use_widget_names>
<output_main_file>False</output_main_file>
<output_support_files>False</output_support_files>
<output_build_files>True</output_build_files>
<backup_source_files>True</backup_source_files>
<main_source_file>interface.c</main_source_file>
<main_header_file>interface.h</main_header_file>
<handler_source_file>callbacks.c</handler_source_file>
<handler_header_file>callbacks.h</handler_header_file>
<support_source_file>support.c</support_source_file>
<support_header_file>support.h</support_header_file>
<output_translatable_strings>True</output_translatable_strings>
<translatable_strings_file></translatable_strings_file>
</project>
<widget>
<class>GnomeDialog</class>
<name>dialog1</name>
<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-vbox1</name>
<homogeneous>False</homogeneous>
<spacing>8</spacing>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<widget>
<class>GtkHBox</class>
<name>hbox1</name>
<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>_Row height:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<default_focus_target>entry1</default_focus_target>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
</widget>
<widget>
<class>GtkEntry</class>
<name>entry1</name>
<width>60</width>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
<child>
<padding>3</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
<widget>
<class>GtkHButtonBox</class>
<child_name>GnomeDialog:action_area</child_name>
<name>dialog-action_area1