diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-08-17 13:37:09 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-08-17 13:37:09 +0800 |
commit | 1ba7c298c282b4775c29c80214009876e943648d (patch) | |
tree | 1c686f02b2c4850ad1214739fe76bf48e807f598 /libempathy-gtk/empathy-webkit-utils.h | |
parent | ede83c3b09c25b9e08c0aa54d842d844b582e0d8 (diff) | |
download | gsoc2013-empathy-1ba7c298c282b4775c29c80214009876e943648d.tar gsoc2013-empathy-1ba7c298c282b4775c29c80214009876e943648d.tar.gz gsoc2013-empathy-1ba7c298c282b4775c29c80214009876e943648d.tar.bz2 gsoc2013-empathy-1ba7c298c282b4775c29c80214009876e943648d.tar.lz gsoc2013-empathy-1ba7c298c282b4775c29c80214009876e943648d.tar.xz gsoc2013-empathy-1ba7c298c282b4775c29c80214009876e943648d.tar.zst gsoc2013-empathy-1ba7c298c282b4775c29c80214009876e943648d.zip |
Factor out WebKit context menu as a utility
Diffstat (limited to 'libempathy-gtk/empathy-webkit-utils.h')
-rw-r--r-- | libempathy-gtk/empathy-webkit-utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-webkit-utils.h b/libempathy-gtk/empathy-webkit-utils.h index 5ba0a840a..322f94c32 100644 --- a/libempathy-gtk/empathy-webkit-utils.h +++ b/libempathy-gtk/empathy-webkit-utils.h @@ -27,9 +27,15 @@ G_BEGIN_DECLS +typedef enum { + EMPATHY_WEBKIT_MENU_CLEAR = 1 << 0, +} EmpathyWebKitMenuFlags; + EmpathyStringParser *empathy_webkit_get_string_parser (gboolean smileys); void empathy_webkit_bind_font_setting (WebKitWebView *webview, GSettings *gsettings, const char *key); +void empathy_webkit_context_menu_for_event (WebKitWebView *view, + GdkEventButton *event, EmpathyWebKitMenuFlags flags); G_END_DECLS |