diff options
author | Cosimo Cecchi <cosimoc@svn.gnome.org> | 2007-09-09 20:37:41 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@src.gnome.org> | 2007-09-09 20:37:41 +0800 |
commit | 97d914c35732490d84fa6228d565efa0a9d2a99b (patch) | |
tree | c8251f133648265674db6c9975dc4814a7d3889f | |
parent | bc3c4b0089e0c3502f4f6ef87e0e646b0769bcfb (diff) | |
download | gsoc2013-epiphany-97d914c35732490d84fa6228d565efa0a9d2a99b.tar.gz gsoc2013-epiphany-97d914c35732490d84fa6228d565efa0a9d2a99b.tar.zst gsoc2013-epiphany-97d914c35732490d84fa6228d565efa0a9d2a99b.zip |
Fixes bad state syncing when adding zoom controls to the toolbar. Fixes
2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org>
* lib/widgets/ephy-zoom-action.c: (connect_proxy):
Fixes bad state syncing when adding zoom controls to the toolbar.
Fixes bug #338005. Patch by Cyril Brulebois.
svn path=/trunk/; revision=7355
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/widgets/ephy-zoom-action.c | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> + + * lib/widgets/ephy-zoom-action.c: (connect_proxy): + + Fixes bad state syncing when adding zoom controls to the toolbar. + Fixes bug #338005. Patch by Cyril Brulebois. + 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * src/ephy-find-toolbar.c: (set_status_notfound_cb), (set_status), 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); |