diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-18 23:58:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-18 23:58:01 +0800 |
commit | aba053264da43f60b0628077e79cd52e3d78394a (patch) | |
tree | 5aa84f8f32a792c138a1528c8c15926a80e29062 /src/ephy-encoding-menu.c | |
parent | 9266e975fc38af05bf2a7d1329d7b530ef2c6ba0 (diff) | |
download | gsoc2013-epiphany-aba053264da43f60b0628077e79cd52e3d78394a.tar.gz gsoc2013-epiphany-aba053264da43f60b0628077e79cd52e3d78394a.tar.zst gsoc2013-epiphany-aba053264da43f60b0628077e79cd52e3d78394a.zip |
Factor out the common encoding is_automatic check.
2003-12-18 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-encodings.c: (ephy_encoding_info_is_automatic):
* embed/ephy-encodings.h:
* src/ephy-encoding-dialog.c: (sync_embed_cb):
* src/ephy-encoding-menu.c: (update_encoding_menu_cb):
Factor out the common encoding is_automatic check.
Diffstat (limited to 'src/ephy-encoding-menu.c')
-rw-r--r-- | src/ephy-encoding-menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c index 4c5901bf4..2b26d4fb7 100644 --- a/src/ephy-encoding-menu.c +++ b/src/ephy-encoding-menu.c @@ -200,7 +200,7 @@ update_encoding_menu_cb (GtkAction *dummy, EphyEncodingMenu *menu) gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE); /* check if encoding was overridden */ - is_automatic = (info->encoding_source < EMBED_ENCODING_PARENT_FORCED); + is_automatic = ephy_encoding_info_is_automatic (info); action = gtk_action_group_get_action (p->action_group, "ViewEncodingAutomatic"); |