diff options
author | Glynn Foster <glynn.foster@sun.com> | 2004-03-19 02:28:30 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2004-03-19 02:28:30 +0000 |
commit | b43bbda2e247e72782cf116003d308d21346935f (patch) | |
tree | 4f7b4d641e6566c2f600497fa6ec7c1063d3f99a /src/entry.c | |
parent | Updated the Greek translation (diff) | |
download | zenity-b43bbda2e247e72782cf116003d308d21346935f.tar.gz zenity-b43bbda2e247e72782cf116003d308d21346935f.tar.bz2 zenity-b43bbda2e247e72782cf116003d308d21346935f.zip |
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/entry.c')
-rw-r--r-- | src/entry.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entry.c b/src/entry.c index c2570e0a..bf1811bd 100644 --- a/src/entry.c +++ b/src/entry.c @@ -59,7 +59,8 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data) else zenity_util_set_window_icon (dialog, ZENITY_IMAGE_FULLPATH ("zenity-entry.png")); - gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height); + if (data->width > -1 || data->height > -1) + gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height); text = glade_xml_get_widget (glade_dialog, "zenity_entry_text"); |