summaryrefslogtreecommitdiff
path: root/src/text.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/text.c
parent58ed1748425dd97e62cad15f4a220ea5f8bb3e44 (diff)
downloadzenity-965c2a91497fcf96c88c0029b18a6a1e9f5d46bd.tar.gz
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/text.c')
-rw-r--r--src/text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/text.c b/src/text.c
index 8727986..af655e5 100644
--- a/src/text.c
+++ b/src/text.c
@@ -60,6 +60,7 @@ zenity_text (ZenityData *data, ZenityTextData *text_data)
else
zenity_util_set_window_icon (dialog, ZENITY_IMAGE_FULLPATH ("zenity-text.png"));
+ gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
text_buffer = gtk_text_buffer_new (NULL);