# We now grep the source for things like SmallIcon("fubar") and generate size and name from that
print "Grepping $source for requested icons...\n";
-my @results = `grep -r Icon\\(\\" $source`;
+my @results = `grep -r QIcon::fromTheme\\(\\" $source`;
foreach(@results) {
- next unless my ($type, $name) = /\W+(\s|Desktop|Bar|MainBar|Small|Panel|Dialog)Icon\("([-\w]+)/;
- $type = "Desktop" if $type =~ /\s+/;
+ next unless my ($name) = /\W+QIcon::fromTheme\(\"([-\w]+)/;
$req_icons{$name} = 1
unless exists $blacklist{$name};
}
<file>oxygen/22x22/actions/im-kick-user.png</file>
<file>oxygen/22x22/actions/irc-operator.png</file>
<file>oxygen/22x22/actions/configure-shortcuts.png</file>
+ <file>oxygen/22x22/actions/format-list-unordered.png</file>
<file>oxygen/22x22/actions/irc-join-channel.png</file>
<file>oxygen/22x22/actions/format-fill-color.png</file>
<file>oxygen/22x22/actions/help-about.png</file>
<file>oxygen/32x32/actions/document-edit.png</file>
<file>oxygen/32x32/actions/im-ban-user.png</file>
<file>oxygen/32x32/actions/document-open.png</file>
+ <file>oxygen/32x32/actions/format-list-unordered.png</file>
<file>oxygen/32x32/actions/dialog-cancel.png</file>
<file>oxygen/32x32/actions/format-text-italic.png</file>
<file>oxygen/32x32/actions/list-add-user.png</file>
<file>oxygen/16x16/actions/irc-close-channel.png</file>
<file>oxygen/16x16/actions/zoom-out.png</file>
<file>oxygen/16x16/actions/irc-join-channel.png</file>
+ <file>oxygen/16x16/actions/format-list-unordered.png</file>
<file>oxygen/16x16/actions/zoom-original.png</file>
<file>oxygen/16x16/actions/go-next-view.png</file>
<file>oxygen/16x16/actions/irc-remove-operator.png</file>
<file>oxygen/48x48/actions/network-disconnect.png</file>
<file>oxygen/48x48/actions/list-add.png</file>
<file>oxygen/48x48/actions/irc-voice.png</file>
+ <file>oxygen/48x48/actions/format-list-unordered.png</file>
<file>oxygen/48x48/actions/media-playback-start.png</file>
<file>oxygen/48x48/actions/tools-report-bug.png</file>
<file>oxygen/48x48/actions/go-next-view.png</file>