On Tue, 03 Dec 2002 16:37:11 +0100
Thierry Vignaud <[EMAIL PROTECTED]> wrote:

> Thierry Vignaud <[EMAIL PROTECTED]> writes:
> 
> > > [simon@localhost simon]$ Can't call method "get_widget" on
> > > an undefined value at /usr/sbin/drakconf.real line 825. 
> > > [1]+  Done                    drakconf
> > 
> > i know, i know but i'm currently busy in porting our tools to gtk+-2
> > since gc has nearly done most widget support in perl-Gtk2.
> > once that done, i'll look at it.
> > it should work smoothly with :
> > 
> >    LC_ALL=C LC_MESSAGES=C LANG=C LANGUAGE=C mcc
> > 
> > it is known to work smoothly too with french locales :-)
> 
> oops :-(
> drakxtools-newt lacks latest ugtk.pm
> 
> this hopefully fix it :
> 
> --- /usr/lib/libDrakX/ugtk.pm 2002-11-18 16:25:38.000000000 +0100
> +++ /home/tv/cvs/mdk/gi/perl-install/ugtk.pm  2002-12-02 09:14:11.000000000 +0100
> @@ -319,7 +318,9 @@
>      my $widget = new Gtk::ItemFactory($type, $name, my $accel_group = new 
>Gtk::AccelGroup);
>      $widget->create_items(@menu_items);
>      $window->add_accel_group($accel_group); #$accel_group->attach($main_win);
> -    $widget->get_widget($name); # return menu bar
> +    my $menu = $widget->get_widget($name);
> +    $menu->{factory} = $widget;
> +    $menu; # return menu bar
>  }
>  
>  sub create_factory_menu { create_factory_menu_('Gtk::MenuBar', '<main>', @_) }
> 
After your patch:

Undefined subroutine &main::mandrake_release called at /usr/sbin/drakconf.real line 
460.
Undefined subroutine &main::mandrake_release called at /usr/sbin/drakconf.real line 
460.
END failed--call queue aborted.

something still missing :(

===============================================
 Juhani Kurki, Acte Oy
 Network Administrator
 Tel.     +358 (0)9 7527 6634
 Fax      +358 (0)9 7527 6659
 Mobile   +358 (0)40 522 1945
 Email    mailto:[EMAIL PROTECTED]
 Internet http://www.acte.fi
===============================================

Reply via email to