OBS User unknown 2007-06-12 16:31:24 +00:00 committed by Git OBS Bridge
parent dc31795bf2
commit 75d5fce1be
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,22 @@
--- composer/e-msg-composer.c
+++ composer/e-msg-composer.c
@@ -5026,7 +5026,7 @@
{
g_return_if_fail (E_IS_MSG_COMPOSER (composer));
- set_editor_text (composer, text, len, TRUE, text == "");
+ set_editor_text (composer, text, len, TRUE, strlen(text) == 0);
}
/**
--- shell/e-user-creatable-items-handler.c
+++ shell/e-user-creatable-items-handler.c
@@ -265,7 +265,7 @@
&& strcmp (corba_item->id, "message") == 0)
default_verb = item->verb;
- if (corba_item->iconName == "") {
+ if (strlen(corba_item->iconName) == 0) {
item->icon = NULL;
} else {
item->icon = e_icon_factory_get_icon (corba_item->iconName, E_ICON_SIZE_MENU);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 11 18:38:50 CEST 2007 - ro@suse.de
- avoid string comparison with string literal
-------------------------------------------------------------------
Thu Jun 7 13:06:39 CEST 2007 - sbrabec@suse.cz

View File

@ -19,7 +19,7 @@ Provides: evoltn
Autoreqprov: on
Obsoletes: bonobo-conf
Version: 2.10.1
Release: 19
Release: 25
Summary: The Integrated GNOME Mail, Calendar, and Address Book Suite
#Source: ftp://ftp.gnome.org/pub/gnome/sources/evolution/2.10/%{name}-%{version}.tar.bz2
Source: %{name}-%{version}.tar.bz2
@ -60,6 +60,7 @@ Patch92: evo-2.8.2-regression-fix.patch
Patch100: abuild.patch
#Patch101: xsltproc-no-net.patch
Patch999: build-fixes.diff
Patch1000: evolution-stringcompare.patch
URL: http://gnome.org/projects/evolution/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: yelp
@ -313,6 +314,7 @@ Authors:
%patch100 -p1
#%patch101 -p1
%patch999
%patch1000
%build
autoreconf -f -i
@ -433,6 +435,8 @@ fi
%{_libdir}/evolution/*/conduits/*.so
%changelog
* Mon Jun 11 2007 - ro@suse.de
- avoid string comparison with string literal
* Thu Jun 07 2007 - sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Wed May 09 2007 - mauro@novell.com