From 6743dacd6c2de056f80300f3e378bed07cfdf4e4 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 14 Feb 2001 22:34:36 +0000 Subject: Undefine E_STRING_PROP and E_LIST_PROP here. 2001-02-14 Christopher James Lahey * backend/pas/pas-backend-ldap.c: Undefine E_STRING_PROP and E_LIST_PROP here. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h (e_contact_editor_raise): Added this function. * gui/widgets/e-minicard.c, gui/widgets/e-minicard.h (e_minicard_event): Added an editor field to the EMinicard object. Made it so that if you double click on the same card twice, it doesn't open a new window, but instead raises the old. 2001-02-08 Iain Holmes * gui/component/addressbook-storage.c (addressbook_source_free): Free the ldap.binddn. * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Free the dir strings. 2001-02-08 Christopher James Lahey * contact-editor/e-contact-editor.c (categories_clicked): Set the header on the category dialog we pop up. svn path=/trunk/; revision=8234 --- addressbook/contact-editor/e-contact-editor.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'addressbook/contact-editor/e-contact-editor.c') diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c index 0ebe11a513..e65e9b9efb 100644 --- a/addressbook/contact-editor/e-contact-editor.c +++ b/addressbook/contact-editor/e-contact-editor.c @@ -570,6 +570,9 @@ categories_clicked(GtkWidget *button, EContactEditor *editor) "categories", &categories, NULL); dialog = GNOME_DIALOG(e_categories_new(categories)); + gtk_object_set(GTK_OBJECT(dialog), + "header", _("This contact belongs to these categories:"), + NULL); gtk_widget_show(GTK_WIDGET(dialog)); result = gnome_dialog_run (dialog); g_free (categories); @@ -1786,3 +1789,15 @@ extract_info(EContactEditor *editor) } } } + +/** + * e_contact_editor_raise: + * @config: The %EContactEditor object. + * + * Raises the dialog associated with this %EContactEditor object. + */ +void +e_contact_editor_raise (EContactEditor *editor) +{ + gdk_window_raise (GTK_WIDGET (editor->app)->window); +} -- cgit v1.2.3