diff options
author | Xan Lopez <xan@gnome.org> | 2010-05-18 22:15:04 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-05-19 00:08:47 +0800 |
commit | 50c36fdf1c4224c4b2e2a97d635fd9184af7519d (patch) | |
tree | eadebb97adf09336a6917f543efea34fc1ea4daa /src | |
parent | 71ec9b46c22a8c5f6fa174aed77c54006e9089ea (diff) | |
download | gsoc2013-epiphany-50c36fdf1c4224c4b2e2a97d635fd9184af7519d.tar.gz gsoc2013-epiphany-50c36fdf1c4224c4b2e2a97d635fd9184af7519d.tar.zst gsoc2013-epiphany-50c36fdf1c4224c4b2e2a97d635fd9184af7519d.zip |
Do not hardcode the statusbar context descriptions
Define them in the EphyWebView header, since we'll need to create the
context ids from multiple files.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index d49b3f10b..a627dc554 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -495,9 +495,9 @@ impl_add_child (EphyEmbedContainer *container, view = ephy_embed_get_web_view (child); window->priv->tab_message_cid = ephy_web_view_statusbar_get_context_id - (view, "tab_message"); + (view, TAB_MESSAGE_CONTEXT_DESCRIPTION); window->priv->help_message_cid = ephy_web_view_statusbar_get_context_id - (view, "help_message"); + (view, HELP_MESSAGE_CONTEXT_DESCRIPTION); return ephy_notebook_add_tab (EPHY_NOTEBOOK (window->priv->notebook), child, position, jump_to); |