aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-menu.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-06 04:28:09 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-06 04:28:09 +0800
commit768eae4a4874a7fe0eada98423f61d84f6416bde (patch)
tree707977820ddbc47121fb107c8569cbb5bb2ef566 /src/ephy-encoding-menu.c
parent4e522c23a0650605cf8270f381ca10f2f35bbf78 (diff)
downloadgsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.gz
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.bz2
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.lz
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.xz
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.zst
gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.zip
*** empty log message ***
Diffstat (limited to 'src/ephy-encoding-menu.c')
-rw-r--r--src/ephy-encoding-menu.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c
index 47b20c3cd..54481dbd3 100644
--- a/src/ephy-encoding-menu.c
+++ b/src/ephy-encoding-menu.c
@@ -241,6 +241,10 @@ ephy_encoding_menu_rebuild (EphyEncodingMenu *wrhm)
GList *groups, *gl;
EggMenuMerge *merge = EGG_MENU_MERGE (p->window->ui_merge);
int group_index = 0, charset_index = 0;
+ EphyEmbedSingle *single;
+
+ single = ephy_embed_shell_get_embed_single
+ (EPHY_EMBED_SHELL (ephy_shell));
LOG ("Rebuilding encoding menu")
@@ -252,7 +256,7 @@ ephy_encoding_menu_rebuild (EphyEncodingMenu *wrhm)
p->action_group = egg_action_group_new ("EncodingActions");
egg_menu_merge_insert_action_group (merge, p->action_group, 0);
- ephy_embed_shell_get_charset_groups (embed_shell, &groups);
+ ephy_embed_single_get_charset_groups (single, &groups);
for (gl = groups; gl != NULL; gl = gl->next)
{
@@ -261,9 +265,9 @@ ephy_encoding_menu_rebuild (EphyEncodingMenu *wrhm)
build_group (p->action_group, xml, group, group_index);
- ephy_embed_shell_get_charset_titles (embed_shell,
- group,
- &charsets);
+ ephy_embed_single_get_charset_titles (single,
+ group,
+ &charsets);
for (cl = charsets; cl != NULL; cl = cl->next)
{