From 39d906d93b5e9e0929fec8d3ef322f9597adee78 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 11 May 2005 09:42:22 +0000 Subject: Use signals to notify action activation. Hopefully I did not break 2005-05-11 Marco Pesenti Gritti * shell/ev-marshal.list: * shell/ev-page-action.c: (ev_page_action_widget_class_init), (activate_cb), (match_selected_cb), (activate_link_cb), (connect_proxy), (ev_page_action_class_init): * shell/ev-page-action.h: Use signals to notify action activation. Hopefully I did not break completion since I cant test... * shell/ev-window.c: (activate_link_cb), (activate_label_cb), (register_custom_actions): Connect to page selector actions and also grab focus on the view when activated. --- (limited to 'shell/ev-page-action.h') diff --git a/shell/ev-page-action.h b/shell/ev-page-action.h index 8ac0d54..c8b30ba 100644 --- a/shell/ev-page-action.h +++ b/shell/ev-page-action.h @@ -51,8 +51,10 @@ struct _EvPageActionClass { GtkActionClass parent_class; - void (* goto_page) (EvPageAction *page_action, - int page_number); + void (* activate_link) (EvPageAction *page_action, + EvLink *link); + gboolean (*activate_label) (EvPageAction *page_action, + char *label); }; GType ev_page_action_get_type (void); -- cgit v0.9.1