Re: Short comments on porting
- From: Carlos Morgado <chbm chbm nu>
- To: Balsa List <balsa-list gnome org>
- Subject: Re: Short comments on porting
- Date: Mon, 18 Mar 2002 18:11:21 +0000
On 2002.03.18 17:58:26 +0000 Peter Bloomfield wrote:
> Carlos:
>
> OK, I changed part_info_init_html() to read:
>
> gtk_container_add(GTK_CONTAINER(scroll), html);
>
> /* gtk_widget_show(html); */
> printf("part_info_init_html: gtk_widget_show_all %p...", scroll);
> gtk_widget_show_all(scroll);
> printf("done.\n");
>
> info->focus_widget = html;
> info->widget = scroll;
> info->can_display = TRUE;
> }
>
> and the console messages are:
>
> part_info_init_html: gtk_widget_show_all 0x8238780...done.
> add_part: gtk_container_add 0x8238780...done.
> balsa_gtk_html_size_request:
> GTK_LAYOUT(widget)->vadjustment->upper 831.000000
> HTML_VIEW(widget)->root->height 831
>
> So the size_request comes after the show_all and after the widget has been
> added to the container (bm->content). Of course, that's on this
> x-connection--perhaps on the local display there's a different order--I'll
> check that later.
>
i tried testing it but my current gnome2 devel generates a segfaulting balsa.
can't help you sorry :\
--
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]