aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/comp-editor-factory.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 8509c23d5c..a5c17eecac 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,9 +1,16 @@
+2002-07-26 JP Rosevear <jpr@ximian.com>
+
+ * gui/comp-editor-factory.c (impl_editExisting): focus the editor
+ if it does exist, create a new one if it doesn't (not vice-versa)
+
2002-07-25 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c (e_day_view_init): set large_font to NULL
(e_day_view_style_set): calculate large font, fall back to the
style->font if necessary
+ Fixes #11773
+
2002-07-24 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (write_html): display the location in the
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c
index b5e19575f1..cd7578faf3 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -592,9 +592,8 @@ impl_editExisting (PortableServer_Servant servant,
}
/* Look up the component */
-
editor = e_comp_editor_registry_find (comp_editor_registry, uid);
- if (editor != NULL) {
+ if (editor == NULL) {
edit_existing (oc, uid);
} else {
comp_editor_focus (editor);