summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-05 21:10:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-06 07:02:42 +0100
commit0a8bf4b534775bb64e6baa228dce881c5c0d65a5 (patch)
treeb6753e237796855f7af63b9730a21eecdb50bc3b /bin
parent5ae49477396c1a0d7dd2d387bf46ac8c02cbeb53 (diff)
FloatingWindows are no longer loaded from resource files
Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
Diffstat (limited to 'bin')
-rwxr-xr-xbin/count-todo-dialogs4
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)))