Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Hermes
Summary Lists News SCM
authorAndrew Flegg <andrew@bleb.org>
Sun, 13 Dec 2009 02:16:33 +0000 (02:16 +0000)
committerAndrew Flegg <andrew@bleb.org>
Sun, 13 Dec 2009 02:16:33 +0000 (02:16 +0000)
package/debian/changelog
package/src/gui.py

index 8d64616..ef8190e 100644 (file)
@@ -6,6 +6,7 @@ hermes (0.2.3) unstable; urgency=low
   * Try to tolerate Facebook violating their own API (provided by
     Christoph Hrdinka). MB#6768
   * Include python-gobject dependency (reported by Uwe Kaminski). MB#6900
+  * Add support for changing an existing contact's mappings.
   * ...
 
  -- Andrew Flegg <andrew@bleb.org>  Sat, 12 Dec 2009 20:12:54 +0000
index bf839c0..d7aec58 100755 (executable)
@@ -183,7 +183,8 @@ class HermesGUI(WimpWorks):
         if 'contact' in friend and friend['contact'] == contact:
           hildon.hildon_banner_show_information(self.main_window, '', _("Removing existing mappings is not yet supported"))
         elif view.contact_mapped:
-          hildon.hildon_banner_show_information(self.main_window, '', _("Changing existing mappings is not yet supported"))
+          if fb2c.update_contact(contact, friend, True):
+            fb2c.addresses.commit_contact(contact)
         else:
           if fb2c.update_contact(contact, friend, False):
             fb2c.addresses.commit_contact(contact)

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment