diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-web-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index afbe2d9455..3a3e62b13b 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -365,9 +365,11 @@ web_view_menu_item_select_cb (EWebView *web_view, GtkWidget *widget) { GtkAction *action; + GtkActivatable *activatable; const gchar *tooltip; - action = gtk_widget_get_action (widget); + activatable = GTK_ACTIVATABLE (widget); + action = gtk_activatable_get_related_action (activatable); tooltip = gtk_action_get_tooltip (action); if (tooltip == NULL) |