path: root/endless
diff options
authorMatt Watson <>2014-01-29 15:15:44 -0800
committerMatt Watson <>2014-01-29 15:29:46 -0800
commit92bdfa0ab268919d04c1fd7d4b3a2523caafb5e4 (patch)
tree4f4ff1ae51d3c6b684a26e6daa25b76b74139f23 /endless
parent4f5505f7030b568c96978e28b5019c44cce949b4 (diff)
Show our internal widgets in eos-window
Users should not have be forced to call show all on the toplevel. Calling show on all the widgets they create should be enough to make things show on screen. Which means we need to call show on our internals ourselves. Added a test for this. Calls show on the window so will actually make something pop on screen for a second. But so do other test we have so I think thats OK [endlessm/eos-sdk#535]
Diffstat (limited to 'endless')
2 files changed, 3 insertions, 0 deletions
diff --git a/endless/eospagemanager.c b/endless/eospagemanager.c
index 3ceb4c5..f1812da 100644
--- a/endless/eospagemanager.c
+++ b/endless/eospagemanager.c
@@ -915,6 +915,7 @@ eos_page_manager_init (EosPageManager *self)
gtk_widget_set_has_window (self_widget, FALSE);
priv->stack = gtk_stack_new ();
+ gtk_widget_show (priv->stack);
gtk_widget_set_parent (priv->stack, self_widget);
diff --git a/endless/eoswindow.c b/endless/eoswindow.c
index a59b9b9..0b280a3 100644
--- a/endless/eoswindow.c
+++ b/endless/eoswindow.c
@@ -877,6 +877,8 @@ eos_window_init (EosWindow *self)
eos_window_set_page_manager (self,
EOS_PAGE_MANAGER (eos_page_manager_new ()));
+ // Make our internal widgets visible, so user needs only call show on the window.
+ gtk_widget_show_all (priv->overlay);
/* Public API */