aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-05-14 09:22:00 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-05-14 20:05:38 +0800
commit108762f002b78829918460889de3420d6fef175c (patch)
tree44738338a1dd4a69b57f512098f59a79d8ef51cf /src/ephy-shell.c
parentabd94433fed0d0981ed3d3797f355d2ef5d1053c (diff)
downloadgsoc2013-epiphany-108762f002b78829918460889de3420d6fef175c.tar
gsoc2013-epiphany-108762f002b78829918460889de3420d6fef175c.tar.gz
gsoc2013-epiphany-108762f002b78829918460889de3420d6fef175c.tar.bz2
gsoc2013-epiphany-108762f002b78829918460889de3420d6fef175c.tar.lz
gsoc2013-epiphany-108762f002b78829918460889de3420d6fef175c.tar.xz
gsoc2013-epiphany-108762f002b78829918460889de3420d6fef175c.tar.zst
gsoc2013-epiphany-108762f002b78829918460889de3420d6fef175c.zip
ephy-embed-single: remove add_sidebar signal
We removed the sidebar extension for 2.30.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 2c3e3e2d2..2d575d092 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -149,43 +149,6 @@ ephy_shell_new_window_cb (EphyEmbedSingle *single,
NULL, NULL, flags, chromemask, is_popup, 0);
}
-
-static gboolean
-ephy_shell_add_sidebar_cb (EphyEmbedSingle *embed_single,
- const char *url,
- const char *title,
- EphyShell *shell)
-{
- EphySession *session;
- EphyWindow *window;
- GtkWidget *dialog;
-
- session = EPHY_SESSION (ephy_shell_get_session (shell));
- g_return_val_if_fail (EPHY_IS_SESSION (session), FALSE);
-
- window = ephy_session_get_active_window (session);
-
- dialog = gtk_message_dialog_new (GTK_WINDOW (window),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR,
- GTK_BUTTONS_OK,
- _("Sidebar extension required"));
-
- gtk_window_set_title (GTK_WINDOW (dialog), _("Sidebar Extension Required"));
- gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
-
- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- _("The link you clicked needs the sidebar extension to be "
- "installed."));
-
- g_signal_connect_swapped (dialog, "response",
- G_CALLBACK (gtk_widget_destroy), dialog);
-
- gtk_widget_show (dialog);
-
- return TRUE;
-}
-
#ifdef ENABLE_NETWORK_MANAGER
static void
@@ -223,10 +186,6 @@ impl_get_embed_single (EphyEmbedShell *embed_shell)
G_CALLBACK (ephy_shell_new_window_cb),
shell, G_CONNECT_AFTER);
- g_signal_connect_object (embed_single, "add-sidebar",
- G_CALLBACK (ephy_shell_add_sidebar_cb),
- shell, G_CONNECT_AFTER);
-
priv->embed_single_connected = TRUE;
#ifdef ENABLE_NETWORK_MANAGER