Hello community, here is the log from the commit of package pessulus checked in at Tue Sep 25 21:15:31 CEST 2007. -------- --- GNOME/pessulus/pessulus.changes 2007-09-19 15:18:07.000000000 +0200 +++ /mounts/work_src_done/STABLE/STABLE/pessulus/pessulus.changes 2007-09-24 22:09:48.668381000 +0200 @@ -1,0 +2,8 @@ +Mon Sep 24 22:09:29 CEST 2007 - federico@suse.de + +- Added pessulus-327529-untranslated-applets.diff to fix + https://bugzilla.novell.com/show_bug.cgi?id=327529 - Pessulus would + crash upon encountering an applet without a suitable translation in + its .server file. + +------------------------------------------------------------------- New: ---- pessulus-327529-untranslated-applets.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pessulus.spec ++++++ --- /var/tmp/diff_new_pack.Q16147/_old 2007-09-25 21:15:13.000000000 +0200 +++ /var/tmp/diff_new_pack.Q16147/_new 2007-09-25 21:15:13.000000000 +0200 @@ -13,7 +13,7 @@ Name: pessulus BuildRequires: fdupes glib2-devel gnome-common intltool python python-gnome-devel python-gtk-devel update-desktop-files Version: 2.16.3 -Release: 1 +Release: 4 Url: http://live.gnome.org/Pessulus Group: System/GUI/GNOME License: GPL v2 or later @@ -22,6 +22,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on Requires: %{name}-lang = %{version} +Patch1: pessulus-327529-untranslated-applets.diff %py_requires %description @@ -36,6 +37,7 @@ %lang_package %prep %setup -q +%patch1 -p1 %build autoreconf -f -i @@ -61,6 +63,11 @@ %files lang -f %{name}.lang %changelog +* Mon Sep 24 2007 - federico@suse.de +- Added pessulus-327529-untranslated-applets.diff to fix + https://bugzilla.novell.com/show_bug.cgi?id=327529 - Pessulus would + crash upon encountering an applet without a suitable translation in + its .server file. * Wed Sep 19 2007 - sbrabec@suse.cz - Updated to version 2.16.3: * updated categories in .desktop file ++++++ pessulus-327529-untranslated-applets.diff ++++++ 2007-09-24 Federico Mena Quintero <federico@novell.com> Fix https://bugzilla.novell.com/show_bug.cgi?id=327529 - Pessulus crashes when it encounters an untranslated applet. * Pessulus/disabledapplets.py (PessulusDisabledApplets.__fill_liststore): If we can't find a suitable translated name for the applet, use its IID. This is the same fix that is already in the copy of Pessulus that lives in the Sabayon source tree. diff --git a/Pessulus/disabledapplets.py b/Pessulus/disabledapplets.py index 650cf12..7a20b3b 100644 --- a/Pessulus/disabledapplets.py +++ b/Pessulus/disabledapplets.py @@ -184,9 +184,15 @@ class PessulusDisabledApplets: elif prop.name == "panel:icon": icon = prop.v.value_string iter = self.liststore.append () + + if name == None: + name = applet.iid + else: + name = name + " (" + applet.iid + ")" + self.liststore.set (iter, self.COLUMN_IID, applet.iid, - self.COLUMN_NAME, name + " (" + applet.iid + ")", + self.COLUMN_NAME, name, self.COLUMN_ICON_NAME, icon, self.COLUMN_ICON, icons.load_icon (self.icon_theme, icon)) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org