diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-meeting-dialog.glade | 11 | ||||
-rw-r--r-- | calendar/gui/event-editor.c | 10 | ||||
-rw-r--r-- | calendar/gui/event-editor.h | 2 |
3 files changed, 22 insertions, 1 deletions
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</label> <widget> <class>GtkButton</class> <child_name>Toolbar:button</child_name> - <name>button4</name> + <name>cancel_button</name> <label>Cancel Meeting</label> <stock_pixmap>GNOME_STOCK_PIXMAP_CLOSE</stock_pixmap> @@ -78,6 +78,15 @@ Meeting</label> <width>12</width> <height>58</height> </widget> + + <widget> + <class>GtkButton</class> + <child_name>Toolbar:button</child_name> + <name>schedule_button</name> + <label>Schedule +Time</label> + <stock_pixmap>GNOME_STOCK_PIXMAP_MULTIPLE</stock_pixmap> + </widget> </widget> <widget> 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. |