made default hiding transparency controls easier with restructured show calls
This commit is contained in:
parent
25b6b5305b
commit
e2e9dc8c1f
|
@ -22,7 +22,7 @@ class BaseContainer(Gtk.Box):
|
||||||
self._subscribe_to_events()
|
self._subscribe_to_events()
|
||||||
self._load_widgets()
|
self._load_widgets()
|
||||||
|
|
||||||
self.show_all()
|
self.show()
|
||||||
|
|
||||||
|
|
||||||
def _setup_styling(self):
|
def _setup_styling(self):
|
||||||
|
|
|
@ -23,7 +23,7 @@ class BodyContainer(Gtk.Box):
|
||||||
self._subscribe_to_events()
|
self._subscribe_to_events()
|
||||||
self._load_widgets()
|
self._load_widgets()
|
||||||
|
|
||||||
self.show_all()
|
self.show()
|
||||||
|
|
||||||
|
|
||||||
def _setup_styling(self):
|
def _setup_styling(self):
|
||||||
|
|
|
@ -21,6 +21,8 @@ class CenterContainer(Gtk.Box):
|
||||||
self._subscribe_to_events()
|
self._subscribe_to_events()
|
||||||
self._load_widgets()
|
self._load_widgets()
|
||||||
|
|
||||||
|
self.show()
|
||||||
|
|
||||||
|
|
||||||
def _setup_styling(self):
|
def _setup_styling(self):
|
||||||
self.set_orientation(Gtk.Orientation.VERTICAL)
|
self.set_orientation(Gtk.Orientation.VERTICAL)
|
||||||
|
@ -39,6 +41,9 @@ class CenterContainer(Gtk.Box):
|
||||||
|
|
||||||
button.connect("clicked", self._hello_world)
|
button.connect("clicked", self._hello_world)
|
||||||
|
|
||||||
|
button.show()
|
||||||
|
glade_box.show()
|
||||||
|
|
||||||
self.add(button)
|
self.add(button)
|
||||||
self.add(glade_box)
|
self.add(glade_box)
|
||||||
self.add( WebkitUI() )
|
self.add( WebkitUI() )
|
||||||
|
|
|
@ -48,4 +48,4 @@ class HeaderContainer(Gtk.Box):
|
||||||
event_system.emit("load-interactive-debug")
|
event_system.emit("load-interactive-debug")
|
||||||
|
|
||||||
def tggl_top_main_menubar(self):
|
def tggl_top_main_menubar(self):
|
||||||
self.hide() if self.is_visible() else self.show()
|
self.hide() if self.is_visible() else self.show_all()
|
|
@ -18,6 +18,8 @@ class LeftContainer(Gtk.Box):
|
||||||
self._subscribe_to_events()
|
self._subscribe_to_events()
|
||||||
self._load_widgets()
|
self._load_widgets()
|
||||||
|
|
||||||
|
self.show()
|
||||||
|
|
||||||
|
|
||||||
def _setup_styling(self):
|
def _setup_styling(self):
|
||||||
self.set_orientation(Gtk.Orientation.VERTICAL)
|
self.set_orientation(Gtk.Orientation.VERTICAL)
|
||||||
|
|
|
@ -18,6 +18,8 @@ class RightContainer(Gtk.Box):
|
||||||
self._subscribe_to_events()
|
self._subscribe_to_events()
|
||||||
self._load_widgets()
|
self._load_widgets()
|
||||||
|
|
||||||
|
self.show()
|
||||||
|
|
||||||
|
|
||||||
def _setup_styling(self):
|
def _setup_styling(self):
|
||||||
self.set_orientation(Gtk.Orientation.VERTICAL)
|
self.set_orientation(Gtk.Orientation.VERTICAL)
|
||||||
|
|
Loading…
Reference in New Issue