Re: GNOME CVS: gtk+ timj
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Cc: timj gtk org
- Subject: Re: GNOME CVS: gtk+ timj
- Date: 03 Sep 1998 18:56:40 -0400
Gnome CVS User <gnomecvs@cvs.labs.redhat.com> writes:
> CVSROOT: /debian/home/gnomecvs
> Module name: gtk+
> Changes by: timj 98/09/03 02:38:55
> * gtk/gtknotebook.c:
> (gtk_notebook_real_switch_page): expose tabs.
====
gtk_notebook_pages_allocate (notebook, >K_WIDGET (notebook)->allocation);
gtk_notebook_expose_tabs (notebook);
if (GTK_WIDGET_MAPPED (notebook))
{
if (GTK_WIDGET_REALIZED (notebook->cur_page->child))
gtk_widget_map (notebook->cur_page->child);
else
{
gtk_widget_map (notebook->cur_page->child);
gtk_widget_size_allocate (GTK_WIDGET (notebook),
>K_WIDGET (notebook)->allocation);
}
}
if (GTK_WIDGET_DRAWABLE (notebook))
gtk_widget_queue_draw (GTK_WIDGET (notebook));
====
????
Unless I am confused, redrawing the entire notebook should
alleviate the need for _expose_tabs()...
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]