Commits

Stefan Scherfke committed 3d653b3

• New default image
• New widget icon
• Fixed two bugs

  • Participants
  • Parent commits 3696393
  • Tags 0.4

Comments (0)

Files changed (9)

File Default.png

Old
Old image
New
New image

File Icon.png

Old
Old image
New
New image
 	<key>CFBundleName</key>
 	<string>TeaTimer</string>
 	<key>CFBundleVersion</key>
-	<string>0.3.1</string>
+	<string>0.4</string>
 	<key>MainHTML</key>
 	<string>TeaTimer.html</string>
 	<key>CloseBoxInsetX</key>
 • Choose icon (pizza, tea, cake, eggs, …)
 • Remember last entries for timer target
 • List with tees and their required time
+• Fading for tab transition

File TeaTimer.css

 	color: #FFFFFF;
 	text-shadow: 0px 2px 4px #000;
 }
-#front { background: url(Images/Front_default.png) no-repeat; display: none; }
-#back { background: url(Images/Back.png) no-repeat; display: block; }
+#front { background: url(Images/Front_default.png) no-repeat; display: block; }
+#back { background: url(Images/Back.png) no-repeat; display: none; }
 #update { background: url(Images/Update.png) no-repeat; display: none; }
 
 /* Font sizes */

File TeaTimer.html

 					<hr />
 					<option value="cayenne">Cayenne</option>
 					<option value="graphite">Graphite</option>
+					<option value="lime">Lime</option>
 					<option value="ocean">Ocean</option>
 					<option value="orange">Orange</option>
 					<option value="purple">Purple</option>
 function loadPreferences() {
 	if (window.widget) {
 		var buf = widget.preferenceForKey('background');
-		$('#front').css('background', 'url(Images/Front_' + buf
-			+ '.png) no-repeat');
-		$('#backgroundColor').attr('value', buf);
+		if (buf && buf.length > 0) {
+			$('#front').css('background', 'url(Images/Front_' + buf
+				+ '.png) no-repeat');
+			$('#backgroundColor').attr('value', buf);
+		}
 	}
 }
 

File de.lproj/LocalizedStrings.js

 	'Default': 'Standard',
 	'Cayenne': 'Cayenne',
 	'Graphite': 'Graphit',
+	'Lime:': 'Limette',
 	'Ocean': 'Ozean',
 	'Orange': 'Orange',
 	'Purple': 'Violett',

File en.lproj/LocalizedStrings.js

 	'Default': 'Default',
 	'Cayenne': 'Cayenne',
 	'Graphite': 'Graphite',
+	'Lime': 'Limette',
 	'Ocean': 'Ocean',
 	'Orange': 'Orange',
 	'Purple': 'Purple',