summaryrefslogtreecommitdiff
path: root/src/progress.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/progress.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/progress.c')
-rw-r--r--src/progress.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/progress.c b/src/progress.c
index 41153bc..d7ae35e 100644
--- a/src/progress.c
+++ b/src/progress.c
@@ -61,9 +61,10 @@ zenity_progress (ZenityData *data, ZenityProgressData *progress_data)
if (data->window_icon)
zenity_util_set_window_icon (dialog, data->window_icon);
- else {
+ else
zenity_util_set_window_icon (dialog, ZENITY_IMAGE_FULLPATH ("zenity-progress.png"));
- }
+
+ gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
text = glade_xml_get_widget (glade_dialog, "zenity_progress_text");
gtk_label_set_text (GTK_LABEL (text), progress_data->dialog_text);