diff options
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r-- | addressbook/backend/pas/pas-book-view.c | 18 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-book-view.h | 33 |
2 files changed, 35 insertions, 16 deletions
diff --git a/addressbook/backend/pas/pas-book-view.c b/addressbook/backend/pas/pas-book-view.c index 3bf35f439f..94babf6280 100644 --- a/addressbook/backend/pas/pas-book-view.c +++ b/addressbook/backend/pas/pas-book-view.c @@ -142,6 +142,24 @@ pas_book_view_notify_complete (PASBookView *book_view) CORBA_exception_free (&ev); } +void +pas_book_view_notify_status_message (PASBookView *book_view, + const char *message) +{ + CORBA_Environment ev; + + CORBA_exception_init (&ev); + + Evolution_BookViewListener_signal_status_message ( + book_view->priv->listener, message, &ev); + + if (ev._major != CORBA_NO_EXCEPTION) { + g_warning ("pas_book_view_notify_complete: Exception signaling BookViewListener!\n"); + } + + CORBA_exception_free (&ev); +} + static gboolean pas_book_view_construct (PASBookView *book_view, Evolution_BookViewListener listener) diff --git a/addressbook/backend/pas/pas-book-view.h b/addressbook/backend/pas/pas-book-view.h index b9cdbee876..df6aed5bbb 100644 --- a/addressbook/backend/pas/pas-book-view.h +++ b/addressbook/backend/pas/pas-book-view.h @@ -28,22 +28,23 @@ struct _PASBookView { struct _PASBookViewClass { BonoboObjectClass parent_class; }; - -PASBookView *pas_book_view_new (Evolution_BookViewListener listener); - -void pas_book_view_notify_change (PASBookView *book_view, - const GList *cards); -void pas_book_view_notify_change_1 (PASBookView *book_view, - const char *card); -void pas_book_view_notify_remove (PASBookView *book_view, - const char *id); -void pas_book_view_notify_add (PASBookView *book_view, - const GList *cards); -void pas_book_view_notify_add_1 (PASBookView *book_view, - const char *card); -void pas_book_view_notify_complete (PASBookView *book_view); - -GtkType pas_book_view_get_type (void); +PASBookView *pas_book_view_new (Evolution_BookViewListener listener); + +void pas_book_view_notify_change (PASBookView *book_view, + const GList *cards); +void pas_book_view_notify_change_1 (PASBookView *book_view, + const char *card); +void pas_book_view_notify_remove (PASBookView *book_view, + const char *id); +void pas_book_view_notify_add (PASBookView *book_view, + const GList *cards); +void pas_book_view_notify_add_1 (PASBookView *book_view, + const char *card); +void pas_book_view_notify_complete (PASBookView *book_view); +void pas_book_view_notify_status_message (PASBookView *book_view, + const char *message); + +GtkType pas_book_view_get_type (void); #define PAS_BOOK_VIEW_TYPE (pas_book_view_get_type ()) #define PAS_BOOK_VIEW(o) (GTK_CHECK_CAST ((o), PAS_BOOK_VIEW_TYPE, PASBookView)) |