summaryrefslogtreecommitdiff
path: root/bin/count-todo-dialogs
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-30 13:10:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-30 13:11:48 +0100
commit76ab34ae7a565b7b962967c17b259620f84943f0 (patch)
tree87f756e1bf297e998d3eb3eb8a3bb21a9de38f45 /bin/count-todo-dialogs
parent4e0d84c2c1c47740d9229f18e067ef7523519782 (diff)
didn't know about the dockingwindows
Change-Id: I25c1361ed7b87abf4f78fb09aeea65206f7be040
Diffstat (limited to 'bin/count-todo-dialogs')
-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)))