GNOME Bugzilla – Bug 760875
Small issues with layers popover
Last modified: 2016-01-22 01:26:20 UTC
I caught/fixed these after the main patch was merged.
Created attachment 319403 [details] [review] LayersPopover: set frame using css not GtkFrame GtkFrame in 3.19 has bug 760482 where it cuts off the bottom 2 pixels of its child. Setting the frame using the same styling as GtkFrame gets us the desired look with all our pixels intact.
Created attachment 319404 [details] [review] Layers: Don't hide popover if user cancels FileChooser If the user accidentally clicks on "Open Layer" and then cancels the FileChooserDialog, we should bring them back to the expected state of having the popover visible.
Created attachment 319405 [details] [review] MapView: Remove unused gettext import This was accidentally added in one of the iterations of 37e8ac44d and was never removed after it was no longer needed.
Review of attachment 319403 [details] [review]: Thanks! Is this also better in some way? Or is this hackier? If it is hackier we should just wait for the bug to be fixed. The 3.20 release is some way off still.
Review of attachment 319404 [details] [review]: Ok!
Review of attachment 319405 [details] [review]: Thanks!
Review of attachment 319403 [details] [review]: Matthias suggested we have the listbox display its own frame. I get the feeling they're moving in the direction of deprecating GtkFrame.
Review of attachment 319403 [details] [review]: Great!
Attachment 319403 [details] pushed as acdff80 - LayersPopover: set frame using css not GtkFrame Attachment 319404 [details] pushed as 14521b7 - Layers: Don't hide popover if user cancels FileChooser Attachment 319405 [details] pushed as 886d7ea - MapView: Remove unused gettext import