From 98a3ac0e6c55a4bcb3c043b916c5df1faff98f7c Mon Sep 17 00:00:00 2001
From: Jesse Pavel <jpavel@src.gnome.org>
Date: Wed, 27 Sep 2000 22:17:19 +0000
Subject: *** empty log message ***

svn path=/trunk/; revision=5603
---
 calendar/gui/event-editor.c | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

(limited to 'calendar/gui/event-editor.c')

diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c
index 92d843ce89..5f7b693be3 100644
--- a/calendar/gui/event-editor.c
+++ b/calendar/gui/event-editor.c
@@ -29,6 +29,7 @@
 #include <gal/widgets/e-unicode.h>
 #include <cal-util/timeutil.h>
 #include "event-editor.h"
+#include "e-meeting-edit.h"
 
 
 
@@ -1147,14 +1148,28 @@ file_close_cb (GtkWidget *widget, gpointer data)
 	close_dialog (ee);
 }
 
-
+static void
+schedule_meeting_cb (GtkWidget *widget, gpointer data)
+{
+	EventEditor *ee;
+	EventEditorPrivate *priv;
+
+	ee = EVENT_EDITOR (data);
+
+	g_return_if_fail (IS_EVENT_EDITOR (ee));
+
+	priv = (EventEditorPrivate *)ee->priv;
+
+	e_meeting_edit (priv->comp, priv->client);
+}
+
+
+
+
 
 /* Menu bar */
 
 static GnomeUIInfo file_new_menu[] = {
-	GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Appointment"), NULL, NULL),
-	GNOMEUIINFO_ITEM_NONE (N_("FIXME: Meeting Re_quest"), NULL, NULL),
-	GNOMEUIINFO_SEPARATOR,
 	GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Mail Message"), NULL, NULL),
 	GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Contact"), NULL, NULL),
 	GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Task"), NULL, NULL),
@@ -1297,8 +1312,7 @@ static GnomeUIInfo actions_menu[] = {
 	GNOMEUIINFO_SEPARATOR,
 	GNOMEUIINFO_ITEM_NONE (N_("FIXME: Rec_urrence..."), NULL, NULL),
 	GNOMEUIINFO_SEPARATOR,
-	GNOMEUIINFO_ITEM_NONE (N_("FIXME: Invite _Attendees..."), NULL, NULL),
-	GNOMEUIINFO_ITEM_NONE (N_("FIXME: C_ancel Invitation..."), NULL, NULL),
+	GNOMEUIINFO_ITEM_NONE (N_("Schedule _Meeting..."), NULL, schedule_meeting_cb),
 	GNOMEUIINFO_SEPARATOR,
 	GNOMEUIINFO_ITEM_NONE (N_("FIXME: Forward as v_Calendar"), NULL, NULL),
 	GNOMEUIINFO_ITEM_NONE (N_("FIXME: For_ward"), NULL, NULL),
-- 
cgit