[Libreoffice-commits] core.git: bin/count-todo-dialogs
Caolán McNamara
caolanm at redhat.com
Sat Aug 30 05:12:20 PDT 2014
bin/count-todo-dialogs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 76ab34ae7a565b7b962967c17b259620f84943f0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Aug 30 13:10:06 2014 +0100
didn't know about the dockingwindows
Change-Id: I25c1361ed7b87abf4f78fb09aeea65206f7be040
diff --git a/bin/count-todo-dialogs b/bin/count-todo-dialogs
index 340fd56..4c1678b 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)))
More information about the Libreoffice-commits
mailing list