aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-31 14:28:46 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-31 14:28:46 +0800
commite04e6e0dc20289214488363b8c52f14bd71e1958 (patch)
treed59f9c17b83b564746b353a2b3cca8b6acdf789d /widgets
parentc6d835a949f3d5a917c1b2f3c39d0226514adde9 (diff)
downloadgsoc2013-evolution-e04e6e0dc20289214488363b8c52f14bd71e1958.tar.gz
gsoc2013-evolution-e04e6e0dc20289214488363b8c52f14bd71e1958.tar.zst
gsoc2013-evolution-e04e6e0dc20289214488363b8c52f14bd71e1958.zip
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
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-paned/e-hpaned.c3
-rw-r--r--widgets/e-paned/e-vpaned.c3
2 files changed, 2 insertions, 4 deletions
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)));
}