From 85eb30010f3cc1d299628636df24da7b163002a5 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 6 Jul 2001 21:23:53 +0000 Subject: connect to the entry not the combo 2001-07-06 JP Rosevear * gui/dialogs/meeting-page.c (init_widgets): connect to the entry not the combo * gui/dialogs/event-editor.c (set_menu_sens): set menu sensitivities based on whether or not the meeting page is shown (event_editor_init): call above (event_editor_edit_comp): ditto (schedule_meeting_cmd): ditto * gui/dialogs/comp-editor.h: new proto * gui/dialogs/comp-editor.c (comp_editor_set_ui_prop): new function to allow for set of ui props (esp. "sensitive") svn path=/trunk/; revision=10861 --- calendar/gui/dialogs/comp-editor.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'calendar/gui/dialogs/comp-editor.h') diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index cf24a2befb..12cfa64031 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -54,6 +54,7 @@ typedef struct { /* Virtual functions */ void (* edit_comp) (CompEditor *page, CalComponent *comp); } CompEditorClass; + GtkType comp_editor_get_type (void); CompEditor *comp_editor_new (void); void comp_editor_append_page (CompEditor *editor, @@ -76,11 +77,12 @@ void comp_editor_send_comp (CompEditor *editor, void comp_editor_merge_ui (CompEditor *editor, const char *filename, BonoboUIVerb *verbs); +void comp_editor_set_ui_prop (CompEditor *editor, + const char *path, + const char *attr, + const char *val); void comp_editor_focus (CompEditor *editor); - - - END_GNOME_DECLS -- cgit v1.2.3