diff options
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 15 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.h | 9 |
2 files changed, 20 insertions, 4 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 0ebe11a513..e65e9b9efb 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/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/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h index fae6939595..a2067b1a88 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.h +++ b/addressbook/gui/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 } |