aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/meeting-page.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-24 11:10:28 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-24 11:10:28 +0800
commitba64403a4fef604cc3aaea6bff35b8275f30cfb1 (patch)
treeb70d44379ed65132f7881458b1859a6209386f00 /calendar/gui/dialogs/meeting-page.c
parentee568bb74f887c3322f0729dedb81a1abdd6c025 (diff)
downloadgsoc2013-evolution-ba64403a4fef604cc3aaea6bff35b8275f30cfb1.tar
gsoc2013-evolution-ba64403a4fef604cc3aaea6bff35b8275f30cfb1.tar.gz
gsoc2013-evolution-ba64403a4fef604cc3aaea6bff35b8275f30cfb1.tar.bz2
gsoc2013-evolution-ba64403a4fef604cc3aaea6bff35b8275f30cfb1.tar.lz
gsoc2013-evolution-ba64403a4fef604cc3aaea6bff35b8275f30cfb1.tar.xz
gsoc2013-evolution-ba64403a4fef604cc3aaea6bff35b8275f30cfb1.tar.zst
gsoc2013-evolution-ba64403a4fef604cc3aaea6bff35b8275f30cfb1.zip
Don't warn if calendar isn't loaded... Doesn't seem to hurt, but this
2003-02-23 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-client.c (cal_client_is_read_only): Don't warn if calendar isn't loaded... Doesn't seem to hurt, but this should probably be investigated further. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): If we have no contacts, don't bother trying to set them in the widget. Used to pass a NULL list, which would lead to much anxiety in callees. * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): If we have no potential organizers, emit a sensible warning. * gui/dialogs/task-page.c (init_widgets): Don't try to connect to the "changed" signal of the GtkTextView -- we listen to the GtkTextBuffer now. svn path=/trunk/; revision=20019
Diffstat (limited to 'calendar/gui/dialogs/meeting-page.c')
-rw-r--r--calendar/gui/dialogs/meeting-page.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c
index d7c1320704..bb42eb2d03 100644
--- a/calendar/gui/dialogs/meeting-page.c
+++ b/calendar/gui/dialogs/meeting-page.c
@@ -319,7 +319,10 @@ meeting_page_fill_widgets (CompEditorPage *page, CalComponent *comp)
priv->comp = cal_component_clone (comp);
/* List the user identities for default organizers */
- gtk_combo_set_popdown_strings (GTK_COMBO (priv->organizer), priv->address_strings);
+ if (priv->address_strings)
+ gtk_combo_set_popdown_strings (GTK_COMBO (priv->organizer), priv->address_strings);
+ else
+ g_warning ("No potential organizers!");
/* If there is an existing organizer show it properly */
if (cal_component_has_organizer (comp)) {