summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wps/WPSLIST34
-rwxr-xr-xwps/wpsbuild.pl44
2 files changed, 53 insertions, 25 deletions
diff --git a/wps/WPSLIST b/wps/WPSLIST
index 9b52416ec2..e6dc238466 100644
--- a/wps/WPSLIST
+++ b/wps/WPSLIST
@@ -73,8 +73,8 @@ backdrop:
73iconset: 73iconset:
74viewers iconset: 74viewers iconset:
75selector type: bar (inverse) 75selector type: bar (inverse)
76ui viewport: - 76ui viewport:
77remote ui viewport: - 77remote ui viewport:
78</wps> 78</wps>
79 79
80<wps> 80<wps>
@@ -89,8 +89,8 @@ backdrop:
89iconset: 89iconset:
90viewers iconset: 90viewers iconset:
91selector type: bar (inverse) 91selector type: bar (inverse)
92ui viewport: - 92ui viewport:
93remote ui viewport: - 93remote ui viewport:
94</wps> 94</wps>
95 95
96<wps> 96<wps>
@@ -105,8 +105,8 @@ iconset:
105viewers iconset: 105viewers iconset:
106selector type: bar (inverse) 106selector type: bar (inverse)
107Statusbar: top 107Statusbar: top
108ui viewport: - 108ui viewport:
109remote ui viewport: - 109remote ui viewport:
110</wps> 110</wps>
111 111
112<wps> 112<wps>
@@ -174,8 +174,8 @@ backdrop:
174iconset: 174iconset:
175viewers iconset: 175viewers iconset:
176selector type: bar (inverse) 176selector type: bar (inverse)
177ui viewport: - 177ui viewport:
178remote ui viewport: - 178remote ui viewport:
179</wps> 179</wps>
180 180
181<rwps> 181<rwps>
@@ -211,8 +211,8 @@ backdrop:
211iconset: 211iconset:
212viewers iconset: 212viewers iconset:
213selector type: bar (inverse) 213selector type: bar (inverse)
214ui viewport: - 214ui viewport:
215remote ui viewport: - 215remote ui viewport:
216</wps> 216</wps>
217 217
218<rwps> 218<rwps>
@@ -237,8 +237,8 @@ backdrop:
237iconset: 237iconset:
238viewers iconset: 238viewers iconset:
239selector type: bar (inverse) 239selector type: bar (inverse)
240ui viewport: - 240ui viewport:
241remote ui viewport: - 241remote ui viewport:
242</wps> 242</wps>
243 243
244<rwps> 244<rwps>
@@ -274,8 +274,8 @@ backdrop:
274iconset: 274iconset:
275viewers iconset: 275viewers iconset:
276selector type: bar (inverse) 276selector type: bar (inverse)
277ui viewport: - 277ui viewport:
278remote ui viewport: - 278remote ui viewport:
279</wps> 279</wps>
280 280
281<wps> 281<wps>
@@ -313,7 +313,7 @@ background color: 000000
313line selector start color: fde89e 313line selector start color: fde89e
314line selector end color: b58c00 314line selector end color: b58c00
315line selector text color: 000000 315line selector text color: 000000
316filetype colours: - 316filetype colours:
317 317
318#backdrop - remember this is the source file name in your SVN folder, not dest name! 318#backdrop - remember this is the source file name in your SVN folder, not dest name!
319backdrop.320x240x16: backdrops/cabbiev2.320x240x16.bmp 319backdrop.320x240x16: backdrops/cabbiev2.320x240x16.bmp
@@ -372,8 +372,8 @@ Statusbar: top
372remote statusbar: top 372remote statusbar: top
373 373
374# list & remote ui viewports 374# list & remote ui viewports
375ui viewport: - 375ui viewport:
376remote ui viewport: - 376remote ui viewport:
377</wps> 377</wps>
378 378
379<rwps> 379<rwps>
diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl
index 7cc5367381..81a90f3c04 100755
--- a/wps/wpsbuild.pl
+++ b/wps/wpsbuild.pl
@@ -274,7 +274,7 @@ MOO
274 push @out, "sbs: /$rbdir/wps/$sbs\n"; 274 push @out, "sbs: /$rbdir/wps/$sbs\n";
275 } 275 }
276 } 276 }
277 if(defined($sbs) && $has_remote) { 277 if(defined($rsbs) && $has_remote) {
278 if ($rsbs eq '') { 278 if ($rsbs eq '') {
279 push @out, "rsbs: -\n"; 279 push @out, "rsbs: -\n";
280 } else { 280 } else {
@@ -282,7 +282,11 @@ MOO
282 } 282 }
283 } 283 }
284 if($font) { 284 if($font) {
285 push @out, "font: /$rbdir/fonts/$font\n"; 285 if ($font eq '') {
286 push @out, "font: -\n";
287 } else {
288 push @out, "font: /$rbdir/fonts/$font\n";
289 }
286 } 290 }
287 if($fgcolor && $main_depth > 2) { 291 if($fgcolor && $main_depth > 2) {
288 push @out, "foreground color: $fgcolor\n"; 292 push @out, "foreground color: $fgcolor\n";
@@ -315,25 +319,49 @@ MOO
315 push @out, "selector type: $selecttype\n"; 319 push @out, "selector type: $selecttype\n";
316 } 320 }
317 if(defined($iconset)) { 321 if(defined($iconset)) {
318 push @out, "iconset: $iconset\n"; 322 if ($iconset eq '') {
323 push @out, "iconset: -\n";
324 } else {
325 push @out, "iconset: $iconset\n";
326 }
319 } 327 }
320 if(defined($viewericon)) { 328 if(defined($viewericon)) {
321 push @out, "viewers iconset: $viewericon\n"; 329 if ($viewericon eq '') {
330 push @out, "viewers iconset: -\n";
331 } else {
332 push @out, "viewers iconset: $viewericon\n";
333 }
322 } 334 }
323 if($lineselecttextcolor && $main_depth > 2 ) { 335 if($lineselecttextcolor && $main_depth > 2 ) {
324 push @out, "line selector text color: $lineselecttextcolor\n"; 336 push @out, "line selector text color: $lineselecttextcolor\n";
325 } 337 }
326 if($filetylecolor && $main_depth > 2) { 338 if($filetylecolor && $main_depth > 2) {
327 push @out, "filetype colours: $filetylecolor\n"; 339 if ($filetylecolor eq '') {
340 push @out, "filetype colours: -\n";
341 } else {
342 push @out, "filetype colours: $filetylecolor\n";
343 }
328 } 344 }
329 if($rwps && $has_remote ) { 345 if($rwps && $has_remote ) {
330 push @out, "rwps: /$rbdir/wps/$rwps\n"; 346 if ($rwps eq '') {
347 push @out, "rwps: -\n";
348 } else {
349 push @out, "rwps: /$rbdir/wps/$rwps\n";
350 }
331 } 351 }
332 if(defined($listviewport)) { 352 if(defined($listviewport)) {
333 push @out, "ui viewport: $listviewport\n"; 353 if ($listviewport eq '') {
354 push @out, "ui viewport: -\n";
355 } else {
356 push @out, "ui viewport: $listviewport\n";
357 }
334 } 358 }
335 if(defined($remotelistviewport) && $has_remote) { 359 if(defined($remotelistviewport) && $has_remote) {
336 push @out, "remote ui viewport: $listviewport\n"; 360 if ($remotelistviewport eq '') {
361 push @out, "remote ui viewport: -\n";
362 } else {
363 push @out, "remote ui viewport: $listviewport\n";
364 }
337 } 365 }
338 if(-f "$rbdir/wps/$cfg") { 366 if(-f "$rbdir/wps/$cfg") {
339 print STDERR "wpsbuild warning: wps/$cfg already exists!\n"; 367 print STDERR "wpsbuild warning: wps/$cfg already exists!\n";