Package: google-gadgets
Version: 0.11.1-1.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

The World Daylight Clock has a broken Options menu due to a typo.  I've filed 
upstream bug #350 about it and applied it to the Ubuntu packaging.

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-17-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u google-gadgets-0.11.1/debian/patches/series google-gadgets-0.11.1/debian/patches/series
--- google-gadgets-0.11.1/debian/patches/series
+++ google-gadgets-0.11.1/debian/patches/series
@@ -3,0 +4,2 @@
+13_fix_onOpen_typo.patch
only in patch2:
unchanged:
--- google-gadgets-0.11.1.orig/debian/patches/13_fix_onOpen_typo.patch
+++ google-gadgets-0.11.1/debian/patches/13_fix_onOpen_typo.patch
@@ -0,0 +1,18 @@
+Description: Fix typo that caused the Options dialog to appear blank
+Bug: http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=350
+Bug-Ubuntu: https://bugs.launchpad.net/googlegadgets/+bug/507542
+Author: Michael Terry <michael.te...@canonical.com>
+
+Index: google-gadgets-0.10.5/gadgets/digital_alarm_clock/options.js
+===================================================================
+--- google-gadgets-0.10.5.orig/gadgets/digital_alarm_clock/options.js	2010-01-14 11:08:02.000000000 -0500
++++ google-gadgets-0.10.5/gadgets/digital_alarm_clock/options.js	2010-01-14 11:10:26.000000000 -0500
+@@ -24,7 +24,7 @@
+ /**
+  * Method called when options are opened
+  */
+-function onOpen() {
++function _onOpen() {
+   oString1.innerText = ALARM_SET;
+   oString2.innerText = DEFAULT_ALARM;
+   oString3.innerText = USE_FILE;

Reply via email to