From 4942d62b873cfac27dc8e4bf3c800f22e0890d0c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 08 Sep 2005 09:44:27 +0000 Subject: Add a signal for link activation. 2005-09-08 Marco Pesenti Gritti * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init), (selection_changed_callback): * shell/ev-sidebar-links.h: Add a signal for link activation. * shell/ev-view.c: (ev_view_goto_link), (ev_view_button_release_event): * shell/ev-view.h: * shell/ev-window.c: (sidebar_links_link_activated_cb), (ev_window_init): Implement the signal so that we can handle all link types. * shell/ev-page-cache.c: Remove unused set_link function --- (limited to 'shell/ev-sidebar-links.h') diff --git a/shell/ev-sidebar-links.h b/shell/ev-sidebar-links.h index b9691e3..533f99c 100644 --- a/shell/ev-sidebar-links.h +++ b/shell/ev-sidebar-links.h @@ -48,6 +48,9 @@ struct _EvSidebarLinks { struct _EvSidebarLinksClass { GtkVBoxClass base_class; + + void (* link_activated) (EvSidebarLinks *sidebar_links, + EvLink *link); }; GType ev_sidebar_links_get_type (void); -- cgit v0.9.1