diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-09-22 21:14:10 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-09-22 21:14:10 +0800 |
commit | 97502c28df8b4a419b7230c19338b087b161f423 (patch) | |
tree | b1c0e3eaa854990ed0f06f78ecd61d9ec8bd892a /addressbook/backend/pas | |
parent | 2a20e41b574fa96a513a0a8faa4544cbef895146 (diff) | |
download | gsoc2013-evolution-97502c28df8b4a419b7230c19338b087b161f423.tar gsoc2013-evolution-97502c28df8b4a419b7230c19338b087b161f423.tar.gz gsoc2013-evolution-97502c28df8b4a419b7230c19338b087b161f423.tar.bz2 gsoc2013-evolution-97502c28df8b4a419b7230c19338b087b161f423.tar.lz gsoc2013-evolution-97502c28df8b4a419b7230c19338b087b161f423.tar.xz gsoc2013-evolution-97502c28df8b4a419b7230c19338b087b161f423.tar.zst gsoc2013-evolution-97502c28df8b4a419b7230c19338b087b161f423.zip |
Added a function to set the status message associated with a given view.
2000-09-22 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book-view-listener.c,
backend/ebook/e-book-view-listener.h, backend/ebook/e-book-view.c,
backend/ebook/e-book-view.h, backend/idl/addressbook.idl,
backend/pas/pas-book-view.c, backend/pas/pas-book-view.h: Added a
function to set the status message associated with a given view.
This is not yet implemented in the gui.
svn path=/trunk/; revision=5549
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)) |