diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-05-14 09:22:00 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-08-31 04:32:56 +0800 |
commit | 577743e397bf46569531efb8d364798f2d07d80e (patch) | |
tree | 9eae9b94626890ba5a356d27ad1e6bba44deb5a4 /src | |
parent | 8c5f0314a84917fd5c2bbe8f200063f4224baee9 (diff) | |
download | gsoc2013-epiphany-577743e397bf46569531efb8d364798f2d07d80e.tar gsoc2013-epiphany-577743e397bf46569531efb8d364798f2d07d80e.tar.gz gsoc2013-epiphany-577743e397bf46569531efb8d364798f2d07d80e.tar.bz2 gsoc2013-epiphany-577743e397bf46569531efb8d364798f2d07d80e.tar.lz gsoc2013-epiphany-577743e397bf46569531efb8d364798f2d07d80e.tar.xz gsoc2013-epiphany-577743e397bf46569531efb8d364798f2d07d80e.tar.zst gsoc2013-epiphany-577743e397bf46569531efb8d364798f2d07d80e.zip |
ephy-embed-single: remove add_sidebar signal
We removed the sidebar extension for 2.30.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-shell.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index fc4caf9d1..5a1820356 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 |