diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-10-12 01:36:32 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-10-12 01:36:32 +0800 |
commit | 0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2 (patch) | |
tree | 0ea5527c72c09963efef6ae55938c3b36969ad04 /embed/ephy-embed.h | |
parent | 6c4b99d210e3391080ce18502a507dc38869189c (diff) | |
download | gsoc2013-epiphany-0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2.tar gsoc2013-epiphany-0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2.tar.gz gsoc2013-epiphany-0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2.tar.bz2 gsoc2013-epiphany-0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2.tar.lz gsoc2013-epiphany-0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2.tar.xz gsoc2013-epiphany-0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2.tar.zst gsoc2013-epiphany-0b5f13ef5a9f6a28812cfa959ad9f5b786312ad2.zip |
Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, and
2003-10-11 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-embed.c: (ephy_embed_get_encoding):
* embed/ephy-embed.h:
* embed/mozilla/EphyWrapper.cpp:
* embed/mozilla/EphyWrapper.h:
* embed/mozilla/mozilla-embed.cpp:
* src/ephy-encoding-menu.c: (ephy_encoding_menu_verb_cb),
(update_encoding_menu_cb), (ephy_encoding_menu_set_window):
Encoding menu improvements, part 2: Implement ephy_embed_get_encoding,
and use it in the menu to indicate the encoding of the loaded page.
Diffstat (limited to 'embed/ephy-embed.h')
-rw-r--r-- | embed/ephy-embed.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index 07daea595..5bcac1ae1 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -270,6 +270,8 @@ struct EphyEmbedClass gint pageNum); gresult (* set_encoding) (EphyEmbed *embed, const char *encoding); + gresult (* get_encoding) (EphyEmbed *embed, + char **encoding); }; GType ephy_embed_get_type (void); @@ -390,6 +392,9 @@ gresult ephy_embed_find_next (EphyEmbed *embed, gresult ephy_embed_set_encoding (EphyEmbed *embed, const char *encoding); +gresult ephy_embed_get_encoding (EphyEmbed *embed, + char **encoding); + gresult ephy_embed_activate (EphyEmbed *embed); /* Printing */ |