From 3c51a6bc0a6f168d0cd3b300d2f879981af52c43 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 20 Jan 2011 19:54:17 +0000 Subject: [PATCH] Allow dialogs to be bigger than 'minimum' size; instead, just check that the dialogs size is not greater than the zone. This is much nicer for file dialogs. SVN revision: 56244 --- src/modules/illume2/policies/illume/policy.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/illume2/policies/illume/policy.c b/src/modules/illume2/policies/illume/policy.c index 32d2996df..f0f5b7707 100644 --- a/src/modules/illume2/policies/illume/policy.c +++ b/src/modules/illume2/policies/illume/policy.c @@ -783,10 +783,8 @@ _policy_zone_layout_dialog(E_Border *bd, E_Illume_Config_Zone *cz) if ((!bd) || (!cz)) return; - /* grab minimum size */ - e_illume_border_min_get(bd, &mw, &mh); - if (mw <= 0) mw = bd->w; - if (mh <= 0) mh = bd->h; + mw = bd->w; + mh = bd->h; /* make sure it fits in this zone */ if (mw > bd->zone->w) mw = bd->zone->w;