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
This commit is contained in:
Christopher Michael 2011-01-20 19:54:17 +00:00
parent 7fab214109
commit 3c51a6bc0a
1 changed files with 2 additions and 4 deletions

View File

@ -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;