summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/count-todo-dialogs4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/count-todo-dialogs b/bin/count-todo-dialogs
index 340fd564caef..4c1678b646ee 100755
--- a/bin/count-todo-dialogs
+++ b/bin/count-todo-dialogs
@@ -21,6 +21,7 @@ queryboxes=0
warningboxes=0
msgboxes=0
floatingwindows=`git grep -h FloatingWindow -- *.src|grep -v HelpID|cut -d' ' -f2- |sort|uniq|wc -l`
+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
echo There are $tabpages unconverted tabpages
@@ -30,8 +31,9 @@ echo There are $queryboxes unconverted queryboxes
echo There are $warningboxes unconverted warningboxes
echo There are $msgboxes unconverted msgboxes
echo There are $floatingwindows unconverted floatingwindows
+echo There are $dockingwindows unconverted dockingwindows
-num=$(($floatingwindows))
+num=$(($floatingwindows + dockingwindows))
echo An estimated additional $num .ui are required
percent=$(($converted * 100 / ($num + $converted)))