Public bug reported: Binary package hint: gnome-power-manager
I'm just translating gpm. But when I had to read the diff to Ubuntu patching of gpm, I think this patch is wrong: +Index: gnome-power-manager-2.29.91/src/gpm-upower.c +=================================================================== +--- gnome-power-manager-2.29.91.orig/src/gpm-upower.c 2010-02-05 10:18:25.000000000 +0000 ++++ gnome-power-manager-2.29.91/src/gpm-upower.c 2010-03-12 09:44:48.483197569 +0000 +@@ -234,7 +234,12 @@ + NULL); + + if (!is_present) ++#ifdef HAVE_APP_INDICATOR ++ /* TRANSLATORS: battery not present */ ++ return g_strdup_printf (_("%s not present"), type_desc); ++#else + return NULL; ++#endif + + type_desc = gpm_device_type_to_localised_text (type, 1); type_desc is not initialized to anything other than NULL when it is used in g_strdup_printf. ** Affects: gnome-power-manager (Ubuntu) Importance: Undecided Status: New -- Use of NULL string in %s format of a translatable string https://bugs.launchpad.net/bugs/542984 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs