aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-07-27 00:18:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-07-27 00:18:03 +0800
commit6651d98ae36bc2565d5d6bb6914dc397278e00fd (patch)
tree0b95fe7af97965a10e3751682aa74c8dc85ee1dc /calendar
parent3c92b86460dce7b6e8d19de939ce4a65a01b55b7 (diff)
downloadgsoc2013-evolution-6651d98ae36bc2565d5d6bb6914dc397278e00fd.tar
gsoc2013-evolution-6651d98ae36bc2565d5d6bb6914dc397278e00fd.tar.gz
gsoc2013-evolution-6651d98ae36bc2565d5d6bb6914dc397278e00fd.tar.bz2
gsoc2013-evolution-6651d98ae36bc2565d5d6bb6914dc397278e00fd.tar.lz
gsoc2013-evolution-6651d98ae36bc2565d5d6bb6914dc397278e00fd.tar.xz
gsoc2013-evolution-6651d98ae36bc2565d5d6bb6914dc397278e00fd.tar.zst
gsoc2013-evolution-6651d98ae36bc2565d5d6bb6914dc397278e00fd.zip
focus the editor if it does exist, create a new one if it doesn't (not
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) svn path=/trunk/; revision=17603
Diffstat (limited to 'calendar')
-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);