From 88ec7e43a81072ea4d48ce91e6bf018a14c311a6 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 13 Jan 2005 19:11:28 +0000 Subject: View status message support, use it to show the links. Needs work... 2005-01-13 Marco Pesenti Gritti * pixbuf/pixbuf-document.c: (pixbuf_document_get_link), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_get_link), (ps_document_document_iface_init): * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event), (status_message_from_link), (ev_view_set_status), (ev_view_set_find_status), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_get_find_status_message), (update_find_results), (ev_view_get_status), (ev_view_get_find_status): * shell/ev-view.h: * shell/ev-window.c: (view_status_changed_cb), (view_find_status_changed_cb), (ev_window_init): View status message support, use it to show the links. Needs work... --- (limited to 'shell/ev-view.h') diff --git a/shell/ev-view.h b/shell/ev-view.h index 97eb983..0e7237d 100644 --- a/shell/ev-view.h +++ b/shell/ev-view.h @@ -32,7 +32,6 @@ G_BEGIN_DECLS #define EV_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_VIEW, EvView)) #define EV_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_VIEW)) - typedef struct _EvView EvView; typedef struct _EvViewClass EvViewClass; @@ -63,7 +62,9 @@ void ev_view_normal_size (EvView *view); void ev_view_best_fit (EvView *view); void ev_view_fit_width (EvView *view); -char* ev_view_get_find_status_message (EvView *view); +/* Status */ +const char *ev_view_get_status (EvView *view); +const char *ev_view_get_find_status (EvView *view); G_END_DECLS -- cgit v0.9.1