aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-07-07 05:23:53 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-07-07 05:23:53 +0800
commit85eb30010f3cc1d299628636df24da7b163002a5 (patch)
tree4d5e3f8c4c48cb70f82e325c20bb2bfc968efcb8 /calendar/gui/dialogs/comp-editor.c
parente6d686b05535b925f21f6e16d0f027038c158923 (diff)
downloadgsoc2013-evolution-85eb30010f3cc1d299628636df24da7b163002a5.tar
gsoc2013-evolution-85eb30010f3cc1d299628636df24da7b163002a5.tar.gz
gsoc2013-evolution-85eb30010f3cc1d299628636df24da7b163002a5.tar.bz2
gsoc2013-evolution-85eb30010f3cc1d299628636df24da7b163002a5.tar.lz
gsoc2013-evolution-85eb30010f3cc1d299628636df24da7b163002a5.tar.xz
gsoc2013-evolution-85eb30010f3cc1d299628636df24da7b163002a5.tar.zst
gsoc2013-evolution-85eb30010f3cc1d299628636df24da7b163002a5.zip
connect to the entry not the combo
2001-07-06 JP Rosevear <jpr@ximian.com> * 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
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 9668e538aa..d9d5752eaf 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -638,6 +638,32 @@ comp_editor_merge_ui (CompEditor *editor, const char *filename, BonoboUIVerb *ve
bonobo_ui_component_add_verb_list_with_data (priv->uic, verbs, editor);
}
+/**
+ * comp_editor_set_ui_prop:
+ * @editor:
+ * @path:
+ * @attr:
+ * @val:
+ *
+ *
+ **/
+void
+comp_editor_set_ui_prop (CompEditor *editor,
+ const char *path,
+ const char *attr,
+ const char *val)
+{
+ CompEditorPrivate *priv;
+
+ g_return_if_fail (editor != NULL);
+ g_return_if_fail (IS_COMP_EDITOR (editor));
+
+ priv = editor->priv;
+
+ bonobo_ui_component_set_prop (priv->uic, path, attr, val, NULL);
+}
+
+
/* Brings attention to a window by raising it and giving it focus */
static void
raise_and_focus (GtkWidget *widget)