From 68c272f8674a2c80dfaf049d5bcfb1fea1c16139 Mon Sep 17 00:00:00 2001 From: Jesse Pavel Date: Thu, 19 Oct 2000 20:45:22 +0000 Subject: *** empty log message *** svn path=/trunk/; revision=6050 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-meeting-dialog.glade | 11 ++++++++++- calendar/gui/event-editor.c | 10 ++++++++++ calendar/gui/event-editor.h | 2 ++ 4 files changed, 27 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4b89f4f8be..a222fbcc0f 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2000-10-19 Jesse Pavel + + * gui/event-editor.[ch]: added a public function which causes the + event editor to reload its widgets to the associated CalComponent. + 2000-10-19 Ettore Perazzoli * gui/Makefile.am: Add `event-editor-dialog.glade.h'. diff --git a/calendar/gui/e-meeting-dialog.glade b/calendar/gui/e-meeting-dialog.glade index 5f52030d71..96e6707013 100644 --- a/calendar/gui/e-meeting-dialog.glade +++ b/calendar/gui/e-meeting-dialog.glade @@ -66,7 +66,7 @@ Updates GtkButton Toolbar:button - button4 + cancel_button GNOME_STOCK_PIXMAP_CLOSE @@ -78,6 +78,15 @@ Meeting 12 58 + + + GtkButton + Toolbar:button + schedule_button + + GNOME_STOCK_PIXMAP_MULTIPLE + diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index 57242978e8..97e98db1b4 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -860,6 +860,16 @@ fill_widgets (EventEditor *ee) cal_component_free_exdate_list (list); } + +/* Tell the event editor to reread its widget values from the associated + CalComponent object. If one changes the CalComponent through a means other + than the GUI, one should call this function. */ +void +event_editor_update_widgets (EventEditor *ee) +{ + fill_widgets (ee); +} + /* Decode the radio button group for classifications */ diff --git a/calendar/gui/event-editor.h b/calendar/gui/event-editor.h index 009beb4dd5..b978eb8cd5 100644 --- a/calendar/gui/event-editor.h +++ b/calendar/gui/event-editor.h @@ -62,6 +62,8 @@ void event_editor_set_event_object (EventEditor *ee, CalComponent *comp); void event_editor_focus (EventEditor *ee); +void event_editor_update_widgets (EventEditor *ee); + #if 0 /* Convenience function to create and show a new event editor for an * event that goes from day_begin to day_end of the specified day. -- cgit v1.2.3