summaryrefslogtreecommitdiff
path: root/src/fileselection.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2004-03-19 02:28:30 +0000
committerGlynn Foster <gman@src.gnome.org>2004-03-19 02:28:30 +0000
commitb43bbda2e247e72782cf116003d308d21346935f (patch)
tree4f7b4d641e6566c2f600497fa6ec7c1063d3f99a /src/fileselection.c
parentf4e2c43e6ade2e09fd93ecb559ef432b3c85ea13 (diff)
Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the new
2004-03-19 Glynn Foster <glynn.foster@sun.com> * src/calendar.c, src/entry.c, src/fileselection.c, src/msg.c, src/progress.c, src/text.c, src/tree.c: Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the new file chooser resizes nicely. Sanitize the default setting of the other widgets. * configure.in, src/util.c: Lose gconf dependancy since we don't currently use it, although arguably we should to detect which help browser we're supposed to run :/ * THANKS, src/about.c: Add Darren to the list.
Diffstat (limited to 'src/fileselection.c')
-rw-r--r--src/fileselection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fileselection.c b/src/fileselection.c
index 955226d..6a9b018 100644
--- a/src/fileselection.c
+++ b/src/fileselection.c
@@ -54,8 +54,6 @@ 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) {
dir = g_path_get_dirname (file_data->uri);
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), dir);
@@ -107,6 +105,7 @@ zenity_fileselection_dialog_response (GtkWidget *widget, int response, gpointer
default:
/* Esc dialog */
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC);
+ gtk_main_quit ();
break;
}
}