Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-page-action.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-05-11 09:42:22 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-05-11 09:42:22 (GMT)
commit39d906d93b5e9e0929fec8d3ef322f9597adee78 (patch)
tree4d456abb8d9d7733540452276d35d4f7ffa8734e /shell/ev-page-action.h
parentf0f15671240dd6e99f22e91386bd384246f2d4cd (diff)
Use signals to notify action activation. Hopefully I did not break
2005-05-11 Marco Pesenti Gritti <mpg@redhat.com> * 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.
Diffstat (limited to 'shell/ev-page-action.h')
-rw-r--r--shell/ev-page-action.h6
1 files changed, 4 insertions, 2 deletions
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);