diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-10-18 05:21:40 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-10-18 05:21:40 +0800 |
commit | 9368affd35e74c7e058fa37e81e9aa8c0b933513 (patch) | |
tree | 675c1e987a5a95fb34cb66971fd4c0997421948c /src/ephy-toolbar.c | |
parent | 92fcf0ae3dadbaa40153ad62015f25ef2c55c4e8 (diff) | |
download | gsoc2013-epiphany-9368affd35e74c7e058fa37e81e9aa8c0b933513.tar gsoc2013-epiphany-9368affd35e74c7e058fa37e81e9aa8c0b933513.tar.gz gsoc2013-epiphany-9368affd35e74c7e058fa37e81e9aa8c0b933513.tar.bz2 gsoc2013-epiphany-9368affd35e74c7e058fa37e81e9aa8c0b933513.tar.lz gsoc2013-epiphany-9368affd35e74c7e058fa37e81e9aa8c0b933513.tar.xz gsoc2013-epiphany-9368affd35e74c7e058fa37e81e9aa8c0b933513.tar.zst gsoc2013-epiphany-9368affd35e74c7e058fa37e81e9aa8c0b933513.zip |
Remove lock visibility setter.
2005-10-17 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-toolbar.c: (ephy_toolbar_set_security_state),
(ephy_toolbar_init):
* src/ephy-toolbar.h:
Remove lock visibility setter.
* src/window-commands.c: (window_cmd_help_about):
Add Peter Harvey to about credits.
Diffstat (limited to 'src/ephy-toolbar.c')
-rwxr-xr-x | src/ephy-toolbar.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index 26af93311..0d2ef6bbc 100755 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -80,7 +80,6 @@ struct _EphyToolbarPrivate guint updating_address : 1; guint show_lock : 1; guint is_secure : 1; - guint lock_visible : 1; guint leave_fullscreen_visible : 1; guint spinning : 1; }; @@ -469,25 +468,12 @@ ephy_toolbar_set_security_state (EphyToolbar *toolbar, g_object_set (priv->actions[LOCATION_ACTION], "lock-stock-id", stock_id, "lock-tooltip", tooltip, - "show-lock", priv->lock_visible && priv->show_lock, + "show-lock", priv->show_lock, "secure", is_secure, NULL); } void -ephy_toolbar_set_lock_visibility (EphyToolbar *toolbar, - gboolean visible) -{ - EphyToolbarPrivate *priv = toolbar->priv; - - priv->lock_visible = visible != FALSE; - - g_object_set (priv->actions[LOCATION_ACTION], - "show-lock", priv->lock_visible && priv->show_lock, - NULL); -} - -void ephy_toolbar_set_spinning (EphyToolbar *toolbar, gboolean spinning) { @@ -549,8 +535,6 @@ ephy_toolbar_init (EphyToolbar *toolbar) EphyToolbarPrivate *priv; priv = toolbar->priv = EPHY_TOOLBAR_GET_PRIVATE (toolbar); - - priv->lock_visible = TRUE; } static GObject * |