On Tuesday 12 November 2002 10:17 pm, francesco.melo wrote:
> when i try to start drakconf it returned this message and close
>
>
> Wed Nov 13 04:15:23 2002 Gtk-WARNING **: invalid cast from (NULL)
> pointe r to `GtkObject' at /usr/sbin/drakconf line 850.
> Wed Nov 13 04:15:23 2002 Gtk-WARNING **: invalid cast from (NULL)
> pointe r to `GtkObject' at /usr/sbin/drakconf line 851.
> Can't call method "set_active" on an undefined value at
> /usr/sbin/drakco nf line 423.
>
> some help?
> some tips?
>
> thanks
> francesco
Try this but I can't reproduce your error. Let me know if it works for you.
diff /usr/sbin/drakconf /usr/sbin/drakconf.old
850,851c850,851
< $log_check_box =
$item_factory->get_widget("<main>".("/Options").("/Display Logs"));
< $embedded_check_box =
$item_factory->get_widget("<main>".("/Options").("/Embedded Mode"));
---
> $log_check_box =
$item_factory->get_widget("<main>".N("/Options").N("/Display Logs"));
> $embedded_check_box =
$item_factory->get_widget("<main>".N("/Options").N("/Embedded Mode"));