summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-04-13 15:42:41 +0000
committerGlynn Foster <gman@src.gnome.org>2003-04-13 15:42:41 +0000
commit965c2a91497fcf96c88c0029b18a6a1e9f5d46bd (patch)
treec2c66ae065df7dcc2afcd876fd21c0a3d3be786d /src/entry.c
parent58ed1748425dd97e62cad15f4a220ea5f8bb3e44 (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/entry.c')
-rw-r--r--src/entry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/entry.c b/src/entry.c
index 0ccd4c0..a46fd61 100644
--- a/src/entry.c
+++ b/src/entry.c
@@ -58,7 +58,9 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data)
zenity_util_set_window_icon (dialog, data->window_icon);
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);
+
text = glade_xml_get_widget (glade_dialog, "zenity_entry_text");
if (entry_data->dialog_text)