From 90d57940b8bd6a1a7f03dbb7b9b66da9041f25bf Mon Sep 17 00:00:00 2001 From: slakmagik Date: Thu, 27 May 2010 15:55:42 +0000 Subject: [PATCH] Tweaked the size of the select_repository() widget This allows all current repos + 1 to fit without scrolling - eventually, the repo list will outgrow the displayable area, but we might as well save scrolling while we can. --- src/usr/sbin/sbopkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 7fbad3b..37364ff 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -1029,7 +1029,7 @@ select_repository() { --menu '"$(crunch "You are currently using sbopkg to browse a \ local copy of the $REPO_DESC. If you would \ like to change it, please select another repository below or \ - press to go back.")"' 17 60 7 \ + press to go back.")"' 19 60 9 \ $( for ((i=0; i<${#REPOSITORIES[@]}; i+=$REPOS_FIELDS)); do echo \"${REPOSITORIES[$((i+1))]} \(${REPOSITORIES[$i]}\)\"