Commit 12bbec37 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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.
parent 03d49fc1
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
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment