diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/ephy-zoom-action.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/widgets/ephy-zoom-action.c b/lib/widgets/ephy-zoom-action.c index 1b6352baf..9845c2695 100644 --- a/lib/widgets/ephy-zoom-action.c +++ b/lib/widgets/ephy-zoom-action.c @@ -108,6 +108,10 @@ connect_proxy (GtkAction *action, GtkWidget *proxy) { if (EPHY_IS_ZOOM_CONTROL (proxy)) { + /* Ensure the sync is done when the item is added to + the toolbar */ + sync_zoom_cb (action, NULL, proxy); + g_signal_connect_object (action, "notify::zoom", G_CALLBACK (sync_zoom_cb), proxy, 0); |