diff options
Diffstat (limited to 'bin/count-todo-dialogs')
-rwxr-xr-x | bin/count-todo-dialogs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/count-todo-dialogs b/bin/count-todo-dialogs index 4c1678b646ee..09f85c90dbd4 100755 --- a/bin/count-todo-dialogs +++ b/bin/count-todo-dialogs @@ -20,7 +20,7 @@ infoboxes=0 queryboxes=0 warningboxes=0 msgboxes=0 -floatingwindows=`git grep -h FloatingWindow -- *.src|grep -v HelpID|cut -d' ' -f2- |sort|uniq|wc -l` +floatingwindows=0 dockingwindows=`git grep -h DockingWindow -- *.src|grep -v HelpID|grep -v hrc|cut -d' ' -f2- |sort|uniq|wc -l` echo There are $dialogs unconverted dialogs @@ -33,7 +33,7 @@ echo There are $msgboxes unconverted msgboxes echo There are $floatingwindows unconverted floatingwindows echo There are $dockingwindows unconverted dockingwindows -num=$(($floatingwindows + dockingwindows)) +num=$dockingwindows echo An estimated additional $num .ui are required percent=$(($converted * 100 / ($num + $converted))) |