diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-10-07 02:28:55 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-10-07 02:28:55 +0800 |
commit | c3422e72c44eb2999de994b8151ec2db2e591631 (patch) | |
tree | 95365fcd667709b2abcd86082fadec4fc3d3c037 /src/ephy-window.c | |
parent | 91edd219e3e228dfaa559d524401aceed31329c7 (diff) | |
download | gsoc2013-epiphany-c3422e72c44eb2999de994b8151ec2db2e591631.tar gsoc2013-epiphany-c3422e72c44eb2999de994b8151ec2db2e591631.tar.gz gsoc2013-epiphany-c3422e72c44eb2999de994b8151ec2db2e591631.tar.bz2 gsoc2013-epiphany-c3422e72c44eb2999de994b8151ec2db2e591631.tar.lz gsoc2013-epiphany-c3422e72c44eb2999de994b8151ec2db2e591631.tar.xz gsoc2013-epiphany-c3422e72c44eb2999de994b8151ec2db2e591631.tar.zst gsoc2013-epiphany-c3422e72c44eb2999de994b8151ec2db2e591631.zip |
Add style properties for 'secure-[bg|fg]-color', and apply them when the
2005-10-06 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-location-entry.c:
(ephy_location_entry_style_set), (ephy_location_entry_class_init),
(ephy_location_entry_set_favicon),
(ephy_location_entry_set_secure):
* lib/widgets/ephy-location-entry.h:
Add style properties for 'secure-[bg|fg]-color', and apply them when
the entry is in 'secure' mode. Reset the IM context before emitting
the 'activate' signal.
* src/ephy-location-action.c: (sync_secure), (connect_proxy),
(ephy_location_action_set_property),
(ephy_location_action_get_property),
(ephy_location_action_class_init):
* src/ephy-toolbar.c: (ephy_toolbar_set_security_state),
(ephy_toolbar_init):
* src/ephy-toolbar.h:
* src/ephy-window.c: (sync_chromes_visibility),
(sync_tab_security):
Set the location entry's 'secure' property on secure sites,
and also always show the lock for secure sites.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 04fa156b9..3dfdb4c39 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -592,8 +592,6 @@ sync_chromes_visibility (EphyWindow *window) g_object_set (priv->bookmarksbar, "visible", show_bookmarksbar, NULL); g_object_set (priv->statusbar, "visible", show_statusbar, NULL); - ephy_toolbar_set_lock_visibility (priv->toolbar, !show_statusbar); - ephy_notebook_set_show_tabs (EPHY_NOTEBOOK (priv->notebook), show_tabsbar); if (priv->fullscreen_popup != NULL) @@ -1307,7 +1305,7 @@ sync_tab_security (EphyTab *tab, GParamSpec *pspec, EphyWindow *window) char *state = NULL; char *tooltip; const char *stock_id = STOCK_LOCK_INSECURE; - gboolean show_lock = FALSE; + gboolean show_lock = FALSE, is_secure = FALSE; if (window->priv->closing) return; @@ -1344,6 +1342,7 @@ sync_tab_security (EphyTab *tab, GParamSpec *pspec, EphyWindow *window) state = _("High"); stock_id = STOCK_LOCK_SECURE; show_lock = TRUE; + is_secure = TRUE; break; default: g_assert_not_reached (); @@ -1363,7 +1362,7 @@ sync_tab_security (EphyTab *tab, GParamSpec *pspec, EphyWindow *window) ephy_statusbar_set_security_state (EPHY_STATUSBAR (window->priv->statusbar), stock_id, tooltip); - ephy_toolbar_set_security_state (window->priv->toolbar, + ephy_toolbar_set_security_state (window->priv->toolbar, is_secure, show_lock, stock_id, tooltip); if (window->priv->fullscreen_popup != NULL) |