let the dialog collapse with the expander by making it not resizable.

2004-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c (save_dialog): let the dialog collapse
	with the expander by making it not resizable.
This commit is contained in:
Sven Neumann 2004-09-21 10:42:55 +00:00 committed by Sven Neumann
parent 03d49fc16d
commit 12bbec374b
8 changed files with 61 additions and 49 deletions

View File

@ -1,3 +1,8 @@
2004-09-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/jpeg.c (save_dialog): let the dialog collapse
with the expander by making it not resizable.
2004-09-21 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-close.c

View File

@ -1729,18 +1729,19 @@ save_dialog (void)
gboolean run;
dialog = gimp_dialog_new (_("Save as JPEG"), "jpeg",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox,
TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
table = gtk_table_new (1, 3, FALSE);

View File

@ -1729,18 +1729,19 @@ save_dialog (void)
gboolean run;
dialog = gimp_dialog_new (_("Save as JPEG"), "jpeg",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox,
TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
table = gtk_table_new (1, 3, FALSE);

View File

@ -1729,18 +1729,19 @@ save_dialog (void)
gboolean run;
dialog = gimp_dialog_new (_("Save as JPEG"), "jpeg",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox,
TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
table = gtk_table_new (1, 3, FALSE);

View File

@ -1729,18 +1729,19 @@ save_dialog (void)
gboolean run;
dialog = gimp_dialog_new (_("Save as JPEG"), "jpeg",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox,
TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
table = gtk_table_new (1, 3, FALSE);

View File

@ -1729,18 +1729,19 @@ save_dialog (void)
gboolean run;
dialog = gimp_dialog_new (_("Save as JPEG"), "jpeg",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox,
TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
table = gtk_table_new (1, 3, FALSE);

View File

@ -1729,18 +1729,19 @@ save_dialog (void)
gboolean run;
dialog = gimp_dialog_new (_("Save as JPEG"), "jpeg",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox,
TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
table = gtk_table_new (1, 3, FALSE);

View File

@ -1729,18 +1729,19 @@ save_dialog (void)
gboolean run;
dialog = gimp_dialog_new (_("Save as JPEG"), "jpeg",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
NULL, 0,
gimp_standard_help_func, "file-jpeg-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox,
TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
table = gtk_table_new (1, 3, FALSE);