[epiphany/wip/exalm/bookmarks: 6/6] location-entry: Center right side icons vertically



commit de7fa12539629b33ae0d3e893a8760637fcc268f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Oct 6 17:41:12 2019 +0500

    location-entry: Center right side icons vertically
    
    Make bookmarks popover point to the icon, not to the entry. Also, don't
    allow to activate icons by clicking above the entry.

 lib/widgets/ephy-location-entry.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index c36581945..1c56a7265 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -948,6 +948,7 @@ ephy_location_entry_construct_contents (EphyLocationEntry *entry)
   gtk_container_add (GTK_CONTAINER (event), box);
   g_signal_connect (G_OBJECT (box), "size-allocate", G_CALLBACK (button_box_size_allocated_cb), entry);
   gtk_widget_set_halign (box, GTK_ALIGN_END);
+  gtk_widget_set_valign (box, GTK_ALIGN_CENTER);
   gtk_widget_show (box);
 
   context = gtk_widget_get_style_context (box);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]