diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-16 00:15:10 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-16 00:15:10 +0800 |
commit | d5b5f70b1cca8ea489ca5be9900d0b47275b5a23 (patch) | |
tree | d797809cd8b2903ba01dde9b147b1a65291d5b32 /embed/ephy-embed.c | |
parent | 41eafad36cb938d63f242ccd8dc2ad4988653614 (diff) | |
download | gsoc2013-epiphany-d5b5f70b1cca8ea489ca5be9900d0b47275b5a23.tar gsoc2013-epiphany-d5b5f70b1cca8ea489ca5be9900d0b47275b5a23.tar.gz gsoc2013-epiphany-d5b5f70b1cca8ea489ca5be9900d0b47275b5a23.tar.bz2 gsoc2013-epiphany-d5b5f70b1cca8ea489ca5be9900d0b47275b5a23.tar.lz gsoc2013-epiphany-d5b5f70b1cca8ea489ca5be9900d0b47275b5a23.tar.xz gsoc2013-epiphany-d5b5f70b1cca8ea489ca5be9900d0b47275b5a23.tar.zst gsoc2013-epiphany-d5b5f70b1cca8ea489ca5be9900d0b47275b5a23.zip |
Shift+F10 show context menus on the embed. (Less invasive way until
2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-embed-event.c: (ephy_embed_event_init):
* embed/ephy-embed-event.h:
* embed/ephy-embed-popup-bw.c: (popup_menu_at_coords),
(ephy_embed_popup_bw_show_impl):
* embed/ephy-embed.c: (ephy_embed_base_init):
* embed/ephy-embed.h:
* embed/mozilla/EventContext.cpp:
* embed/mozilla/EventContext.h:
* embed/mozilla/mozilla-embed.cpp:
* src/ephy-tab.c: (popup_menu_at_coords),
(ephy_tab_show_embed_popup), (ephy_tab_context_menu_cb),
(ephy_tab_init):
Shift+F10 show context menus on the embed.
(Less invasive way until gtkmozembed has a context_menu
signal)
From galeon.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 3360e9e67..ebc33b833 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -29,6 +29,7 @@ enum { NEW_WINDOW, + CONTEXT_MENU, LINK_MESSAGE, FAVICON, JS_STATUS, @@ -108,6 +109,16 @@ ephy_embed_base_init (gpointer g_class) G_TYPE_NONE, 1, G_TYPE_STRING); + ephy_embed_signals[CONTEXT_MENU] = + g_signal_new ("ge_context_menu", + EPHY_EMBED_TYPE, + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (EphyEmbedClass, context_menu), + NULL, NULL, + ephy_marshal_INT__OBJECT, + G_TYPE_INT, + 1, + G_TYPE_OBJECT); ephy_embed_signals[FAVICON] = g_signal_new ("ge_favicon", EPHY_EMBED_TYPE, |