From e04e6e0dc20289214488363b8c52f14bd71e1958 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 31 May 2000 06:28:46 +0000 Subject: Don't hide the EPaned handle if the requisition of either of the children is zero anymore. This was causing problems with some of the widgets that are in the EShellView and have zero requisition. svn path=/trunk/; revision=3311 --- ChangeLog | 6 ++++++ widgets/e-paned/e-hpaned.c | 3 +-- widgets/e-paned/e-vpaned.c | 3 +-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e6debefb1..b7a8a09f39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-05-30 Ettore Perazzoli + + * widgets/e-paned/e-vpaned.c (e_vpaned_handle_shown): Show the + handle even if the requisition for the child is zero. + * widgets/e-paned/e-hpaned.c (e_hpaned_handle_shown): Likewise. + 2000-05-26 Héctor García Alvarez * configure.in: Added Spanish language diff --git a/widgets/e-paned/e-hpaned.c b/widgets/e-paned/e-hpaned.c index 0f4184ff57..e7aff16cd9 100644 --- a/widgets/e-paned/e-hpaned.c +++ b/widgets/e-paned/e-hpaned.c @@ -432,6 +432,5 @@ static gboolean e_hpaned_handle_shown (EPaned *paned) { return ((paned->child1 && paned->child2) && - (GTK_WIDGET_VISIBLE (paned->child1) && GTK_WIDGET_VISIBLE (paned->child2)) && - (GTK_WIDGET(paned->child1)->requisition.width > 0 && GTK_WIDGET(paned->child2)->requisition.width > 0)); + (GTK_WIDGET_VISIBLE (paned->child1) && GTK_WIDGET_VISIBLE (paned->child2))); } diff --git a/widgets/e-paned/e-vpaned.c b/widgets/e-paned/e-vpaned.c index bc9ef41e78..bfa5dced73 100644 --- a/widgets/e-paned/e-vpaned.c +++ b/widgets/e-paned/e-vpaned.c @@ -431,6 +431,5 @@ static gboolean e_vpaned_handle_shown (EPaned *paned) { return ((paned->child1 && paned->child2) && - (GTK_WIDGET_VISIBLE (paned->child1) && GTK_WIDGET_VISIBLE (paned->child2)) && - (GTK_WIDGET(paned->child1)->requisition.height > 0 && GTK_WIDGET(paned->child2)->requisition.height > 0)); + (GTK_WIDGET_VISIBLE (paned->child1) && GTK_WIDGET_VISIBLE (paned->child2))); } -- cgit v1.2.3