paulatz's Opera addons journal

Tool and advices about Opera skins and other addons development

Subscribe to RSS feed

Changelog for skin PlastikOpera and PlastikOpera-SUSE v1.12

The changelog is included in the README.txt file in the skin, but I suppose that many people won't ever unzip the archive so I post it here.

PlastikOpera
Version 1.00: First public release
Version 1.01: Progressbar is now a TileBox
Version 1.10: Fork between SUSE and KDE color theme
              Completely remade pushbuttons
              Fixed bottom, left and right pagebar
              Hotlist buttons merged with pushbuttons
              Completed horizontal scrollbar
Version 1.11: Changed bottom of hotlist toggle button
              Changed notify window
              Fixed progress bar color
              Added gradient for tab buttons
              Increased max pagebar button width
              Better yellow-colored security button
              Popup header fixed:
                 insecure (mostly) clones toolbar button,
                 secure (mostly) clones security button
Version 1.12: Dropdown button center fixed (taller image)
              Added gradient for bottom tab button
              Redraw edit tilebox (especially right and bottom)
              Fixed text color for pagebar
              Changed notify window (again)
              Decreased pagebar button and hotlist selector button paddings
Version 1.13: Added "Clear" button
Version 1.14: Added "Go" button using enter.png.
              Removed a lot of unused files, saved 20KB.
              Changed none, sortup and sortdown images
Version 1.15: Added widget icons


PlastikOpera-SUSE
Version 1.00: First public release
Version 1.01: Progressbar is now a TileBox
Version 1.10: Fork between SUSE and KDE color theme
              Fixed bottom, left and right pagebar
              Hotlist buttons merged with pushbuttons
Version 1.11: Changed bottom of hotlist toggle button
              Changed notify window
              Increased max pagebar button width
              Better yellow-colored security button
              Popup header fixed:
                 insecure (mostly) clones toolbar button,
                 secure (mostly) clones security button
Version 1.12: Dropdown button center fixed (taller image)
              Redraw edit tilebox (especially right and bottom)
              Fixed text color for pagebar
              Changed notify window (again)
              Decreased pagebar button and hotlist selector button paddings
Version 1.13: Added "Clear" button
              Added pressed animation for horizontal scrollbar button
Version 1.14: Added "Go" button using enter.png.
              Removed a lot of unused files, saved 20KB.
              Changed none, sortup and sortdown images
Version 1.15: Added widget icons



Check if your skin is redundant or incomplete (*nix) [updated]

While writing my first (and actually only) skin for Opera I have written a small bash script which performs tre simple actions:
  • Check and report files which are referred in skin.ini but are missing in the theme directory.
  • Check and report images which are present in the directoy but are never used in the skin.
  • Check if there are duplicated files, in other words if two files are the same.
    If you wish to optimize your skin you should leave a single copy of any file and change the references in skin.ini

The script only checks .png extensions; it must be executed from the theme directory and files names must NOT contain spaces. Code follows.

#!/bin/bash

echo '################################################'
echo 'Missing files:'
echo '################################################'
for i in `grep .png skin.ini|awk -F= '{print $2}'|awk -F"," '{print $1}'|sed -e 's/ //g'` ; do
        ls $i >/dev/null 2>&1 ||echo $i
done

echo '################################################'
echo 'Unused files:'
echo '################################################'
for i in `find . -name \*.png`; do
        i=`echo $i|sed -e 's/\.\///'`
        grep $i skin.ini >/dev/null 2>&1 ||echo $i
done

echo '################################################'
echo 'Duplicated files:'
echo '################################################'
LIST=`find . -name \*.png|sort|sed -e 's/\.\///'`
for FILE1 in $LIST ; do
   for FILE2 in $LIST; do
      if [[ "$FILE1" < "$FILE2" ]] ; then
         diff $FILE1 $FILE2 >/dev/null && echo -e "$FILE1\t\t$FILE2"
      fi
   done
done