aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-statusbar.c45
-rw-r--r--src/ephy-statusbar.h6
-rw-r--r--src/ephy-window.c3
3 files changed, 0 insertions, 54 deletions
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index dfcd85b2d..4798d5d8e 100644
--- a/src/ephy-statusbar.c
+++ b/src/ephy-statusbar.c
@@ -46,8 +46,6 @@ struct _EphyStatusbarPrivate
GtkWidget *icon_container;
GtkWidget *caret_indicator;
- GtkWidget *security_icon;
- GtkWidget *security_evbox;
GtkWidget *popups_manager_icon;
GtkWidget *popups_manager_evbox;
};
@@ -183,14 +181,6 @@ ephy_statusbar_init (EphyStatusbar *t)
gtk_widget_show (priv->hbox);
#endif
- /* Create security icon */
- create_icon_frame (t,
- NULL,
- G_CALLBACK (padlock_button_press_cb),
- &priv->security_evbox,
- &priv->security_icon);
- gtk_widget_show (priv->security_evbox);
-
/* Create popup-blocked icon */
create_icon_frame (t,
EPHY_STOCK_POPUPS,
@@ -234,27 +224,6 @@ ephy_statusbar_set_caret_mode (EphyStatusbar *statusbar,
}
/**
- * ephy_statusbar_set_security_state:
- * @statusbar: an #EphyStatusbar
- * @stock_id: stock-id of the icon showing the security state
- * @tooltip: a string detailing the security state
- *
- * Sets the statusbar's security icon and its tooltip.
- **/
-void
-ephy_statusbar_set_security_state (EphyStatusbar *statusbar,
- const char *stock_id,
- const char *tooltip)
-{
- EphyStatusbarPrivate *priv = statusbar->priv;
-
- gtk_image_set_from_stock (GTK_IMAGE (priv->security_icon),
- stock_id, GTK_ICON_SIZE_MENU);
-
- gtk_widget_set_tooltip_text (priv->security_icon, tooltip);
-}
-
-/**
* ephy_statusbar_set_popups_state:
* @statusbar: an #EphyStatusbar
* @hidden: %TRUE if popups have been hidden
@@ -358,17 +327,3 @@ ephy_statusbar_remove_widget (EphyStatusbar *statusbar,
gtk_container_remove (GTK_CONTAINER (priv->icon_container), vsep);
gtk_container_remove (GTK_CONTAINER (priv->icon_container), widget);
}
-
-/**
- * ephy_statusbar_get_security_frame:
- * @statusbar: an #EphyStatusbar
- *
- * Return value: (transfer none): the statusbar's lock icon frame
- */
-GtkWidget *
-ephy_statusbar_get_security_frame (EphyStatusbar *statusbar)
-{
- g_return_val_if_fail (EPHY_IS_STATUSBAR (statusbar), NULL);
-
- return statusbar->priv->security_evbox;
-}
diff --git a/src/ephy-statusbar.h b/src/ephy-statusbar.h
index f6b387977..48eaafc7a 100644
--- a/src/ephy-statusbar.h
+++ b/src/ephy-statusbar.h
@@ -61,15 +61,9 @@ GType ephy_statusbar_get_type (void);
GtkWidget *ephy_statusbar_new (void);
-GtkWidget *ephy_statusbar_get_security_frame (EphyStatusbar *statusbar);
-
void ephy_statusbar_set_caret_mode (EphyStatusbar *statusbar,
gboolean enabled);
-void ephy_statusbar_set_security_state (EphyStatusbar *statusbar,
- const char *stock_id,
- const char *tooltip);
-
void ephy_statusbar_set_popups_state (EphyStatusbar *statusbar,
gboolean hidden,
const char *tooltip);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index f3125d625..b65ff2055 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1741,9 +1741,6 @@ sync_tab_security (EphyWebView *view,
g_free (tmp);
}
- ephy_statusbar_set_security_state (EPHY_STATUSBAR (priv->statusbar),
- stock_id, tooltip);
-
ephy_toolbar_set_security_state (priv->toolbar, is_secure,
show_lock, stock_id, tooltip);