diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2014-08-28 08:38:45 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2014-08-31 09:05:15 -0500 |
commit | db37eb4975a4eea351f242f859711b8a2863475e (patch) | |
tree | ce451ce22ed8b026ab7ce9fc9998ee167fee8483 /src/ephy-window.c | |
parent | 0488a874392593bace715c096c1b71695bdcdb67 (diff) | |
download | epiphany-db37eb4975a4eea351f242f859711b8a2863475e.tar.gz |
Let the location controller control the title box address
By binding the title box's address directly to the URI property of the
web view, we bypass all our custom logic for displaying the URI,
sometimes leading to desyncs between the URI shown by the location entry
and the URI shown by the title box.
Also, with this change the title of the page now changes at the same
time the displayed address does, whereas previously we would change the
address on the start of load and the title on completion, which looked
odd.
https://bugzilla.gnome.org/show_bug.cgi?id=732713
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index df1b12954..618350b23 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -3266,6 +3266,7 @@ setup_location_controller (EphyWindow *window, g_object_new (EPHY_TYPE_LOCATION_CONTROLLER, "window", window, "location-entry", ephy_toolbar_get_location_entry (toolbar), + "title-box", ephy_toolbar_get_title_box (toolbar), NULL); g_signal_connect (location_controller, "notify::address", G_CALLBACK (sync_user_input_cb), window); |