gtk_progress_set_activity_mode(GTK_PROGRESS(browser->progressBar), FALSE);
void progress_change_cb   (GtkMozEmbed *embed, gint cur, gint max,			   MinimoBrowser *browser){  // avoid those pesky divide by zero errors  if (max < 1)  {    gtk_progress_set_activity_mode(GTK_PROGRESS(browser->progressBar), FALSE);    browser->loadPercent = 0;    browser->bytesLoaded = cur;    browser->maxBytesLoaded = 0;    update_status_bar_text(browser);  }  else  {    browser->bytesLoaded = cur;    browser->maxBytesLoaded = max;    if (cur > max)      browser->loadPercent = 100;    else      browser->loadPercent = (cur * 100) / max;    update_status_bar_text(browser);    gtk_progress_set_percentage(GTK_PROGRESS(browser->progressBar), browser->loadPercent / 100.0);  }  }