Re: kconfig (gconf): GTK tool released, please test...

Roman Zippel (zippel@linux-m68k.org)
Sun, 10 Nov 2002 15:55:08 +0100 (CET)


Hi,

On Sun, 10 Nov 2002, Romain Lievin wrote:

> I worked on a kernel configuration tool similar to Qconf but written with
> GTK+... You will find it at <http://tilp.info/perso/gconfig.html>.

I needed the patch below to get it working at all. sym_get_choice_value()
might return a NULL pointer. The choice value is only updated if the
choice symbol is yes and even then it can be NULL, if no choice value is
visible.
I couldn't select 'Adaptec AIC7xxx support'. Choice symbols are special
tristate symbols, beside having the tristate value it also points to a
choice value.
The autoexpand mode is very annoying, even after changing a single symbol
everything is expanded again. Keyboard support is basically nonexistent.

Anyway, it looks interesting, but still needs quite some work. :)

bye, Roman

--- src/callbacks.c.org 2002-11-10 15:12:12.000000000 +0100
+++ src/callbacks.c 2002-11-10 15:11:59.000000000 +0100
@@ -648,7 +648,8 @@
def_menu = child;
}

- row[5] = g_strdup(menu_get_prompt(def_menu));
+ if (def_menu)
+ row[5] = g_strdup(menu_get_prompt(def_menu));
}

type = sym_get_type(sym);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/