aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/contact-editor
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-15 06:34:36 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-15 06:34:36 +0800
commit6743dacd6c2de056f80300f3e378bed07cfdf4e4 (patch)
tree2868e21d6f7aed4f116f3425f70b90b28165b3d6 /addressbook/contact-editor
parent4029db7b4c554fb76d22d5aa8a8a841c4887d592 (diff)
downloadgsoc2013-evolution-6743dacd6c2de056f80300f3e378bed07cfdf4e4.tar
gsoc2013-evolution-6743dacd6c2de056f80300f3e378bed07cfdf4e4.tar.gz
gsoc2013-evolution-6743dacd6c2de056f80300f3e378bed07cfdf4e4.tar.bz2
gsoc2013-evolution-6743dacd6c2de056f80300f3e378bed07cfdf4e4.tar.lz
gsoc2013-evolution-6743dacd6c2de056f80300f3e378bed07cfdf4e4.tar.xz
gsoc2013-evolution-6743dacd6c2de056f80300f3e378bed07cfdf4e4.tar.zst
gsoc2013-evolution-6743dacd6c2de056f80300f3e378bed07cfdf4e4.zip
Undefine E_STRING_PROP and E_LIST_PROP here.
2001-02-14 Christopher James Lahey <clahey@ximian.com> * 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 <iain@ximian.com> * 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 <clahey@ximian.com> * contact-editor/e-contact-editor.c (categories_clicked): Set the header on the category dialog we pop up. svn path=/trunk/; revision=8234
Diffstat (limited to 'addressbook/contact-editor')
-rw-r--r--addressbook/contact-editor/e-contact-editor.c15
-rw-r--r--addressbook/contact-editor/e-contact-editor.h9
2 files changed, 20 insertions, 4 deletions
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);
+}
diff --git a/addressbook/contact-editor/e-contact-editor.h b/addressbook/contact-editor/e-contact-editor.h
index fae6939595..a2067b1a88 100644
--- a/addressbook/contact-editor/e-contact-editor.h
+++ b/addressbook/contact-editor/e-contact-editor.h
@@ -99,12 +99,13 @@ struct _EContactEditorClass
void (* editor_closed) (EContactEditor *ce);
};
+EContactEditor *e_contact_editor_new (ECard *card,
+ gboolean is_new_card);
+GtkType e_contact_editor_get_type (void);
+void e_contact_editor_raise (EContactEditor *editor);
-EContactEditor *e_contact_editor_new (ECard *card, gboolean is_new_card);
-GtkType e_contact_editor_get_type (void);
-
-gboolean e_contact_editor_confirm_delete(GtkWindow *parent);
+gboolean e_contact_editor_confirm_delete (GtkWindow *parent);
#ifdef __cplusplus
}