diff --git a/icons/viewers.bmp b/icons/viewers.bmp deleted file mode 100644 index 9b039b1217..0000000000 Binary files a/icons/viewers.bmp and /dev/null differ diff --git a/wps/WPSLIST b/wps/WPSLIST index c7fab9e6cf..52d81a6ab7 100644 --- a/wps/WPSLIST +++ b/wps/WPSLIST @@ -51,7 +51,7 @@ Foreground Color: 000000 Background Color: B6C6E5 backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -66,7 +66,7 @@ Foreground Color: 000000 Background Color: B6C6E5 backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -78,7 +78,7 @@ Font: nedore-8.fnt Statusbar: on backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -89,7 +89,7 @@ Author: Raymond Hoh Font: nimbus-12.fnt backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) Statusbar: on @@ -102,7 +102,7 @@ Font: nedore-8.fnt Statusbar: on backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -149,7 +149,7 @@ Font: nimbus-13.fnt Statusbar: on backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -170,7 +170,7 @@ Foreground Color: 000000 Background Color: B6C6E5 backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -201,7 +201,7 @@ Background Color: FFFFFF Statusbar: on backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -223,7 +223,7 @@ Background Color: FFFFFF Statusbar: on backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) @@ -254,7 +254,7 @@ Background Color: FFC000 Statusbar: on backdrop: iconset: -viewers iconset: /.rockbox/icons/viewers.bmp +viewers iconset: selector type: bar (inverse) diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl index a07909ca77..cb9ccbfc80 100755 --- a/wps/wpsbuild.pl +++ b/wps/wpsbuild.pl @@ -144,8 +144,10 @@ sub copythemeviewericon { #copy the viewer icon specified by the theme - $viewericon =~ /\/(.*icons\/(.*))/i; - `cp $ROOT/icons/$2 $1`; + if ($viewericon ne '') { + $viewericon =~ /\/(.*icons\/(.*))/i; + `cp $ROOT/icons/$2 $1`; + } } sub copywps @@ -244,7 +246,7 @@ MOO if(defined($iconset)) { push @out, "iconset: $iconset\n"; } - if($viewericon) { + if(defined($viewericon)) { push @out, "viewers iconset: $viewericon\n"; } if($lineselecttextcolor && $main_depth > 2 ) {