Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm/.git;a=commitdiff;h=a47b1b478ead48238d6a49b3569c433beb126777

commit a47b1b478ead48238d6a49b3569c433beb126777
Author: Priyank <[EMAIL PROTECTED]>
Date:   Tue Jul 24 21:33:18 2007 +0530

gfpm-interface: refresh the ui while loading groups

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index fb4be4f..650c0b5 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -326,11 +326,11 @@ gfpm_load_groups_tvw (const char *repo_name)
model = gtk_tree_view_get_model (GTK_TREE_VIEW(gfpm_groups_tvw));
gtk_list_store_clear (GTK_LIST_STORE(model));

-       while (gtk_events_pending())
-               gtk_main_iteration ();

for (l=pacman_db_getgrpcache(db); l; l=pacman_list_next(l))
{
+               while (gtk_events_pending())
+                       gtk_main_iteration ();
asprintf (&temp, _("Loading groups ... [%s]"), (char*)pacman_list_getdata(l));
gfpm_update_status (temp);
while (gtk_events_pending())
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to