aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-shell.c
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2005-01-25 06:48:05 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2005-01-25 06:48:05 +0800
commit2fe563af75ec8d4fc0127a6385307775dd2df368 (patch)
tree58d57a99115e048d80b157fb7124c46dfb53c636 /embed/ephy-embed-shell.c
parentcd81c004a5fd5299e795ffd1fec4413e8b2e3300 (diff)
downloadgsoc2013-epiphany-2fe563af75ec8d4fc0127a6385307775dd2df368.tar
gsoc2013-epiphany-2fe563af75ec8d4fc0127a6385307775dd2df368.tar.gz
gsoc2013-epiphany-2fe563af75ec8d4fc0127a6385307775dd2df368.tar.bz2
gsoc2013-epiphany-2fe563af75ec8d4fc0127a6385307775dd2df368.tar.lz
gsoc2013-epiphany-2fe563af75ec8d4fc0127a6385307775dd2df368.tar.xz
gsoc2013-epiphany-2fe563af75ec8d4fc0127a6385307775dd2df368.tar.zst
gsoc2013-epiphany-2fe563af75ec8d4fc0127a6385307775dd2df368.zip
Add a alert when the user clicks on a sidebar link, telling that the
2005-01-24 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-shell.c: (impl_get_embed_single), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * src/ephy-shell.c: (ephy_shell_class_init), (ephy_shell_add_sidebar_cb), (impl_get_embed_single): Add a alert when the user clicks on a sidebar link, telling that the sidebar extension is required. Fixes bug #162685
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r--embed/ephy-embed-shell.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 4802438a0..0dbb568af 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -169,8 +169,8 @@ ephy_embed_shell_get_downloader_view (EphyEmbedShell *shell)
return G_OBJECT (shell->priv->downloader_view);
}
-GObject *
-ephy_embed_shell_get_embed_single (EphyEmbedShell *shell)
+static GObject *
+impl_get_embed_single (EphyEmbedShell *shell)
{
g_return_val_if_fail (EPHY_IS_EMBED_SHELL (shell), NULL);
@@ -184,6 +184,14 @@ ephy_embed_shell_get_embed_single (EphyEmbedShell *shell)
}
GObject *
+ephy_embed_shell_get_embed_single (EphyEmbedShell *shell)
+{
+ EphyEmbedShellClass *klass = EPHY_EMBED_SHELL_GET_CLASS (shell);
+
+ return klass->get_embed_single (shell);
+}
+
+GObject *
ephy_embed_shell_get_encodings (EphyEmbedShell *shell)
{
g_return_val_if_fail (EPHY_IS_EMBED_SHELL (shell), NULL);
@@ -215,5 +223,7 @@ ephy_embed_shell_class_init (EphyEmbedShellClass *klass)
object_class->finalize = ephy_embed_shell_finalize;
+ klass->get_embed_single = impl_get_embed_single;
+
g_type_class_add_private (object_class, sizeof (EphyEmbedShellPrivate));
}