diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-encoding-menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c index afac4fc47..b5e6ea90e 100644 --- a/src/ephy-encoding-menu.c +++ b/src/ephy-encoding-menu.c @@ -159,7 +159,7 @@ update_encoding_menu_cb (GtkAction *dummy, EphyEncodingMenu *menu) /* get most recently used encodings */ recent = ephy_encodings_get_recent (p->encodings); - embed = ephy_window_get_active_embed (p->window); + embed = ephy_window_get_active_tab (p->window); encoding = ephy_embed_get_encoding (embed); if (encoding == NULL) goto build_menu; @@ -271,7 +271,7 @@ encoding_activate_cb (GtkAction *action, EphyEncodingMenu *menu) name = gtk_action_get_name (GTK_ACTION (action)); encoding = name + strlen("Encoding"); - embed = ephy_window_get_active_embed (menu->priv->window); + embed = ephy_window_get_active_tab (menu->priv->window); ephy_embed_set_encoding (embed, encoding); @@ -340,7 +340,7 @@ ephy_encoding_menu_automatic_cb (GtkAction *action, EphyEncodingMenu *menu) return; } - embed = ephy_window_get_active_embed (menu->priv->window); + embed = ephy_window_get_active_tab (menu->priv->window); /* setting "" will clear the forced encoding */ ephy_embed_set_encoding (embed, ""); |