diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2017-08-27 19:58:56 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2017-09-09 16:15:01 -0500 |
commit | efd1e7911c580a3f3a5263193d6d15e2a53c9389 (patch) | |
tree | 2565cab2fe1eb4f57017bc03c2a7db55ecd22649 | |
parent | d9f418424adaba4d055bf777efb8fb9c2aa1cd0a (diff) | |
download | epiphany-efd1e7911c580a3f3a5263193d6d15e2a53c9389.tar.gz |
Expand suggestion entry to full width of window
Razzle dazzle!
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index f58c5582a..bb57dad5b 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -267,8 +267,12 @@ ephy_location_entry_get_property (GObject *object, static void ephy_location_entry_constructed (GObject *object) { + EphyLocationEntry *entry = EPHY_LOCATION_ENTRY (object); + G_OBJECT_CLASS (ephy_location_entry_parent_class)->constructed (object); + dzl_suggestion_entry_set_position_func (DZL_SUGGESTION_ENTRY (entry), dzl_suggestion_entry_window_position_func, NULL, NULL); + #if GTK_CHECK_VERSION(3, 22, 20) gtk_entry_set_input_hints (GTK_ENTRY (object), GTK_INPUT_HINT_NO_EMOJI); #endif @@ -382,6 +386,7 @@ ephy_location_entry_class_init (EphyLocationEntryClass *klass) GtkEntryClass *entry_class = GTK_ENTRY_CLASS (klass); DzlSuggestionEntryClass *dzl_entry_class = DZL_SUGGESTION_ENTRY_CLASS (klass); + object_class->constructed = ephy_location_entry_constructed; object_class->get_property = ephy_location_entry_get_property; object_class->set_property = ephy_location_entry_set_property; object_class->constructed = ephy_location_entry_constructed; |