Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=5cbdcb6b46d6cc9a18c7c2a95dcc3ba696c051ec
commit 5cbdcb6b46d6cc9a18c7c2a95dcc3ba696c051ec Author: Elentir <elen...@mailoo.org> Date: Fri Jan 22 00:45:36 2010 +0100 select: set progressbar text before prepare_pkgdb() diff --git a/src/plugins/select.c b/src/plugins/select.c index 8a2d61f..0f0747e 100644 --- a/src/plugins/select.c +++ b/src/plugins/select.c @@ -1125,6 +1125,7 @@ int prerun(GList **config) syncs = g_list_append(syncs, i); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(progress), 0.3); + gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress), _("Udpate and load database")); while (gtk_events_pending()) gtk_main_iteration (); @@ -1133,8 +1134,7 @@ int prerun(GList **config) return(-1); } - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(progress), 0.5); - gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress), _("Udpate and load database")); + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(progress), 0.5); while (gtk_events_pending()) gtk_main_iteration (); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git