aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-05-22 18:29:47 +0800
committerXan Lopez <xlopez@igalia.com>2011-05-22 18:29:47 +0800
commitfb5aebd75337d9602de157670300e0a4a3473b91 (patch)
tree8f18957a2bacb1fc03b435fb6f4993d58b8cb81e /src/ephy-toolbar.c
parentebc870195f52c780235dd477f8aa4ca1b23b6536 (diff)
downloadgsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar.gz
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar.bz2
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar.lz
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar.xz
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar.zst
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.zip
Stop propagating the "secure" boolean to the location action
It was only used to figure out whether to paint the entry background yellow, so we don't need it anymore.
Diffstat (limited to 'src/ephy-toolbar.c')
-rw-r--r--src/ephy-toolbar.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index 4bec11460..c67076dfb 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -76,7 +76,6 @@ struct _EphyToolbarPrivate
guint updating_address : 1;
guint show_lock : 1;
- guint is_secure : 1;
guint leave_fullscreen_visible : 1;
guint spinning : 1;
};
@@ -534,7 +533,6 @@ ephy_toolbar_set_navigation_tooltips (EphyToolbar *toolbar,
/**
* ephy_toolbar_set_security_state:
* @toolbar: an #EphyToolbar widget
- * @is_secure: %TRUE if the page is loaded over a secure connection
* @show_lock: %TRUE to show the lock icon in the location entry
* @stock_id: stock-id to be used as the lock icon
* @tooltip: tooltip for the lock icon
@@ -543,7 +541,6 @@ ephy_toolbar_set_navigation_tooltips (EphyToolbar *toolbar,
**/
void
ephy_toolbar_set_security_state (EphyToolbar *toolbar,
- gboolean is_secure,
gboolean show_lock,
const char *stock_id,
const char *tooltip)
@@ -551,13 +548,11 @@ ephy_toolbar_set_security_state (EphyToolbar *toolbar,
EphyToolbarPrivate *priv = toolbar->priv;
priv->show_lock = show_lock != FALSE;
- priv->is_secure = is_secure != FALSE;
g_object_set (priv->actions[LOCATION_ACTION],
"lock-stock-id", stock_id,
"lock-tooltip", tooltip,
"show-lock", priv->show_lock,
- "secure", is_secure,
NULL);
}