diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-01-07 00:01:00 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-01-07 00:01:00 +0000 |
commit | a8c3006035a068069ed9199400472332db540bb5 (patch) | |
tree | 9c6a12c98e47205d810184f0c61bfb7f833c5b15 /src/progress.c | |
parent | d88a32f1f5418e97b5840087a21652f68ac938c8 (diff) |
Improve error handling... a lot.
2003-01-06 Glynn Foster <glynn.foster@sun.com>
* src/calendar.c, src/main.c, src/progress.c,
src/tree.c, src/zenity.h: Improve error handling...
a lot.
Diffstat (limited to 'src/progress.c')
-rw-r--r-- | src/progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progress.c b/src/progress.c index 2130591..a890059 100644 --- a/src/progress.c +++ b/src/progress.c @@ -74,7 +74,7 @@ int zenity_progress (ZenityData *data, ZenityProgressData *progress_data) giochannel = g_io_channel_unix_new (0); - if (progress_data->pulsate != TRUE) { + if (progress_data->pulsate != TRUE && progress_data->percentage > -1) { gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), progress_data->percentage/100.0); } else { |