mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
set the default value, spotted by Morten Welinder.
Tue Mar 2 15:19:52 2004 Jonathan Blandford <jrb@redhat.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_get_resizable_hints): set the default value, spotted by Morten Welinder.
This commit is contained in:
parent
87a6680f33
commit
e8c5b64836
@ -1,3 +1,9 @@
|
||||
Tue Mar 2 15:19:52 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
(gtk_file_chooser_default_get_resizable_hints): set the default
|
||||
value, spotted by Morten Welinder.
|
||||
|
||||
Tue Mar 2 15:03:15 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 2 15:19:52 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
(gtk_file_chooser_default_get_resizable_hints): set the default
|
||||
value, spotted by Morten Welinder.
|
||||
|
||||
Tue Mar 2 15:03:15 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 2 15:19:52 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
(gtk_file_chooser_default_get_resizable_hints): set the default
|
||||
value, spotted by Morten Welinder.
|
||||
|
||||
Tue Mar 2 15:03:15 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 2 15:19:52 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
(gtk_file_chooser_default_get_resizable_hints): set the default
|
||||
value, spotted by Morten Welinder.
|
||||
|
||||
Tue Mar 2 15:03:15 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 2 15:19:52 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
(gtk_file_chooser_default_get_resizable_hints): set the default
|
||||
value, spotted by Morten Welinder.
|
||||
|
||||
Tue Mar 2 15:03:15 2004 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c
|
||||
|
@ -3362,16 +3362,19 @@ gtk_file_chooser_default_get_resizable_hints (GtkFileChooserEmbed *chooser_embed
|
||||
|
||||
g_return_if_fail (resize_horizontally != NULL);
|
||||
g_return_if_fail (resize_vertically != NULL);
|
||||
|
||||
|
||||
impl = GTK_FILE_CHOOSER_DEFAULT (chooser_embed);
|
||||
|
||||
*resize_horizontally = TRUE;
|
||||
*resize_vertically = TRUE;
|
||||
|
||||
if (impl->action == GTK_FILE_CHOOSER_ACTION_SAVE ||
|
||||
impl->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER)
|
||||
{
|
||||
if (! gtk_expander_get_expanded (GTK_EXPANDER (impl->save_expander)))
|
||||
{
|
||||
*resize_vertically = FALSE;
|
||||
*resize_horizontally = FALSE;
|
||||
*resize_vertically = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user