[gnome-music] window: don't show search bar's bottom border
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] window: don't show search bar's bottom border
- Date: Tue, 16 Aug 2016 13:53:07 +0000 (UTC)
commit fc7955acb641db8eb8aa077dd736734b5e9e7069
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Aug 11 20:03:23 2016 -0300
window: don't show search bar's bottom border
A hackish solution to a hackish problem.
https://bugzilla.gnome.org/show_bug.cgi?id=769772
gnomemusic/window.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index a1a3038..fb1bb07 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -193,6 +193,11 @@ class Window(Gtk.ApplicationWindow):
transition_duration=100,
visible=True,
can_focus=False)
+
+ # Add the 'background' styleclass so it properly hides the
+ # bottom line of the searchbar
+ self._stack.get_style_context().add_class('background')
+
self._overlay = Gtk.Overlay(child=self._stack)
self._overlay.add_overlay(self.toolbar.dropdown)
self.set_titlebar(self.toolbar.header_bar)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]