Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=14df195750fe31a04d835f233dcb02bd4de179a6

commit 14df195750fe31a04d835f233dcb02bd4de179a6
Author: Michel Hermier <[EMAIL PROTECTED]>
Date:   Sat Nov 24 13:38:07 2007 +0100

setup/asklang
* We have twice more items, instead of two more item.

diff --git a/src/plugins/asklang.c b/src/plugins/asklang.c
index 70e012f..a6f1f88 100644
--- a/src/plugins/asklang.c
+++ b/src/plugins/asklang.c
@@ -157,7 +157,7 @@ int run(GList **config)
#ifdef GTK
tv = create_asklang_view();
gtk_container_add(GTK_CONTAINER(frame), tv);
-       while (i <= LANGSNUM + 2) {
+       while (i <= LANGSNUM * 2) {
gtk_list_store_append(GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(tv))),
 &iter);
gtk_list_store_set(GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(tv))), 
&iter,
0, langs[i], 1, langs[i+1], -1);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to