diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-03-12 04:32:48 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-03-12 04:32:48 +0800 |
commit | f7da5a6985b9e90107553afd06591213d422f337 (patch) | |
tree | 7258464f38ec59ab18e1f81d8b583000e66d10df | |
parent | 3a53d6afe99eed8864872ff0ae91a11c2b87d5fe (diff) | |
download | gsoc2013-epiphany-f7da5a6985b9e90107553afd06591213d422f337.tar gsoc2013-epiphany-f7da5a6985b9e90107553afd06591213d422f337.tar.gz gsoc2013-epiphany-f7da5a6985b9e90107553afd06591213d422f337.tar.bz2 gsoc2013-epiphany-f7da5a6985b9e90107553afd06591213d422f337.tar.lz gsoc2013-epiphany-f7da5a6985b9e90107553afd06591213d422f337.tar.xz gsoc2013-epiphany-f7da5a6985b9e90107553afd06591213d422f337.tar.zst gsoc2013-epiphany-f7da5a6985b9e90107553afd06591213d422f337.zip |
Don't activate the location entry if it's hidden. Fixes bug #169956.
2005-03-11 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-toolbar.c: (ephy_toolbar_activate_location):
Don't activate the location entry if it's hidden. Fixes bug #169956.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | src/ephy-toolbar.c | 11 |
2 files changed, 10 insertions, 7 deletions
@@ -1,5 +1,11 @@ 2005-03-11 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-toolbar.c: (ephy_toolbar_activate_location): + + Don't activate the location entry if it's hidden. Fixes bug #169956. + +2005-03-11 Christian Persch <chpe@cvs.gnome.org> + * data/default-prefs-toolkit.js: Disable automatic image resizing on toolkit too. diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index 41368a6c4..e9468e481 100755 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -448,13 +448,10 @@ ephy_toolbar_activate_location (EphyToolbar *toolbar) entry = GTK_WIDGET (proxies->data); } - if (entry == NULL) - { - /* happens when the user has removed the location entry from - * the toolbars. - */ - return; - } + /* happens when the user has removed the location entry from + * the toolbars, or when it's overflown + */ + if (entry == NULL || !GTK_WIDGET_REALIZED (entry)) return; g_object_get (G_OBJECT (toolbar), "visible", &visible, NULL); if (visible == FALSE) |