From 231b8a0bbba7479044d5fa57e805c142755df116 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 22 May 2011 12:01:43 +0200 Subject: ephy-location-entry: do not use a yellow background for secure sites Adds unneeded clutter to the entry, we'll just rely on a visible symbolic lock icon when needed. --- src/ephy-location-action.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src') diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c index 53422c15c..ac9f1cf9e 100644 --- a/src/ephy-location-action.c +++ b/src/ephy-location-action.c @@ -297,18 +297,6 @@ sync_lock_tooltip (GtkAction *gaction, ephy_location_entry_set_lock_tooltip (entry, priv->lock_tooltip); } -static void -sync_secure (GtkAction *gaction, - GParamSpec *pspec, - GtkWidget *proxy) -{ - EphyLocationAction *action = EPHY_LOCATION_ACTION (gaction); - EphyLocationActionPrivate *priv = action->priv; - EphyLocationEntry *entry = EPHY_LOCATION_ENTRY (proxy); - - ephy_location_entry_set_secure (entry, priv->secure); -} - static void sync_show_lock (GtkAction *gaction, GParamSpec *pspec, @@ -507,9 +495,6 @@ connect_proxy (GtkAction *action, GtkWidget *proxy) sync_lock_tooltip (action, NULL, proxy); g_signal_connect_object (action, "notify::lock-tooltip", G_CALLBACK (sync_lock_tooltip), proxy, 0); - sync_secure (action, NULL, proxy); - g_signal_connect_object (action, "notify::secure", - G_CALLBACK (sync_secure), proxy, 0); sync_show_lock (action, NULL, proxy); g_signal_connect_object (action, "notify::show-lock", G_CALLBACK (sync_show_lock), proxy, 0); -- cgit v1.2.3