timeout function not called

2007-10-02 Thread tsangv
I'm still muddling my way through my first GTK application (and I'm a relative newbie on all software matters). I have the following in one of my callbacks: timer = g_timout_add(50, (GSourceFunc) progress_update, (gpointer)progressbar); pid = fork( ); if (pid == 0) { growPart ( );

Re: timeout function not called

2007-10-02 Thread tsangv
Thanks, I have tried to add gtk_main_iteration in various places but it still won't work. Also I just want the bar to pulse while growPart is running - just to show something is happening. After grow Part is finished, I want to run the ext2resize utility and have a progress bar pulsing

Re: Refreshing GUI to show changes?

2007-09-27 Thread tsangv
Thanks, looks like that works. lapnect [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/24/2007 05:30 PM To cc Subject Re: Refreshing GUI to show changes? On Mon, 24 Sep 2007 17:17:20 -0400 [EMAIL PROTECTED] wrote: Once it is finished executing I want the label to now display

Refreshing GUI to show changes?

2007-09-24 Thread tsangv
Please excuse me - I am a software / Gtk newbie I know this is probably a really simple question, but I seem to have difficulties to get the contents of a label to change. The label initially is set to Running filesystem check and then I call e2fsck from my application. Once it is finished