diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-04-13 15:42:41 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-04-13 15:42:41 +0000 |
commit | 965c2a91497fcf96c88c0029b18a6a1e9f5d46bd (patch) | |
tree | c2c66ae065df7dcc2afcd876fd21c0a3d3be786d /src/fileselection.c | |
parent | 58ed1748425dd97e62cad15f4a220ea5f8bb3e44 (diff) |
Finish off the indentation cleanup. Add new '--width' and '--height'
2003-04-13 Glynn Foster <glynn.foster@sun.com>
* src/calendar.c, src/entry.c, src/fileselection.c,
src/main.c, src/msg.c, src/progress.c, src/text.c,
src/tree.c, src/zenity.h: Finish off the indentation cleanup.
Add new '--width' and '--height' options to the general options.
Fix up the radio list view, so that we can now act like a radio
button group.
* TODO: Update
Diffstat (limited to 'src/fileselection.c')
-rw-r--r-- | src/fileselection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileselection.c b/src/fileselection.c index 6655f92..ec46f0c 100644 --- a/src/fileselection.c +++ b/src/fileselection.c @@ -57,6 +57,8 @@ void zenity_fileselection (ZenityData *data, ZenityFileData *file_data) else zenity_util_set_window_icon (dialog, ZENITY_IMAGE_FULLPATH ("zenity-file.png")); + gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height); + if (file_data->uri) gtk_file_selection_set_filename (GTK_FILE_SELECTION (dialog), file_data->uri); |