summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdialog.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2004-03-02 20:09:20 +0000
committerJonathan Blandford <jrb@src.gnome.org>2004-03-02 20:09:20 +0000
commit87a6680f33e2342f576d71a786ad4a4a79a4e0ca (patch)
tree519ca459a509717b6ce908b971b199786575ad7d /gtk/gtkfilechooserdialog.c
parent9133c58b8d91b6e58d81e7d285c310202ef91ab7 (diff)
downloadgdk-pixbuf-87a6680f33e2342f576d71a786ad4a4a79a4e0ca.tar.gz
get the logic correct. This will fix sizing on save dialogs.
Tue Mar 2 15:03:15 2004 Jonathan Blandford <jrb@redhat.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_get_resizable_hints): get the logic correct. This will fix sizing on save dialogs. (save_widgets_create): set_mnemonic_widget.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r--gtk/gtkfilechooserdialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index d40664eb4..8ba2804ad 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -227,6 +227,7 @@ file_chooser_widget_default_size_changed (GtkWidget *widget,
_gtk_file_chooser_embed_get_resizable_hints (GTK_FILE_CHOOSER_EMBED (priv->widget),
&resize_horizontally,
&resize_vertically);
+
/* Only store the size if we can resize in that direction. */
if (resize_horizontally)
priv->default_width = width;