Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
gnome-do-plugins
gnome-do-plugins-mono-2.8.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-do-plugins-mono-2.8.patch of Package gnome-do-plugins
=== modified file 'Evolution/src/ContactItemSource.cs' --- Evolution/src/ContactItemSource.cs 2010-02-12 01:08:47 +0000 +++ Evolution/src/ContactItemSource.cs 2010-11-04 22:55:52 +0000 @@ -35,7 +35,7 @@ public string Detail { get; private set; } public string Key { get; private set; } - public ContactAttribute (string key, string detail) + public ContactAttribute (string key, string detail) : this () { Key = key; Detail = detail; @@ -87,9 +87,8 @@ // Disallow updating due to memory leak. if (contacts.Any ()) return; - using (SourceList sources = new SourceList ("/apps/evolution/addressbook/sources")) { + using (SourceList sources = new SourceList ("/apps/evolution/addressbook/sources")) contacts = GetContactItems (sources).ToArray (); - } } IEnumerable<ContactItem> GetContactItems (SourceList sources) @@ -111,9 +110,8 @@ if (!source.IsLocal ()) return Enumerable.Empty<ContactItem> (); - using (Book book = new Book (source)) { + using (Book book = new Book (source)) return GetContactItems (book); - } } IEnumerable<ContactItem> GetContactItems (Book book) @@ -184,10 +182,9 @@ contact["name"], e.Message); Console.Error.WriteLine (e.StackTrace); } - //add the details to the contact - foreach (ContactAttribute c in ContactDetails) { + // add the details to the contact + foreach (ContactAttribute c in ContactDetails) MaybeAddDetail(contact,c.Key,c.Detail); - } return contact; } === modified file 'File/src/Do/Do.FilesAndFolders/IndexedFolder.cs' --- File/src/Do/Do.FilesAndFolders/IndexedFolder.cs 2009-06-26 10:10:55 +0000 +++ File/src/Do/Do.FilesAndFolders/IndexedFolder.cs 2010-11-04 22:55:52 +0000 @@ -25,7 +25,6 @@ namespace Do.FilesAndFolders { - [Serializable] struct IndexedFolder : IEquatable<IndexedFolder> { @@ -33,7 +32,7 @@ public uint Level { get; private set; } public FolderStatus Status { get; private set; } - public IndexedFolder (string path, uint level, FolderStatus status) + public IndexedFolder (string path, uint level, FolderStatus status) : this () { if (path == null) throw new ArgumentNullException ("path"); === modified file 'Pidgin/src/PidginContactItemSource.cs' --- Pidgin/src/PidginContactItemSource.cs 2009-06-22 04:05:16 +0000 +++ Pidgin/src/PidginContactItemSource.cs 2010-11-04 21:10:59 +0000 @@ -241,7 +241,7 @@ } //if the alias is still null, let's try to get the server alias if (string.IsNullOrEmpty (alias)) - alias = Pidgin.GetBuddyServerAlias (protos[proto]) ?? null; + alias = (string) Pidgin.GetBuddyServerAlias (protos[proto]) ?? null; break; //let's pick up the custom icon as the metacontact's icon case "setting": @@ -278,4 +278,4 @@ return buddy; } } -} \ No newline at end of file +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor