soylent r119 - trunk/src
- From: treitter svn gnome org
- To: svn-commits-list gnome org
- Subject: soylent r119 - trunk/src
- Date: Fri, 4 Apr 2008 07:17:34 +0100 (BST)
Author: treitter
Date: Fri Apr 4 07:17:34 2008
New Revision: 119
URL: http://svn.gnome.org/viewvc/soylent?rev=119&view=rev
Log:
ensure newly-added person details' web URLs show up right after adding them (but before closing the editor window)
Modified:
trunk/src/soylent-browser-person-view.c
Modified: trunk/src/soylent-browser-person-view.c
==============================================================================
--- trunk/src/soylent-browser-person-view.c (original)
+++ trunk/src/soylent-browser-person-view.c Fri Apr 4 07:17:34 2008
@@ -2976,6 +2976,14 @@
e_contact = soylent_person_get_e_contact (person);
frame_web = GTK_FRAME (glade_xml_get_widget (wtree, "frame_person_web"));
+ /* XXX: for some reason, if we don't do this, e_contact_get_const() below does
+ * not see newly-added web URL details, even though we call this function
+ * right before we hit the function you're in now.
+ *
+ * I've narrowed it down to the ebook commit, but I'm not sure why that would
+ * change anything. */
+ soylent_browser_person_view_save_changes (NULL, browser);
+
for (type = 0; type < NUM_TYPE; type++)
{
widget_name = g_strdup_printf ("entry_person_web_%s", type_list[type]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]