James, Benjamin,

I replaced the gtk.ProgressBar with a running-progress-text.

It works, provided I use the Benjamin's method of using
"gtk.gsk.window_process_all_updates()" to have "synchronous" GUI updates.


Thanks and Regards,
Ajay


On Wed, Aug 22, 2012 at 5:55 AM, James Cameron <[email protected]> wrote:

> On Tue, Aug 21, 2012 at 03:44:13PM +0530, Ajay Garg wrote:
> > I am using this to show the upload-progress of a 4 GB file, using
> > gtk.ProgressBar().
>
> Is your upload socket registered with the main event loop as an event
> source?
>
> > The file takes about 15 minutes to upload, and I only see the
> > progress bar (fraction = 1) right at the end; which means that only
> > after the uploading is done, and there is nothing else to be done,
> > does the GUI update takes place.
>
> This is wrong, and it need not be this way.
>
> --
> James Cameron
> http://quozl.linux.org.au/
> _______________________________________________
> Sugar-devel mailing list
> [email protected]
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to