1999-09-06 Federico Mena Quintero <federico@redhat.com>
* gtkdtree.c (gtk_dtree_size_allocate): Do the "visibility" test the right way.
Этот коммит содержится в:
родитель
544f443121
Коммит
5818c1b0ff
@ -1,3 +1,8 @@
|
||||
1999-09-06 Federico Mena Quintero <federico@redhat.com>
|
||||
|
||||
* gtkdtree.c (gtk_dtree_size_allocate): Do the "visibility" test
|
||||
the right way.
|
||||
|
||||
1999-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtkdtree.c (gtk_dtree_size_allocate): Small change to improve
|
||||
|
@ -390,7 +390,8 @@ gtk_dtree_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
|
||||
char *request;
|
||||
|
||||
GTK_WIDGET_CLASS (parent_class)->size_allocate (widget, allocation);
|
||||
if (allocation->width > 8 && allocation->height != 0)
|
||||
|
||||
if (allocation->width > 1 && allocation->height > 1)
|
||||
dtree->visible = TRUE;
|
||||
else
|
||||
dtree->visible = FALSE;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user